Message21602
Build of _socket fails:
In file included from /home/python/Python-
2.4a1/Modules/socketmodule.c:314:
/home/python/Python-2.4a1/Modules/getaddrinfo.c: In
function `fake_gai_strerror':
/home/python/Python-2.4a1/Modules/getaddrinfo.c:204:
`EAI_MAX' undeclared (first use in this function)
/home/python/Python-2.4a1/Modules/getaddrinfo.c:204:
(Each undeclared identifier is reported only once
/home/python/Python-2.4a1/Modules/getaddrinfo.c:204:
for each function it appears in.)
/home/python/Python-2.4a1/Modules/getaddrinfo.c: In
function `fake_getaddrinfo':
/home/python/Python-2.4a1/Modules/getaddrinfo.c:282:
`EAI_BADHINTS' undeclared (first use in this function)
/home/python/Python-2.4a1/Modules/getaddrinfo.c:283:
`AI_MASK' undeclared (first use in this function)
/home/python/Python-2.4a1/Modules/getaddrinfo.c:373:
`EAI_PROTOCOL' undeclared (first use in this function)
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
block, the _socket module compiles and
make test does not show any errors.
System information:
uname -a
HP-UX voyager B.11.11 U 9000/800 3108770354
unlimited-user license
The above problem occurs with both gcc and with
HP's C compiler. |
|
Date |
User |
Action |
Args |
2007-08-23 14:23:40 | admin | link | issue991125 messages |
2007-08-23 14:23:40 | admin | create | |
|