Hi,
I cvsuped RELENG_5.
I did Make buildworld which worked fine,
but make buildkernel failed.
For several years now I upgrade FreeBSD this way with no problem.
The following excerpt is from compiling 5.4-PreRelease kernel , which worked
okay:
cc -c -O -pipe -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/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/co
ntrib/pf -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 -fin
line-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2
-ffreestanding -Werror /usr/src/sys/kern/subr_bus.c
The following is the error I got when recently compiling 5.4-STABLE kernel:
cc -c -O -pipe -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/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/co
ntrib/pf -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 -fin
line-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/subr_bus.c
/usr/src/sys/kern/subr_bus.c:1082: warning: no previous prototype for
'devclass_get_drivers'
*** 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.
Since I am not a system programer , I quite lost here.
Any help would be greatly appreciated.
--
Benzi Mizrahi,
computing center,
Weizmann Institute of Science, Tel: 972-8-9342456
Rehovot, Israel. Fax: 972-8-9344102