From owner-freebsd-current Sun Oct 29 13:39: 1 2000 Delivered-To: freebsd-current@freebsd.org Received: from field.videotron.net (field.videotron.net [205.151.222.108]) by hub.freebsd.org (Postfix) with ESMTP id 0DFB037B4C5 for ; Sun, 29 Oct 2000 13:38:59 -0800 (PST) Received: from modemcable213.3-201-24.mtl.mc.videotron.ca ([24.201.3.213]) by field.videotron.net (Sun Internet Mail Server sims.3.5.1999.12.14.10.29.p8) with ESMTP id <0G37006C5O4RKG@field.videotron.net> for current@FreeBSD.ORG; Sun, 29 Oct 2000 16:38:51 -0500 (EST) Date: Sun, 29 Oct 2000 16:43:22 -0500 (EST) From: Bosko Milekic Subject: Re: Multiply defined 'struct mtx' ? In-reply-to: <200010290818.TAA23760@avalon.reed.wattle.id.au> X-Sender: bmilekic@jehovah.technokratis.com To: Darren Reed Cc: current@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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