Date: Sat, 3 Mar 2001 10:55:56 +0200 (EET) From: Maxim Sobolev <sobomax@FreeBSD.org> To: dima@unixfreak.org (Dima Dorfman) Cc: thyerm@camtech.net.au (Matthew Thyer), current@FreeBSD.org Subject: Re: Problems compiling kern_mutex.c Message-ID: <200103030855.f238tuF70125@vic.sabbo.net> In-Reply-To: <20010303053246.7DF013E09@bazooka.unixfreak.org> from "Dima Dorfman" at Mar 02, 2001 09:32:46 PM
next in thread | previous in thread | raw e-mail | index | archive | help
> > Matthew Thyer <thyerm@camtech.net.au> writes: > > /usr/src/sys/kern/kern_mutex.c:593: warning: no previous prototype for `_mtx_ > > assert' > > /usr/src/sys/kern/kern_mutex.c: In function `_mtx_assert': > > /usr/src/sys/kern/kern_mutex.c:595: `MA_OWNED' undeclared (first use in this > > function) > > /usr/src/sys/kern/kern_mutex.c:595: (Each undeclared identifier is reported o > > nly once > > /usr/src/sys/kern/kern_mutex.c:595: for each function it appears in.) > > /usr/src/sys/kern/kern_mutex.c:596: `MA_RECURSED' undeclared (first use in th > > is function) > > /usr/src/sys/kern/kern_mutex.c:597: `MA_NOTRECURSED' undeclared (first use in > > this function) > > /usr/src/sys/kern/kern_mutex.c:610: `MA_NOTOWNED' undeclared (first use in th > > is function) > > It looks like these are defined when you have, > > options INVARIANTS > > in your kernel config. It shouldn't be required, but try adding it > and see if that helps. Rcent kernels require `option INVARIANT_SUPPORT' in addition to `options INVARIANTS'. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103030855.f238tuF70125>