From owner-freebsd-current@FreeBSD.ORG Tue Jun 10 04:53:34 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E83237B401 for ; Tue, 10 Jun 2003 04:53:34 -0700 (PDT) Received: from mailspool.ops.uunet.co.za (mailspool.ops.uunet.co.za [196.7.0.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id E118B43F75 for ; Tue, 10 Jun 2003 04:53:32 -0700 (PDT) (envelope-from ianf@mci.com) Received: from copernicus.so.cpt1.za.uu.net ([196.30.72.32]) by mailspool.ops.uunet.co.za with esmtp (Exim 3.36 #1) id 19Phge-0007eY-00; Tue, 10 Jun 2003 13:53:12 +0200 Received: from localhost ([127.0.0.1] helo=mci.com) by copernicus.so.cpt1.za.uu.net with esmtp (Exim 3.36 #1) id 19Phgc-0001EU-00; Tue, 10 Jun 2003 13:53:10 +0200 To: Terry Lambert In-reply-to: Your message of "Tue, 10 Jun 2003 03:58:29 MST." <3EE5B9D5.8FE3E6EF@mindspring.com> References: <3EE5B9D5.8FE3E6EF@mindspring.com> From: Ian Freislich X-image-url: http://www.digs.iafrica.com/gallery/ian-small.gif X-BOFH: true X-LART: Depleted uranium X-No-Junk-Mail: I do not want to get *any* junk mail. You have been deleted Date: Tue, 10 Jun 2003 13:53:10 +0200 Message-ID: <4741.1055245990@mci.com> Sender: ianf@mci.com cc: freebsd-current@freebsd.org Subject: Re: New Kernel Breaks IPFW X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 11:53:34 -0000 Terry Lambert wrote: > Apparently, someone hosed the compiler flags. Looking at your > cribbed link: > > > Someone posted a link to the failure that I get, so I'll crib: > > http://www.0xfce3.net/error.txt > > We see: > > cc -O -pipe -std=iso9899:1999 -I/usr/obj/usr/src/i386/legacy/usr/include > -static -L/usr/obj/usr/src/i386/legacy/usr/lib -o xinstall xinstall.o -legacy > > Works. > > cc -O -pipe -I. -I/usr/src/usr.sbin/config -W -Wall -ansi -pedantic > -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Winline > -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wredundant-decls > -Wshadow -Wstrict-prototypes -Wwrite-strings -std=iso9899:1999 > -I/usr/obj/usr/src/i386/legacy/usr/include -c config.c Hmmm, BDEFLAGS. config.c appears to compile without them. > > > Short term, cd /usr/src/sbin/ipfw; make depend && make all install ought > > > to fix it. > > > > I tried that as well, but the new binary also dumps core, but works > > well with previous versions of the firewall. Even back as far as > > my kernel.working from May 7 2003. > > Bogus header files; specifically, . Because you > can't build world, you are compiling the ipfw program with the old > system include files instead of the new ones. You may also be > missing a cvs update on the ipfw sources themselves (specifically, > ipfw2.c). No, it did compile ipfw2.c (r1.24). I also installed all new includes before I compiled ipfw and re-worlding to no avail. I figured an old kernel with a working firewall was better than a new kernel with no firewall. Ian