On Fri, Oct 07, 2005 at 09:34:27AM +0200, Leopold Toetsch wrote: > [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > Modified: > > trunk/config/init/hints/linux.pl > > Log: > > Defined _X_OPEN_SOURCE=600 in ccflags to fix implicit POSIX function > > declaration warnings when compiling src/platform.c. > > > +if ( $cflags !~ /-D_XOPEN_SOURCE=/ ) { > > + # Request visibility of all POSIX symbols > > + $cflags .= ' -D_XOPEN_SOURCE=600'; > > +} > > This doesn't work on my box - I get tons of warnings and it eventually > dies: >
Bazzar - I wonder if your glibc is so old that it doesn't support unix98. That would have to be a version of glibc 2.0.x where X is a pretty low number... Does switching '_XOPEN_SOURCE=600' to '_XOPEN_SOURCE=500' make any difference? You could also try '-D_GNU_SOURCE' which should enable a superset of _XOPEN_SOURCE. -J --
pgp4PvmVZuD11.pgp
Description: PGP signature