From owner-freebsd-stable@FreeBSD.ORG Wed Nov 6 19:37:20 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 23614DA6; Wed, 6 Nov 2013 19:37:20 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from mail0.glenbarber.us (mail0.glenbarber.us [IPv6:2607:fc50:1:2300:1001:1001:1001:face]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EB15E27F4; Wed, 6 Nov 2013 19:37:19 +0000 (UTC) Received: from glenbarber.us (70.15.88.86.res-cmts.sewb.ptd.net [70.15.88.86]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: gjb) by mail0.glenbarber.us (Postfix) with ESMTPSA id 6177E1033F; Wed, 6 Nov 2013 19:37:18 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 mail0.glenbarber.us 6177E1033F Authentication-Results: mail0.glenbarber.us; dkim=none reason="no signature"; dkim-adsp=none Date: Wed, 6 Nov 2013 14:37:16 -0500 From: Glen Barber To: Zenny Subject: Re: FreeBSD10-Beta 3 make buildkernel error Message-ID: <20131106193716.GA1761@glenbarber.us> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 User-Agent: Mutt/1.5.22 (2013-10-16) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Nov 2013 19:37:20 -0000 --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 > > 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--