Date: Wed, 7 Aug 2019 18:33:42 -0700 From: Conrad Meyer <cem@freebsd.org> To: Michael Butler <imb@protected-networks.net> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: SVN r350713 breaks non-debug kernel builds Message-ID: <CAG6CVpWb9P0VfGtwMEFFdD5HyBFsBcfWA5xZ4_L5T_7ska4xzg@mail.gmail.com> In-Reply-To: <b7e3568a-0d24-f110-b172-955c29a1ec9d@protected-networks.net> References: <b7e3568a-0d24-f110-b172-955c29a1ec9d@protected-networks.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the report Michael, and sorry about the breakage. I believe this patch should fix the build, and I am testing it now: --- sys/kern/kern_sysctl.c (revision 350714) +++ sys/kern/kern_sysctl.c (working copy) @@ -55,6 +55,7 @@ #include <sys/priv.h> #include <sys/proc.h> #include <sys/jail.h> +#include <sys/kdb.h> #include <sys/lock.h> #include <sys/mutex.h> #include <sys/rmlock.h> @@ -67,7 +68,6 @@ #endif #ifdef DDB -#include <sys/kdb.h> #include <ddb/ddb.h> #include <ddb/db_lex.h> #endif On Wed, Aug 7, 2019 at 6:23 PM Michael Butler <imb@protected-networks.net> wrote: > > As follows .. > > --- kern_sysctl.o --- > /usr/src/sys/kern/kern_sysctl.c:1623:19: error: use of undeclared > identifier 'kdb_active' > if (arg2 == 0 || kdb_active) { > ^ > 1 error generated. > *** [kern_sysctl.o] Error code 1 > > imb > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG6CVpWb9P0VfGtwMEFFdD5HyBFsBcfWA5xZ4_L5T_7ska4xzg>