Date: Wed, 6 Nov 2013 14:37:16 -0500 From: Glen Barber <gjb@FreeBSD.org> To: Zenny <garbytrash@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: FreeBSD10-Beta 3 make buildkernel error Message-ID: <20131106193716.GA1761@glenbarber.us> 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
--7JfCtLOvnd9MIVvH 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 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 >=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 > 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" --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBCAAGBQJSeppsAAoJELls3eqvi17Qr6cQAJx97asgzUIAvmjeVNw08DnZ 1lAzUPlrK1d4hQHuJ5XlfdoDDxcHqyTDLjpo/KJ6MEIaTjKa/4lbMnO7fXVC8hfn sStOB0j3ZC0VX/SuTd65q9xzD+4ovtji7Tnn9FNQc3c8w7uU6G4eSfl7dkfGpPex oOgFQgYX12Dpi596uISFmFxhGy1Wd0AlQfhewCnKlsEOZWo9MT7g2FGSZuEah2fk l3OpSQ6EuNramLwESPG4ZaE7Bgto2OVHmPh2EiXLWADFFNUqHk+zIoKGi8HS7Tdb 9lXwOZq9hTFXLbBs7FWfy2ZC6ak7sHuXxbank0uK6OyVJR7XJ6l35mG7X7eyezgw oQOIXz1k3DoeFNO8AjaIhzrCkvFCp2bokzuGnoDi5bi+0oqnqWC2WDGZmER6kshX o396VOUNr5tU9J30im9y2wFyTKHjtqkbo3MTBEnBkpaQN1xapNt/56s3sJqoJC0e QjRPq48Vwy7kBb7iaCQvWp3JDOybGaJoTMyLlaWM74f2kFO/kVwHPd2IE1CBcoGr nwKRaUVmiFL4VKN24A1xlxabv6GW4kNuI+3yAp3nhthZksjZq+ulM4bEsv4PGRGM TBCVP/ohAegdVzqLguxUDW9EcuonfVvGHh9emaR64zH5A3TeG6n0DYlQpqssGT2a sipT+tR6nUL7h6pPq8tZ =lDs5 -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131106193716.GA1761>