From owner-freebsd-stable@FreeBSD.ORG Tue Oct 2 14:47:38 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 325A516A417 for ; Tue, 2 Oct 2007 14:47:38 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id ABEA713C480 for ; Tue, 2 Oct 2007 14:47:37 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.1/8.14.1/ALCHEMY.FRANKEN.DE) with ESMTP id l92EMqkP000438; Tue, 2 Oct 2007 16:22:52 +0200 (CEST) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.1/8.14.1/Submit) id l92EMqOi000437; Tue, 2 Oct 2007 16:22:52 +0200 (CEST) (envelope-from marius) Date: Tue, 2 Oct 2007 16:22:52 +0200 From: Marius Strobl To: Matthew Herzog Message-ID: <20071002142252.GA161@alchemy.franken.de> References: <47010462.6060200@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47010462.6060200@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Subject: Re: sparc64 kernel build error X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2007 14:47:38 -0000 On Mon, Oct 01, 2007 at 02:29:54PM +0000, Matthew Herzog wrote: > Hello Beasties. > > I have attached the error text and my kernel config. The build seems to > die while building ipfilter but I'm guessing that's not the real > reason for it failing. > > Thanks for any suggestions. > > -- Matt H <...> > cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -mcmodel=medlow -msoft-float -ffreestanding -Werror /usr/src/sys/dev/syscons/schistory.c > In file included from /usr/src/sys/dev/syscons/schistory.c:46: > ./machine/sc_machdep.h:71:1: "SC_NORM_ATTR" redefined > In file included from /usr/src/sys/dev/syscons/schistory.c:33: > ./opt_syscons.h:1:1: this is the location of the previous definition > *** Error code 1 > Remove options SC_NORM_ATTR from your kernel config file or if you really ned green on black change sys/sparc64/include/sc_machdep.h to include opt_syscons.h and only define SC_NORM_ATTR etc if they're not already defined. Marius