From owner-cvs-all@FreeBSD.ORG Mon Apr 5 07:55:42 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B16F116A4CE; Mon, 5 Apr 2004 07:55:42 -0700 (PDT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2867A43D64; Mon, 5 Apr 2004 07:55:42 -0700 (PDT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 721BF1FFE19; Mon, 5 Apr 2004 16:55:40 +0200 (CEST) Received: by transport.cksoft.de (Postfix, from userid 66) id 6B9D31FFE0B; Mon, 5 Apr 2004 16:55:38 +0200 (CEST) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id 1AB5C15598; Mon, 5 Apr 2004 14:55:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id 1001415380; Mon, 5 Apr 2004 14:55:29 +0000 (UTC) Date: Mon, 5 Apr 2004 14:55:28 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Stefan Farfeleder In-Reply-To: <20040405110155.GB608@wombat.fafoe.narf.at> Message-ID: References: <200404050403.i3543949049935@repoman.freebsd.org> <20040405110155.GB608@wombat.fafoe.narf.at> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de cc: cvs-src@FreeBSD.org cc: Nate Lawson cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/contrib/dev/acpica acfreebsd.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2004 14:55:42 -0000 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 ? -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT 56 69 73 69 74 http://www.zabbadoz.net/