[Python-bugs-list] [ python-Bugs-475951 ] HP-UX: Problem building socket
noreply@sourceforge.net
noreply@sourceforge.net
Tue, 30 Oct 2001 00:56:41 -0800
Bugs item #475951, was opened at 2001-10-29 02:15
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475951&group_id=5470
Category: Build
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: HP-UX: Problem building socket
Initial Comment:
On HP-UX 11, I get errors compiling Python 2.1.1 from
source.
It crashes when parsing sys/socket.h
Here's the offending code:
extern sbsize_t sendfile __((int, int, off_t,
bsize_t,
const struct iovec *,
int));
extern sbsize_t sendpath __((int, char *, off_t,
bsize_t,
const struct iovec *,
int));
When I switch from gcc to cc (native c compiler) the
socket
library compiles, but many other libs don't.
(sidenote: when using cc, cc is noteably faster than
gcc)
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2001-10-30 00:56
Message:
Logged In: YES
user_id=21627
It would be helpful if you would provide all details in a
report also. When you say "it crashes", did you really
mean "it crashes" (i.e. with a core dump, machine reboot,
or the like)?
If the compiler merely rejected the code, it would be good
to see what the error message was.
Please also report version numbers: HP-UX version, gcc
version, etc. Are you sure you are using a gcc built for
your OS version? If the gcc doesn't get prototypes right,
this often comes from having fixincluded header files of a
different OS version.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-10-29 04:59
Message:
Logged In: YES
user_id=6380
Please try again with Python 2.2b1 (http://python.org/2.2/).
We've done a lot of work and we've got at least one report
that it now works out of the box on HP-UX 11. I'd like to
hear if that solves your problems (and if 2.2b1 builds with
either compiler).
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=475951&group_id=5470