New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make Problem on HPUX #40566
Comments
Build of _socket fails: In file included from /home/python/Python- The problem seems to be that #include "addrinfo.h" is in an #if 0 block in getaddrinfo.c When that include is moved out of the #if 0 System information: uname -a The above problem occurs with both gcc and with |
Logged In: YES Does that mean HP-UX does not have a native getaddrinfo? |
Logged In: YES I just checked, and man getaddrinfo shows that HPUX _does_ getaddrinfo(3N) getaddrinfo NAME SYNOPSIS
#include <sys/socket.h>
#include <netdb.h>
int getaddrinfo(const char *hostname, const char
*servname,
const struct addrinfo *hints, struct addrinfo
**res);
int getnameinfo(const struct sockaddr *sa, size_t salen,
char *host, size_t hostlen,
char *serv, size_t servlen, int flags);
void freeaddrinfo(struct addrinfo *ai);
char *gai_strerror(int encode);
So the real problem is that configure didn't find it. |
Logged In: YES But configure thinks it's buggy: configure:14229: checking getaddrinfo bug |
Logged In: YES This also fixes the compilation problem on Cygwin. See bug |
Logged In: YES plusk, can you find out which of the "goto bad" statements sjoerd, in what way does exactly what fix the compilation |
Logged In: YES Putting #include "addrinfo.h" outside the #if 0/#endif in |
Logged In: YES It is the final inet4 test failing. inet4 is 1. |
Logged In: YES Fixed in 2.4a3 |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: