kernel compile error, 5.2.1-RELEASE
Doug White
dwhite at gumbysoft.com
Sat Jun 12 20:58:38 GMT 2004
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.
I'll submit a patch to fix this.
--
Doug White | FreeBSD: The Power to Serve
dwhite at gumbysoft.com | www.FreeBSD.org
More information about the freebsd-current
mailing list