Kernel Build issue after doing a cvsup yesterday under 6.4 on x86 - Help (knote_fork)

Howard Leadmon howard at leadmon.net
Tue Oct 13 07:51:52 UTC 2009


 After running cvsup and doing a buildworld, I tried to make a new kernel,
and got the following error..

 

On my 6.4-STABLE x86 machine, I received the following:

 

cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
-I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath
-I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/em
-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  -mno-align-long-strings
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-ffreestanding -Werror  /usr/src/sys/kern/kern_event.c

/usr/src/sys/kern/kern_event.c:408: warning: no previous prototype for
'knote_fork'

*** 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.

 

 

 

I have rebuilt this machine many times over the past couple years, and
always no problems, till now.   If anyone has any ideas on how to resolve
this it would be most appreciated..

 

 

 

---

Howard Leadmon - howard at leadmon.net

http://www.leadmon.net

 



More information about the freebsd-questions mailing list