kernel build error in cam_periph_mapmem

Harald Schmalzbauer h at schmalzbauer.de
Sat Jul 17 15:54:21 PDT 2004


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=c99  -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=8000  -mno-align-long-strings -mpreferred-stack-boundary=2
> > -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 it 
be UTC (or at least include the TZ code)?

Thanks,

-Harry


>
> Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
> robert at fledge.watson.org      Principal Research Scientist, McAfee Research


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040718/71c6cd79/attachment.bin


More information about the freebsd-current mailing list