compile error on 9-stable

Gerrit Kühn gerrit.kuehn at aei.mpg.de
Thu Jan 23 12:52:03 UTC 2014


Hi all,

I just updated my sources on 9-stable, and the kernel won't compile
anymore. buildkernel stops with

---
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  -Wmissing-include-dirs -fdiagnostics-show-option   -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 -mno-omit-leaf-frame-pointer -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -Werror  /usr/src/sys/fs/nfs/nfs_commonkrpc.c
In file included from /usr/src/sys/rpc/rpc.h:70,
                 from /usr/src/sys/fs/nfs/nfs_commonkrpc.c:61:
/usr/src/sys/rpc/svc.h:330: error: field 'sp_lock' has incomplete type
*** [nfs_commonkrpc.o] Error code 1

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

Stop in /usr/src.
*** [buildkernel] Error code 1

Stop in /usr/src.
---


Are there any suggestions how to fix this?


cu
  Gerrit


More information about the freebsd-stable mailing list