Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2001 00:05:48 -0700 (PDT)
From:      kosmos <kosmos@bowhill.yi.org>
To:        Osamu MIHARA <mihara@prd.fc.nec.co.jp>
Cc:        <kstewart@urx.com>, Michael Lucas <mwlucas@blackhelicopters.org>, <freebsd-stable@FreeBSD.ORG>
Subject:   Re: make world dies on 4.1-RELEASE -> today's RELENG_4
Message-ID:  <20010610233139.M83497-100000@bowhill.yi.org>
In-Reply-To: <861yorczrr.wl@localhost.prd.fc.nec.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, that sounds like a good explanation. I followed a similar line, but
still have problems.

Out of all the ip_compat.h files that exist on a 4.1-RELEASE box,
the only file to contain the macro TH_ECN is:

/usr/src/sys/contrib/ipfilter/netinet/ip_compat.h

So  I created a symlink from:

/usr/src/sys/contrib/ipfilter/netinet into: /usr/src/sontrib/ipfilter

and everything appeared to compile just fine.

However, during installation, this error occurs:

cd /usr/src/include/../sys;  install -C -C -o root -g wheel -m 444 dev/usb/*.h  /usr/include/dev/usbcd /usr/src/include/../sys/contrib/ipfilter/netinet;  install -C -C -o
root -g wheel -m 444 *.h  /usr/include/netinet
install: *.h: No such file or directory
*** Error code 71

Maybe I should create the directory and copy the files in there instead.

--Allan



On Mon, 11 Jun 2001, Osamu MIHARA wrote:

> 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
>

-----------------------------------------
Allan Bowhill
kosmos@bowhill.yi.org

-----------------------------------------



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?20010610233139.M83497-100000>