[ python-Bugs-991125 ] Make Problem on HPUX

SourceForge.net noreply at sourceforge.net
Wed Aug 4 19:36:37 CEST 2004


Bugs item #991125, was opened at 2004-07-14 21:49
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=991125&group_id=5470

Category: Installation
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Paul D. Lusk (plusk)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make Problem on HPUX

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-04 19:36

Message:
Logged In: YES 
user_id=21627

Does that mean HP-UX does not have a native getaddrinfo?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=991125&group_id=5470


More information about the Python-bugs-list mailing list