Date: Mon, 11 Jun 2001 15:10:48 +0900 From: Osamu MIHARA <mihara@prd.fc.nec.co.jp> To: kstewart@urx.com Cc: Osamu MIHARA <mihara@prd.fc.nec.co.jp>, Michael Lucas <mwlucas@blackhelicopters.org>, kosmos <kosmos@bowhill.yi.org>, freebsd-stable@FreeBSD.ORG Subject: Re: make world dies on 4.1-RELEASE -> today's RELENG_4 Message-ID: <861yorczrr.wl@localhost.prd.fc.nec.co.jp> In-Reply-To: <3B2433A3.48822E13@urx.com> References: <20010610071736.O83489-100000@bowhill.yi.org> <20010610211809.A3827@blackhelicopters.org> <3B241EA9.27E515AA@urx.com> <8666e3d9eh.wl@localhost.prd.fc.nec.co.jp> <3B2433A3.48822E13@urx.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Here is my guessing...
The compilation option for ipmon.c (from make buildworld log):
cc -O -pipe -DIPL_NAME=\"/dev/ipl\" -I- -I/usr/src/sbin/ipmon/../../sys -I/usr/src/sbin/ipmon/../../contrib/ipfilter -I/usr/obj/usr/src/i386/usr/include -c /usr/src/sbin/ipmon/../../contrib/ipfilter/ipmon.c
This command was generated from /usr/src/sbin/ipmon/Makefile (commited
on 2001/4/25) which expects that headers ip_nat.h and ip_compat.h (and
IPfilter related headers) in
/usr/obj/usr/src/i386/usr/include/netinet, which is a symbolic link to
/usr/src/sys/netinet.
Hoewever, the header files are removed on Jun 7 (4 days ago) at the
moment IPFilter is moved into contrib. As a result, it becomes to use
headers in standard include path /usr/include/netinet. Some systems
recently upgraded have updated headers with TH_ECN and NL_FLUSH macros
and does not causes compilation error. But systems with old headers in
/usr/include/netinet causes the error.
So, workaround may be:
Copy following files from usr/src/contrib/ipfilter into /usr/include/netinet
ip_auth.h, ip_compat.h, ip_fil.h, ip_flag.h, ip_nat.h, ip_proxy.h,
ip_state.h, ipl.h
or...
Make directory /usr/src/contrib/ipfilter/netinet and copy above files
into it. This enables the compileation option
'-I/usr/src/sbin/ipmon/../../contrib/ipfilter'
Through measures??? I'm not sure...
-- Osamu
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861yorczrr.wl>
