On Thu, Oct 10, 2002 at 08:03:00PM -0400, Mike Barcroft <[EMAIL PROTECTED]> wrote:
> > imake-4 port building is broken. I guess that's because > > xc/config/makedepend/main.c defines _POSIX_SOURCE before including > > <signal.h>. Signal.h includes <sys/signal.h> which has conditional > > #if !defined(_POSIX_SOURCE) and NSIG will be left undefined. Don't > > know who is in fault here, imake sources or our headers, my > > knowledge happens to end there. > > I don't really understand how this is happening. The uses of NSIG are > also conditionalized. If _POSIX_SOURCE is defined, line 46 should not > be visible. What rev is your /usr/include/sys/cdefs.h and > /usr/include/signal.h? /usr/include/sys/cdefs.h: $FreeBSD: src/sys/sys/cdefs.h,v 1.67 2002/10/07 02:50:44 mike Exp $ $FreeBSD: src/sys/sys/cdefs.h,v 1.67 2002/10/07 02:50:44 mike Exp $ /usr/include/signal.h: $FreeBSD: src/include/signal.h,v 1.19 2002/10/06 21:54:08 mike Exp $ The same error happens several times down the road of XFree86-4 port compilation and all the problematic source files contain #include <signal.h> surrounded by _POSIX_SOURCE. Removing this _POSIX_SOURCE thing got the XFree86-4 port compile to me. -- Vallo Kallaste [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message