Can't compile kernel...

Nigel Wohlers freebsd at eyede.com
Tue Dec 14 13:57:27 PST 2004


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 at 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,
> 	<mike
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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.


More information about the freebsd-questions mailing list