From owner-freebsd-current@freebsd.org Sat Nov 26 07:46:26 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03F22C56ADC for ; Sat, 26 Nov 2016 07:46:26 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 59A98EA2 for ; Sat, 26 Nov 2016 07:46:24 +0000 (UTC) (envelope-from ohartmann@walstatt.org) Received: from thor.walstatt.dynvpn.de ([85.179.173.164]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0Lhfu5-1cWLn03JlR-00mr6H; Sat, 26 Nov 2016 08:46:11 +0100 Date: Sat, 26 Nov 2016 08:46:07 +0100 From: "O. Hartmann" To: David Wolfskill Cc: FreeBSD CURRENT Subject: Re: r309145: mutex.h:369:5: error: 'LOCK_DEBUG' is not defined Message-ID: <20161126084607.1c8ced25@thor.walstatt.dynvpn.de> In-Reply-To: <20161125164051.GS22600@albert.catwhisker.org> References: <20161125173451.3edcfcfe@thor.walstatt.dynvpn.de> <20161125164051.GS22600@albert.catwhisker.org> Organization: WALSTATT User-Agent: OutScare 3.1415926 X-Operating-System: ImNotAnOperatingSystem 3.141592527 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/XRfVUX21H/u2UaVJoLZnFrs"; protocol="application/pgp-signature" X-Provags-ID: V03:K0:rkb5BBxxw5Kz+aHZNomgQyfR6i9BEpOy3gSbq9cZcfiKpmgH4x0 71iOz7g0Jm1X5JiGv87IZ5WGyPzeoUnALWVjP1V03OPW6fSwhhrZi/solijd1CxaS6JL9NR sUY1U/Vs/mOqSmac/NShQV2ZjqHfPzVt+r7Z5VRrjt9wjNjQlAylp2/FVrK169FZ1kVvVGO t4VfuS11X7i+/btYQai4w== X-UI-Out-Filterresults: notjunk:1;V01:K0:Tairwx9Wk50=:LBTAHT+PBWfH9/sChClaKl w2sH9l9S9CifMpF2Qx37HzxTW5IP6lbvDgTPorQVGsVx+1tJ78bJg26lNVln9tnwfq3ILc/Dk 42DOZJU+w7iypy8nre/tQuQ4NRLnEa+eiBa217ApGzpafOHHuvpfSRfU9QQXQE7VKNvrCcjOQ ifIc1amXWAndO1HEwExn4VA6AGJbcOwHjuI6eJWRjFvHiJFmUsjHwxZnT2oQb/D+txc9uBWQV AK9hmxMaFC86WhvyaKsH62x1AdmmnE1jDcu3nnkuAmxOptvu0MkkFQt6oeY1AhDscO8DWWw5m vxRZnmYy5OUfoDjv6i19/3p/0RkpYrhVBHAD6ej0xI5TaqRrZ8Z0jQ7+Dz2GYANtTeBadPpLy 3zRt3Nu7xVKzeBj5pGoWc6Wv0hsDeCMsDEetphuWZVwCj86pxynxVXgcUa2/RS3DsYI3DDzzJ 9KaWitWp13kcPauHsHsWb3EdbHSl35sKYOtjZA8Ljt9Ilj/dAPfdNrKNiPZhcjvPxb8bFmu3z 3i1yVa6duBudXd2ud6Tyx8UCb3CxEaNUykj7x2fePsRFkjYxEKVUCVFbIqZlrltHv6hwVScPM pC0wxw7MEM2hSezE4jQrHT78APG/odu58HF5kOngg+lqz+uTgWNIRLvH0R8FNA6iMOSiMs2tt poiZFJDZSzsZcRk1XuZP0Q52l+Gp7X+FUceR5x7+NArgNHnQvLDbhBgtm8S57bBpsv/YEVq2j u7R6cgNhRloOyW+Hsax1Hi8alB4EkpowZoX9dAlUhtyAcUSqUZbxIE5fPUY= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Nov 2016 07:46:26 -0000 --Sig_/XRfVUX21H/u2UaVJoLZnFrs Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Am Fri, 25 Nov 2016 08:40:51 -0800 David Wolfskill schrieb: > On Fri, Nov 25, 2016 at 05:34:51PM +0100, O. Hartmann wrote: > > Recent sources do not build kernel due to: > >=20 > > [...] > > Building /usr/obj/usr/src/sys/SB21X1/ipsec_mbuf.o > > In file included from /usr/src/sys/netipsec/ipsec_mbuf.c:43: > > In file included from /usr/src/sys/netipsec/ipsec.h:46: > > In file included from /usr/src/sys/netipsec/keydb.h:38: > > /usr/src/sys/sys/mutex.h:367:2: error: LOCK_DEBUG not defined, include = > > before #error LOCK_DEBUG not defined, include before > > ^ > > /usr/src/sys/sys/mutex.h:369:5: error: 'LOCK_DEBUG' is not defined, eva= luates to 0 > > [-Werror,-Wundef] #if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE) > > ^ > > 2 errors generated. > > *** Error code 1 > >=20 > >=20 [...] I blindly followed the advice of the compiler error spit out and included = the line #include before=20 #include and siehe da!, it worked and I can compile the kernel again (I have IPSEC e= nabled in my kernel config files on all systems). Kind regards, Oliver --Sig_/XRfVUX21H/u2UaVJoLZnFrs Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWDk9vwAKCRDS528fyFhY lORSAgCmInqyL9DZ/iHZ55rxeOUS0VCFfUcA22KSu1Uu+MI/G504LcsZmIB1YxHH bsBIsk6kPAk0hBRIPdCymf+ixi4hAgCD2+R/vOQ1qAW6usa9h7atidnupr2j3dRV MclVZY2EBe9Hl3XhVhf2e3XHq909sCdHkdf5yeFruCsN84B7ABVM =LeZr -----END PGP SIGNATURE----- --Sig_/XRfVUX21H/u2UaVJoLZnFrs--