Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Oct 2000 16:43:22 -0500 (EST)
From:      Bosko Milekic <bmilekic@dsuper.net>
To:        Darren Reed <darrenr@reed.wattle.id.au>
Cc:        current@FreeBSD.ORG
Subject:   Re: Multiply defined 'struct mtx' ?
Message-ID:  <Pine.BSF.4.21.0010291642370.25621-100000@jehovah.technokratis.com>
In-Reply-To: <200010290818.TAA23760@avalon.reed.wattle.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help

sys/mbuf.h unfortunately includes sys/mutex.h

No obvious workaround is in sight, to my knowledge, anyway.

On Sun, 29 Oct 2000, Darren Reed wrote:

> 
> IP Filter doesn't introduce a "struct mtx" which suggests something isn't
> protecting against multiple inclusions or similar ?
> 
> Darren
> 
> (ref5:~/freebsd/src/usr.sbin/ipftest) make
> Warning: Object directory not changed from original /d/home/darrenr/freebsd/src/usr.sbin/ipftest
> cc -O -pipe -DIPL_NAME=\"/dev/ipl\" -I- -I/d/home/darrenr/freebsd/src/usr.sbin/ipftest -I/d/home/darrenr/freebsd/src/usr.sbin/ipftest/../../sys/netinet -I/d/home/darrenr/freebsd/src/usr.sbin/ipftest/../../sys -I/d/home/darrenr/freebsd/src/usr.sbin/ipftest/../../contrib/ipfilter   -c /d/home/darrenr/freebsd/src/usr.sbin/ipftest/../../sys/netinet/fil.c
> In file included from /d/home/darrenr/freebsd/src/usr.sbin/ipftest/../../sys/sys/mbuf.h:40,
>                  from /d/home/darrenr/freebsd/src/usr.sbin/ipftest/../../sys/netinet/fil.c:48:
> /d/home/darrenr/freebsd/src/usr.sbin/ipftest/../../sys/sys/mutex.h:110: redefinition of `struct mtx'
> *** Error code 1
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
> 
> 


  Bosko Milekic
  bmilekic@technokratis.com




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?Pine.BSF.4.21.0010291642370.25621-100000>