From owner-freebsd-current@FreeBSD.ORG Sat Jul 17 22:54:21 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9166E16A4CE; Sat, 17 Jul 2004 22:54:21 +0000 (GMT) Received: from flintsbach.schmalzbauer.de (flintsbach.schmalzbauer.de [62.245.232.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 36A1043D39; Sat, 17 Jul 2004 22:54:20 +0000 (GMT) (envelope-from h@schmalzbauer.de) Received: from korso.flintsbach.schmalzbauer.de (korso.flintsbach.schmalzbauer.de [172.21.2.3])i6HMsFkp093639; Sun, 18 Jul 2004 00:54:15 +0200 (CEST) (envelope-from h@schmalzbauer.de) Received: from cale.flintsbach.schmalzbauer.de (cale.flintsbach.schmalzbauer.de [172.21.1.249]) by korso.flintsbach.schmalzbauer.de (Postfix) with ESMTP id 9A6DE195; Sun, 18 Jul 2004 00:54:15 +0200 (CEST) From: Harald Schmalzbauer To: Robert Watson Date: Sun, 18 Jul 2004 00:54:13 +0200 User-Agent: KMail/1.6.2 References: In-Reply-To: X-OS: FreeBSD 5.3 X-Country: Germany X-Address: Munich, 80686 X-Phone2: +49 (0) 89 18947781 X-Name: Harald Schmalzbauer X-Birthday: 06 Oktober 1972 MIME-Version: 1.0 X-UID: 6 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_W4a+ATiK2KIF3IW"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407180054.14920@harryhomeworkstation> X-Spam-Status: No, hits=0.0 required=3.5 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailjail.dmz.flintsbach.schmalzbauer.de X-Mailman-Approved-At: Sun, 18 Jul 2004 14:22:13 +0000 cc: freebsd-current@freebsd.org Subject: Re: kernel build error in cam_periph_mapmem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2004 22:54:21 -0000 --Boundary-02=_W4a+ATiK2KIF3IW Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Am Samstag, 17. Juli 2004 19:48 schrieb Robert Watson: > On Fri, 16 Jul 2004, Harald Schmalzbauer wrote: > > for several cvsups my kernel build fails with the following: > > > > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs > > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > > -Wcast-qual > > -fformat-extensions -std=3Dc99 -nostdinc -I- -I. -I/usr/src/sys > > -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/altq > > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/pf > > -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd > > -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common > > -finline-limit=3D8000 -mno-align-long-strings -mpreferred-stack-bounda= ry=3D2 > > -ffreestanding -Werror /usr/src/sys/cam/cam_periph.c > > /usr/src/sys/cam/cam_periph.c: In function `cam_periph_mapmem': > > /usr/src/sys/cam/cam_periph.c:624: warning: implicit declaration of > > function `_mtx_assert' > > /usr/src/sys/cam/cam_periph.c:624: error: `MA_OWNED' undeclared (first > > use in this function) > > It looks like your copy of cam_periph.c doesn't #include mutex.h, which is > where MA_OWNED is defined. Revision 1.56, which is what I have checked > out here, appears to include if. Could you confirm you have revision 1.56 > without any local modifications? Yes, it's "cam_periph.c,v 1.56 2003/11/08 10:56:57 scottl" I didn't any local modification! I just removed my obj directory but that didn't help. CVsup done half an hour ago. Btw, can anybody exlain me what timezone the timestamp is from? Shouldn't i= t=20 be UTC (or at least include the TZ code)? Thanks, =2DHarry > > Robert N M Watson FreeBSD Core Team, TrustedBSD Projects > robert@fledge.watson.org Principal Research Scientist, McAfee Resear= ch --Boundary-02=_W4a+ATiK2KIF3IW Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA+a4WBylq0S4AzzwRAlVcAJ9L0ACY+5a/8KgGbxhOPpAdpDBYawCghAj3 hnbO1XZYQRuACRa9x+H2m00= =QGxN -----END PGP SIGNATURE----- --Boundary-02=_W4a+ATiK2KIF3IW--