Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Oct 2002 09:34:42 +0300
From:      Vallo Kallaste <kalts@estpak.ee>
To:        Mike Barcroft <mike@FreeBSD.org>
Cc:        freebsd-current@FreeBSD.org, anholt@FreeBSD.org
Subject:   Re: imake-4 build broken
Message-ID:  <20021011063441.GA1267@tiiu.internal>
In-Reply-To: <20021010200300.S97120@espresso.q9media.com>
References:  <20021010192039.GA21880@myhakas.internal> <20021010200300.S97120@espresso.q9media.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 10, 2002 at 08:03:00PM -0400, Mike Barcroft <mike@FreeBSD.org> 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
kalts@estpak.ee

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021011063441.GA1267>