Hi Neil this makes it work without _XPG4_2 #ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 1 #define _XOPEN_SOURCE_EXTENDED 1 #endif socketpair and recvfd/sendfd would be useful addition to the python standard library. Jon Neil Schemenauer wrote :- > On Tue, Oct 29, 2002 at 07:21:43PM +0000, Jon Dyte wrote: > > Neil > > > > This was on solaris(sunos?) 2.5 / 2.6 with scgi 0.5. > > > > I think those #define _XOPEN_SOURCE are newer. Solaris 8? > > Hmm, /usr/include/sys/feature_tests.h on Solaris 2.6 sez: > > /* > * As specified in the following X/Open specifications: > * > * System Interfaces and Headers, Issue 4, Version 2 > * Commands and Utilities, Issue 4, Version 2 > * Networking Interfaces, Issue 4 > * X/Open Curses, Issue 4 > * > * application writers wishing to use any functions specified > * as X/Open UNIX Extension must define _XOPEN_SOURCE and > * _XOPEN_SOURCE_EXTENDED=1. The Sun internal macro _XPG4_2 > * should not be used in its place as unexpected results may > * occur. > */ > #if (defined(_XOPEN_SOURCE) && _XOPEN_SOURCE_EXTENDED - 0 == 1) > #define _XPG4_2 > #endif > > Can you try compiling with > > #ifndef _XOPEN_SOURCE > #define _XOPEN_SOURCE 1 > #define _XOPEN_SOURCE_EXTENDED 1 > #endif > > instead of using _XPG4_2? > > Neil > > _______________________________________________ > Quixote-users mailing list > Quixote-users@mems-exchange.org > http://mail.mems-exchange.org/mailman/listinfo/quixote-users