Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jan 2014 08:36:31 +1100
From:      Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>
To:        freebsd-stable@freebsd.org
Subject:   Re: compile error on 9-stable
Message-ID:  <52E18B5F.9060604@heuristicsystems.com.au>
In-Reply-To: <20140123135150.a44c35a4.gerrit.kuehn@aei.mpg.de>
References:  <20140123135150.a44c35a4.gerrit.kuehn@aei.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52E18B5F.9060604>