From owner-freebsd-current Fri Mar 2 21:32:48 2001 Delivered-To: freebsd-current@freebsd.org Received: from bazooka.unixfreak.org (bazooka.unixfreak.org [63.198.170.138]) by hub.freebsd.org (Postfix) with ESMTP id EDF0537B71A for ; Fri, 2 Mar 2001 21:32:46 -0800 (PST) (envelope-from dima@unixfreak.org) Received: from hornet.unixfreak.org (hornet [63.198.170.140]) by bazooka.unixfreak.org (Postfix) with ESMTP id 7DF013E09; Fri, 2 Mar 2001 21:32:46 -0800 (PST) To: Matthew Thyer Cc: current@FreeBSD.org Subject: Re: Problems compiling kern_mutex.c In-Reply-To: <3AA07FB9.CCA40541@camtech.net.au>; from thyerm@camtech.net.au on "Sat, 03 Mar 2001 15:53:05 +1030" Date: Fri, 02 Mar 2001 21:32:46 -0800 From: Dima Dorfman Message-Id: <20010303053246.7DF013E09@bazooka.unixfreak.org> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Matthew Thyer 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