compile error on 9-stable

Dewayne Geraghty dewayne.geraghty at heuristicsystems.com.au
Thu Jan 23 22:48:53 UTC 2014


On 23/01/2014 11:51 PM, Gerrit Kühn wrote:
> 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
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
>
Gerrit,
It sometimes pays to have a look at the more recent changes at
http://lists.freebsd.org/pipermail/svn-src-stable-9/2014-January/ when
building base fails.  This addresses your issue 005955.html

In this case, Alexander (mav) has corrected the situation, (Thanks
Mav).  Update your base, and you should be fine.
Dewayne.


More information about the freebsd-stable mailing list