From owner-freebsd-stable Mon Jun 11 0: 6:15 2001 Delivered-To: freebsd-stable@freebsd.org Received: from bowhill.yi.org (bowhill.yi.org [216.122.158.78]) by hub.freebsd.org (Postfix) with ESMTP id A5E3F37B403 for ; Mon, 11 Jun 2001 00:06:10 -0700 (PDT) (envelope-from kosmos@bowhill.yi.org) Received: from localhost (kosmos@localhost) by bowhill.yi.org (8.11.3/8.11.3) with ESMTP id f5B75nd19589; Mon, 11 Jun 2001 00:05:55 -0700 (PDT) (envelope-from kosmos@bowhill.yi.org) Date: Mon, 11 Jun 2001 00:05:48 -0700 (PDT) From: kosmos To: Osamu MIHARA Cc: , Michael Lucas , Subject: Re: make world dies on 4.1-RELEASE -> today's RELENG_4 In-Reply-To: <861yorczrr.wl@localhost.prd.fc.nec.co.jp> Message-ID: <20010610233139.M83497-100000@bowhill.yi.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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