FreeBSD10-Beta 3 make buildkernel error

Glen Barber gjb at FreeBSD.org
Wed Nov 6 19:37:20 UTC 2013


On Wed, Nov 06, 2013 at 08:32:12PM +0100, Zenny wrote:
> Hi:
> 
> I am trying to recompile FreeBSD10-Beta3 with the following parameters:
> 

Which svn revision?

Also, please provide your /etc/src.conf and /etc/make.conf.

Glen

> # cat /usr/src/sys/amd64/conf/PROD
> include         GENERIC
> ident           PROD
> 
> nooptions    DEADLKRES
> nooptions    INVARIANTS
> nooptions    INVARIANT_SUPPORT
> nooptions    WITNESS
> nooptions    WITNESS_SKIPSPIN
> nooptions    MALLOC_DEBUG_MAXZONES
> options VIMAGE
> options NETGRAPH
> options NETGRAPH_ETHER
> options NETGRAPH_BRIDGE
> options NETGRAPH_EIFACE
> options NETGRAPH_SOCKET
> nooptions SCTP
> options VPS
> options RACCT
> options RCTL
> 
> But I get the following error during make buildkernel:
> 
> <SNIP>
> cc  -c -O2 -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  -Wno-error-tautological-compare
> -Wno-error-empty-body  -Wno-error-parentheses-equality  -nostdinc  -I.
> -I/usr/src/sys -I/usr/src/sys/contrib/altq
> -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
> -include opt_global.h  -fno-omit-frame-pointer
> -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel
> -mno-red-zone -mno-mmx -mno-sse -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> -Werror  /usr/src/sys/kern/kern_jail.c
> /usr/src/sys/kern/kern_jail.c:4537:12: error: use of undeclared
> identifier 'allproc_lock'; did you mean 'allprison_lock'?
>         sx_slock(&allproc_lock);
>                   ^
> /usr/src/sys/sys/sx.h:251:34: note: expanded from macro 'sx_slock'
> #define sx_slock(sx)            sx_slock_((sx), LOCK_FILE, LOCK_LINE)
>                                            ^
> /usr/src/sys/sys/sx.h:231:20: note: expanded from macro 'sx_slock_'
>         (void)__sx_slock((sx), 0, (file), (line))
>                           ^
> /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here
> struct  sx allprison_lock;
>            ^
> /usr/src/sys/kern/kern_jail.c:4542:15: error: use of undeclared
> identifier 'allproc_lock'; did you mean 'allprison_lock'?
>                 sx_sunlock(&allproc_lock);
>                             ^
> /usr/src/sys/sys/sx.h:253:38: note: expanded from macro 'sx_sunlock'
> #define sx_sunlock(sx)          sx_sunlock_((sx), LOCK_FILE, LOCK_LINE)
>                                              ^
> /usr/src/sys/sys/sx.h:235:16: note: expanded from macro 'sx_sunlock_'
>         __sx_sunlock((sx), (file), (line))
>                       ^
> /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here
> struct  sx allprison_lock;
>            ^
> /usr/src/sys/kern/kern_jail.c:4567:14: error: use of undeclared
> identifier 'allproc_lock'; did you mean 'allprison_lock'?
>         sx_sunlock(&allproc_lock);
>                     ^
> /usr/src/sys/sys/sx.h:253:38: note: expanded from macro 'sx_sunlock'
> #define sx_sunlock(sx)          sx_sunlock_((sx), LOCK_FILE, LOCK_LINE)
>                                              ^
> /usr/src/sys/sys/sx.h:235:16: note: expanded from macro 'sx_sunlock_'
>         __sx_sunlock((sx), (file), (line))
>                       ^
> /usr/src/sys/kern/kern_jail.c:140:11: note: 'allprison_lock' declared here
> struct  sx allprison_lock;
>            ^
> 3 errors generated.
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/obj/usr/src/sys/PROD
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src
> _______________________________________________
> 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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20131106/f2fb4500/attachment.sig>


More information about the freebsd-stable mailing list