Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2016 18:34:55 -0800
From:      Mark Millard <markmi@dsl-only.net>
To:        svn-src-head@freebsd.org, rakuco@FreeBSD.org, fabien.thomas@stormshield.eu, Ed Maste <emaste@freebsd.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: svn commit: r309144 - in head: lib/libipsec sys/net sys/netipsec [-r309174 does not fix everything]
Message-ID:  <938D4472-267F-4CDA-A6BA-6A62A1AB054F@dsl-only.net>

next in thread | raw e-mail | index | archive | help
key_debug.c is not the only place with problems : The below is
based on my experience with head -r309179. First what someone
else reported:

> On Fri, Nov 25, 2016 at 05:34:51PM +0100, O. Hartmann wrote:=20
> > Recent sources do not build kernel due to:=20
> >=20
> > [...]=20
> > Building /usr/obj/usr/src/sys/SB21X1/ipsec_mbuf.o=20
> > In file included from /usr/src/sys/netipsec/ipsec_mbuf.c:43:=20
> > In file included from /usr/src/sys/netipsec/ipsec.h:46:=20
> > In file included from /usr/src/sys/netipsec/keydb.h:38:=20
> > /usr/src/sys/sys/mutex.h:367:2: error: LOCK_DEBUG not defined, =
include <sys/lock.h>=20
> > before <sys/mutex.h> #error LOCK_DEBUG not defined, include =
<sys/lock.h> before=20
> > <sys/mutex.h> ^=20
> > /usr/src/sys/sys/mutex.h:369:5: error: 'LOCK_DEBUG' is not defined, =
evaluates to 0=20
> > [-Werror,-Wundef] #if LOCK_DEBUG > 0 || defined(MUTEX_NOINLINE)=20
> > ^=20
> > 2 errors generated.=20
> > *** Error code 1=20
(From: =
https://lists.freebsd.org/pipermail/freebsd-current/2016-November/063920.h=
tml )

I ran into the same thing in the same place.

Like O. Hartmann I followed the compiler's advice to work around
the problem. That allowed my buildworld buildkernel to complete.


=3D=3D=3D
Mark Millard
markmi at dsl-only.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?938D4472-267F-4CDA-A6BA-6A62A1AB054F>