Can't compile kernel...

Mike Meyer mwm at mired.org
Tue Dec 14 13:24:49 PST 2004


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: GURU
Type: application/octet-stream
Size: 3585 bytes
Desc: config file
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041214/750a2ada/GURU.obj
-------------- next part --------------

-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-questions mailing list