From owner-cvs-src@FreeBSD.ORG Mon Apr 5 09:29:01 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2C66C16A4D0 for ; Mon, 5 Apr 2004 09:29:01 -0700 (PDT) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id ECFFE43D54 for ; Mon, 5 Apr 2004 09:29:00 -0700 (PDT) (envelope-from nate@root.org) Received: (qmail 21306 invoked by uid 1000); 5 Apr 2004 16:29:01 -0000 Date: Mon, 5 Apr 2004 09:29:01 -0700 (PDT) From: Nate Lawson To: "Bjoern A. Zeeb" In-Reply-To: Message-ID: <20040405092818.G21267@root.org> References: <200404050403.i3543949049935@repoman.freebsd.org> <20040405110155.GB608@wombat.fafoe.narf.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Stefan Farfeleder cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 16:29:01 -0000 On Mon, 5 Apr 2004, Bjoern A. Zeeb wrote: > On Mon, 5 Apr 2004, Stefan Farfeleder wrote: > > On Mon, Apr 05, 2004 at 09:55:02AM +0000, Bjoern A. Zeeb wrote: > > > > > I am now getting this when doing a make buildworld: > > > > > > ===> sys/boot/i386/libi386 > > > cc -O -pipe -DCOMPORT=0x3f8 -DCOMSPEED=9600 -DTERM_EMU > > > -I/u2/src/HEAD/compile-20040405-01/sys/boot/i386/libi386/../../common > > > -I/u2/src/HEAD/compile-20040405-01/sys/boot/i386/libi386/../btx/lib > > > -I/u2/src/HEAD/compile-20040405-01/sys/boot/i386/libi386/../../../contrib/dev/acpica > > > -I/u2/src/HEAD/compile-20040405-01/sys/boot/i386/libi386/../../.. -I. > > > -I/u2/src/HEAD/compile-20040405-01/sys/boot/i386/libi386/../../../../lib/libstand/ > > > -ffreestanding -mpreferred-stack-boundary=2 -c > > > /u2/src/HEAD/compile-20040405-01/sys/boot/i386/libi386/biosacpi.c > > > In file included from /u2/src/HEAD/compile-20040405-01/sys/contrib/dev/acpica/acfreebsd.h:165, > > > from /u2/src/HEAD/compile-20040405-01/sys/boot/i386/libi386/biosacpi.c:34: > > > /usr/obj/u2/src/HEAD/compile-20040405-01/i386/usr/include/ctype.h:88: error: syntax error before "int" > > > *** Error code 1 > > > > > > Stop in /u2/src/HEAD/compile-20040405-01/sys/boot/i386/libi386. > > > > I apologise, my testing method was obviously flawed :( Here's a quick > > fix, it doesn't include if we're compiling with -ffreestanding > > and using . The alternative would be to include > > before the ACPI headers in all userland applications. > > If this patch helps can somebody please commit it and unbreak world ? No, I am backing out the original commit instead. Checking for compile flags is a hack. -Nate