-CURRENT rev. 184639: i386 kernel doesn't build

From: Renato Botelho <rbgarga_at_gmail.com>
Date: Tue, 4 Nov 2008 13:44:07 -0200
After up my svn repo to 184639, kernel stops building with this error:

===> nfsclient (all)
===> nfslockd (all)
===> nfsserver (all)
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -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
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
-fstack-protector -Werror  /usr/src/sys/kern/vfs_cache.c
cc -O2 -pipe -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE
-std=c99 -nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/GARGA/opt_global.h -I. -I_at_ -I_at_/contrib/altq
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -fno-common  -I/usr/obj/usr/src/sys/GARGA
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx
-mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding
-fstack-protector -fstack-protector -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-fformat-extensions -c
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:101:
error: expected '=', ',', ';', 'asm' or '__attribute__' before
'nfsrv_nmbclusters_tag'
cc1: warnings being treated as errors
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c: In
function 'nfsrv_init':
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:545:
warning: implicit declaration of function 'EVENTHANDLER_DEREGISTER'
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:545:
warning: nested extern declaration of 'EVENTHANDLER_DEREGISTER'
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:545:
error: 'nmbclusters_change' undeclared (first use in this function)
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:545:
error: (Each undeclared identifier is reported only once
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:545:
error: for each function it appears in.)
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:546:
error: 'nfsrv_nmbclusters_tag' undeclared (first use in this function)
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:559:
warning: implicit declaration of function 'EVENTHANDLER_REGISTER'
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:559:
warning: nested extern declaration of 'EVENTHANDLER_REGISTER'
/usr/src/sys/modules/nfsserver/../../nfsserver/nfs_srvkrpc.c:560:
error: 'EVENTHANDLER_PRI_FIRST' undeclared (first use in this
function)
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
[1]    53070 exit 2     make -j2 buildkernel


-- 
Renato Botelho
Received on Tue Nov 04 2008 - 15:11:11 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:37 UTC