Re: Multiply defined 'struct mtx' ?
On Tue, 31 Oct 2000, Darren Reed wrote: > In some email I received from Bruce Evans, sie wrote: > [...] > > Your is apparently out of date. With all those -I > > paths, it is hard to tell where includes are found. The > > -I${.CURDIR}/../../sys hack is particularly evil. It makes no difference > > for "make world", but for plain make it causes the src-relative version > > of to be found, but there is no hack to find the src-relative > > version of so the installed version gets used. > > So when will ref5 be updated ? :-) Anyone ? > > Darren I'll update it and ref4 today... Automating this task has been on my to-do list for a bit now.. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Multiply defined 'struct mtx' ?
In some email I received from Bruce Evans, sie wrote: [...] > Your is apparently out of date. With all those -I > paths, it is hard to tell where includes are found. The > -I${.CURDIR}/../../sys hack is particularly evil. It makes no difference > for "make world", but for plain make it causes the src-relative version > of to be found, but there is no hack to find the src-relative > version of so the installed version gets used. So when will ref5 be updated ? :-) Anyone ? Darren To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Multiply defined 'struct mtx' ?
On Sun, 29 Oct 2000, Bosko Milekic wrote: > sys/mbuf.h unfortunately includes sys/mutex.h > > No obvious workaround is in sight, to my knowledge, anyway. No workaround is necessary for this particular problem. sys/mutex.h protects itself against multiple inclusion. > 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 ? > > (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 Your is apparently out of date. With all those -I paths, it is hard to tell where includes are found. The -I${.CURDIR}/../../sys hack is particularly evil. It makes no difference for "make world", but for plain make it causes the src-relative version of to be found, but there is no hack to find the src-relative version of so the installed version gets used. Bruce To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message
Re: Multiply defined 'struct mtx' ?
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 [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message > > Bosko Milekic [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message