Date: Fri, 02 Mar 2001 21:32:46 -0800 From: Dima Dorfman <dima@unixfreak.org> To: Matthew Thyer <thyerm@camtech.net.au> Cc: current@FreeBSD.org Subject: Re: Problems compiling kern_mutex.c Message-ID: <20010303053246.7DF013E09@bazooka.unixfreak.org> In-Reply-To: <3AA07FB9.CCA40541@camtech.net.au>; from thyerm@camtech.net.au on "Sat, 03 Mar 2001 15:53:05 %2B1030"
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. Dima Dorfman dima@unixfreak.org 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?20010303053246.7DF013E09>