From owner-freebsd-current@FreeBSD.ORG Sat Jun 12 22:13:23 2004 Return-Path: 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 8097016A4CE for ; Sat, 12 Jun 2004 22:13:23 +0000 (GMT) Received: from mail.geek.sh (decoder.geek.sh [196.36.198.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id D33C443D54 for ; Sat, 12 Jun 2004 22:13:22 +0000 (GMT) (envelope-from aragon@geek.sh) Received: by mail.geek.sh (Postfix, from userid 1000) id A97FE24D14; Sun, 13 Jun 2004 00:12:31 +0200 (SAST) Date: Sun, 13 Jun 2004 00:12:31 +0200 From: Aragon Gouveia To: Doug White Message-ID: <20040612221231.GA50196@phat.za.net> References: <20040611152223.GA81299@phat.za.net> <20040612133330.Y74026@carver.gumbysoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040612133330.Y74026@carver.gumbysoft.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD 4.8-RELEASE-p1 i386 X-Mailman-Approved-At: Sun, 13 Jun 2004 11:40:38 +0000 cc: current@freebsd.org Subject: Re: kernel compile error, 5.2.1-RELEASE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jun 2004 22:13:23 -0000 | By Doug White | [ 2004-06-12 22:58 +0200 ] > On Fri, 11 Jun 2004, Aragon Gouveia wrote: > > > Just trying to get a kernel built on a 5.2.1-RELEASE box. Am encountering > > this error: > > > > cc -c -O -pipe -march=pentiumpro -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/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror /usr/src/sys/dev/fb/vga.c > > /usr/src/sys/dev/fb/vga.c:1346: warning: `filll_io' defined but not used > > /usr/src/sys/dev/fb/vga.c:1336: warning: `fill' defined but not used > > Do you have 'options VGA_NO_MODE_CHANGE' in your kernel config? If so, > then I see that there are a couple of function defs in sys/dev/fb/vga.c > that aren't removed by that option. Yes. I tried recompiling now without the option and it completed. Will keep it without the option for now. Thanks in advance for patching! :) Regards, Aragon