From owner-freebsd-questions@FreeBSD.ORG Tue Dec 14 21:57:27 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90DB516A4CE; Tue, 14 Dec 2004 21:57:27 +0000 (GMT) Received: from erebus.eyede.com (erebus.eyede.com [202.21.136.252]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1997243D1F; Tue, 14 Dec 2004 21:57:27 +0000 (GMT) (envelope-from freebsd@eyede.com) Received: from localhost (localhost.eyede.com [127.0.0.1]) by erebus.eyede.com (Postfix) with ESMTP id BB58FA9F1; Wed, 15 Dec 2004 10:57:50 +1300 (NZDT) Received: from [172.16.99.14] (ewsn04.ntdns.eyede.com [172.16.99.14]) by erebus.eyede.com (Postfix) with ESMTP id 75192A977; Wed, 15 Dec 2004 10:57:48 +1300 (NZDT) Message-ID: <41BF61C4.3080304@eyede.com> Date: Wed, 15 Dec 2004 10:57:24 +1300 From: Nigel Wohlers Organization: Eyede Systems Ltd User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Meyer References: <16831.23068.898160.406054@guru.mired.org> In-Reply-To: <16831.23068.898160.406054@guru.mired.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Amavisd at eyede.com cc: questions@freebsd.org cc: phk@freebsd.org Subject: Re: Can't compile kernel... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nigel@eyede.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Dec 2004 21:57:27 -0000 Mike Meyer wrote: > Ok, I'm an old hand at building BSD kernels. Been doing it since BSD > 4.2, and FreeBSD 3.0. But the code for 5-STABLE fails to compile for > me. I've tried 5.3 from the CD-ROM, RELENG_5_3_0, RELENG_5_3, and > RELENG_5. They all fail to build with this error: > > cc -c -O -pipe -march=athlon -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I../../.. -I../../../contrib/dev/acpica -I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror ../../../dev/fb/vga.c > ../../../dev/fb/vga.c:1346: warning: 'filll_io' defined but not used > ../../../dev/fb/vga.c:1336: warning: 'fill' defined but not used > > I've included phk@freebsd in the mail, as he was the last person to > touch this file on those branches. > > I'll attach the kernel config file as that's almost certainly relevant. > > Any help in getting this kernel to build would be greatly appreciated. > > Thanx, > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi Mike, You could try compiling without these: options VGA_NO_FONT_LOADING options VGA_NO_MODE_CHANGE options SC_NO_FONT_LOADING I recall a similar build error I encountered with these options. Regards, Nigel.