On 24 Jul 2008 19:22:05 +0100 "Chris Young" <[EMAIL PROTECTED]> wrote:
> > It'd be really useful if we could work out what's causing this, so > > we know for the future. Do you know which defines you removed? > > I removed the following: > -D_BSD_SOURCE \ > -D_XOPEN_SOURCE=600 \ > -D_POSIX_C_SOURCE=200112L \ > -D_NETBSD_SOURCE \ > $(shell xml2-config --cflags) > > I had xml2 simply as -lxml2 in ldflags already, I'm not sure what the > defines do. The defines enable the features of the C library that we require on various operating systems. On *BSD libc, glibc and Solaris, you need this collection of #defines to enable modern library functionality. It surprises me that these matter, as if your C library triggers on them, the only sensible thing it could do is enable more functionality. This may point to an issue in the C library on your host system. Try removing one at a time to see if it's just a specific one that causes the issue, and then grep your standard headers to see what triggers on it. B.
