Can't build kernel

Andre Goree andre at drenet.info
Fri Feb 22 23:56:27 UTC 2013


I'm running 8.3-STABLE (not sure if I should've posted this to freebsd-stable, 
please correct me if so).

I'm able to successfully buildworld after an svn up of /usr/src, however when 
I try to build my customer kernel, the build stops at the following:

/usr/local/libexec/ccache/world/cc -c -O2 -frename-registers -pipe -fno-
strict-aliasing  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -
Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys -
I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --
param large-function-growth=1000  -fno-omit-frame-pointer -mcmodel=kernel -
mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-sse3 -mno-mmx -mno-3dnow  -
msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -
Werror  /usr/src/sys/x86/x86/local_apic.c
cc1: warnings being treated as errors
/usr/src/sys/x86/x86/local_apic.c:166: warning: 'lapic_resume' declared 
'static' but never defined
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


Here is my kernel configuration [1].  Any suggestions on how to get this built 
properly or otherwise troubleshoot?  I've also tried with GENERIC, which fails 
at the same exact spot.  Building without ccache also fails at the same exact 
spot :(  

Thanks in advance for any guidance you can provide.

[1]http://www.drenet.net/images/BUILD011313.txt

-- 
Andre Goree
andre at drenet.info


More information about the freebsd-questions mailing list