Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 13:51:50 +0100
From:      Gerrit =?ISO-8859-1?Q?K=FChn?= <gerrit.kuehn@aei.mpg.de>
To:        freebsd-stable@freebsd.org
Subject:   compile error on 9-stable
Message-ID:  <20140123135150.a44c35a4.gerrit.kuehn@aei.mpg.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140123135150.a44c35a4.gerrit.kuehn>