Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 20:31:52 -0400
From:      Mike Barcroft <mike@FreeBSD.org>
To:        Vallo Kallaste <kalts@estpak.ee>
Cc:        freebsd-current@FreeBSD.org, anholt@FreeBSD.org
Subject:   Re: imake-4 build broken
Message-ID:  <20021012203152.A22208@espresso.q9media.com>
In-Reply-To: <20021011063441.GA1267@tiiu.internal>; from kalts@estpak.ee on Fri, Oct 11, 2002 at 09:34:42AM %2B0300
References:  <20021010192039.GA21880@myhakas.internal> <20021010200300.S97120@espresso.q9media.com> <20021011063441.GA1267@tiiu.internal>

next in thread | previous in thread | raw e-mail | index | archive | help
Vallo Kallaste <kalts@estpak.ee> writes:
> 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.

I've just committed the rest of my <signal.h>-related patches, can you
update your system and let me know if I've fixed the problem.

Best regards,
Mike Barcroft

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?20021012203152.A22208>