From owner-freebsd-current Sat Oct 12 17:39:27 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C35737B401; Sat, 12 Oct 2002 17:39:26 -0700 (PDT) Received: from espresso.q9media.com (espresso.q9media.com [65.39.129.122]) by mx1.FreeBSD.org (Postfix) with ESMTP id F03E943EAC; Sat, 12 Oct 2002 17:39:25 -0700 (PDT) (envelope-from mike@espresso.q9media.com) Received: by espresso.q9media.com (Postfix, from userid 1002) id 5F5E99C0E; Sat, 12 Oct 2002 20:31:52 -0400 (EDT) Date: Sat, 12 Oct 2002 20:31:52 -0400 From: Mike Barcroft To: Vallo Kallaste Cc: freebsd-current@FreeBSD.org, anholt@FreeBSD.org Subject: Re: imake-4 build broken Message-ID: <20021012203152.A22208@espresso.q9media.com> References: <20021010192039.GA21880@myhakas.internal> <20021010200300.S97120@espresso.q9media.com> <20021011063441.GA1267@tiiu.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021011063441.GA1267@tiiu.internal>; from kalts@estpak.ee on Fri, Oct 11, 2002 at 09:34:42AM +0300 Organization: The FreeBSD Project Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Vallo Kallaste writes: > On Thu, Oct 10, 2002 at 08:03:00PM -0400, Mike Barcroft wrote: > > > > imake-4 port building is broken. I guess that's because > > > xc/config/makedepend/main.c defines _POSIX_SOURCE before including > > > . Signal.h includes 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 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 -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