This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tim1470
Recipients
Date 2003-05-04.21:39:40
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=618097

That was a waste of time.  I mis read  sys/types.h on
OpenServer
u_int  and u_short are not defined because they are warped
inside
#if !defined(_XOPEN_SOURCE) && !defined(_POSIX_SOURCE)
#endif /* !defined(_XOPEN_SOURCE) && !defined(_POSIX_SOURCE)
*/

The error is
"/usr/include/sys/socket.h", line 171: error: Syntax error
before or at: u_short
"/usr/include/sys/socket.h", line 171: error: cannot recover
from previous errors

....
167:/*
168: * Structure used by kernel to store most addresses.
169: */
170:struct sockaddr {
171:    u_short         sa_family;      /* address family */
172:    char            sa_data[14];    /* up to 14 bytes of
direct address */
173:};
174:
....

I've modified the patch to be less obtrusive my undefing
_XOPEN_SOURCE 
on OpenServer only. We may end up removing the confdefs2.h
parts later
if we end up using define_xopen_source=no for OpenServer. As
it  stands
now, with or without this patch, OpenServer doesn't build.
This patch is
really for SVR4.2 and  SVR5 systems. (Ie. UnixWare)
History
Date User Action Args
2007-08-23 15:26:45adminlinkissue731991 messages
2007-08-23 15:26:45admincreate