Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Nov 2013 21:55:42 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Zenny <garbytrash@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: FreeBSD10-Beta 3 make buildkernel error
Message-ID:  <20131106195542.GJ59496@kib.kiev.ua>
In-Reply-To: <CACuV5sCWVA7ddZ3%2Bo3XwGTk25c%2BwqDCwk6_FRbCf2Rg%2BJk4o%2Bw@mail.gmail.com>
References:  <CACuV5sCWVA7ddZ3%2Bo3XwGTk25c%2BwqDCwk6_FRbCf2Rg%2BJk4o%2Bw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--BipTYHwbFd8z9jk5
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 06, 2013 at 08:32:12PM +0100, Zenny wrote:
> Hi:
>=20
> I am trying to recompile FreeBSD10-Beta3 with the following parameters:
>=20
> # cat /usr/src/sys/amd64/conf/PROD
> include         GENERIC
> ident           PROD
>=20
> 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
Option VPS does not exist in the FreeBSD.

> options RACCT
> options RCTL
>=20
> But I get the following error during make buildkernel:
>=20
> <SNIP>
> cc  -c -O2 -pipe -fno-strict-aliasing  -std=3Dc99 -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=3Dkernel
> -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
>=20
> Stop.
> make[2]: stopped in /usr/obj/usr/src/sys/PROD
> *** Error code 1
>=20
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/src
> _______________________________________________
> 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"

--BipTYHwbFd8z9jk5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBAgAGBQJSep69AAoJEJDCuSvBvK1BNE4P/2K6rlOEdQOAfq1LpR5gCibv
2Hr9OIz9pD0UezJX0PxUcBaW0HqIlpS33fijCA1N7xnYae9TOrOi2qm1n1KM7zF1
UzR1tEOZ5fmeNlxuwxVbAXLYc8CUSoWQMmILQP/4EbXyj1OxqHLI51ebEb189it6
CA77roUCW3M9tW+RBrw/ee1No3FwyrHKxvMTYPiGkIXy1JYd/gb3A5g5gQka5k+5
B40Xn1aEVGDcKA+Hmw3ckswv1QUeyHJZ+7TBaFUL47mlwQV73SQlVpLRFTYQw1Nf
8dy7YQGkqNSxCKCjmkDALE7Rd4MJbSL9CLjjcqyJYQU963awnkR2AkaJidj/7B5q
fW4gryu5FCHOBV01n1uxn5zto2blIma1Iv714U8sgHWMqgac8i/pco5frFMoD2zv
7jrUF/R9sJB7UiwwakO691BdaTQ7gOP5dgG2DkSTy5i3m2x2AXC4yKlH7HXBpjM8
gSJx1ZhdGny0YG1DYbgF38Ge++rXkjMpIsr9cGjedRUC6+/MQCJyBUXNFusj+k34
horZLSYvncxuJaxUiS4l9kPy1e4SdYv0G0Oa3SnqDYToA2oKkdUSGdcBs/gtzMCt
XFDoWQltMmq1HOI/hynJVZWyRXu8YfSu1cU3pjqyiM5iMzVvrpFGzjoB1w0bK0kF
0yjkbnpnLmtu3C5z91H6
=bmP/
-----END PGP SIGNATURE-----

--BipTYHwbFd8z9jk5--



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