From owner-freebsd-current Thu Oct 10 23:34:51 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 A5FB537B401; Thu, 10 Oct 2002 23:34:50 -0700 (PDT) Received: from MX2.estpak.ee (ld1.estpak.ee [194.126.101.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91CE243ECD; Thu, 10 Oct 2002 23:34:49 -0700 (PDT) (envelope-from kalts@estpak.ee) Received: from tiiu.internal (adsl11853.estpak.ee [213.219.94.33]) by MX2.estpak.ee (Postfix) with ESMTP id AC16B73650; Fri, 11 Oct 2002 09:33:58 +0300 (EEST) Received: from tiiu.internal (localhost [127.0.0.1]) by tiiu.internal (8.12.6/8.12.6) with ESMTP id g9B6Ygnh001318; Fri, 11 Oct 2002 09:34:42 +0300 (EEST) (envelope-from vallo@tiiu.internal) Received: (from vallo@localhost) by tiiu.internal (8.12.6/8.12.6/Submit) id g9B6Ygb6001317; Fri, 11 Oct 2002 09:34:42 +0300 (EEST) Date: Fri, 11 Oct 2002 09:34:42 +0300 From: Vallo Kallaste To: Mike Barcroft Cc: freebsd-current@FreeBSD.org, anholt@FreeBSD.org Subject: Re: imake-4 build broken Message-ID: <20021011063441.GA1267@tiiu.internal> Reply-To: kalts@estpak.ee References: <20021010192039.GA21880@myhakas.internal> <20021010200300.S97120@espresso.q9media.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021010200300.S97120@espresso.q9media.com> User-Agent: Mutt/1.5.1i-ja.1 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 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. -- Vallo Kallaste kalts@estpak.ee To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message