From owner-freebsd-bugs Tue Nov 26 20:40: 5 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A14D37B401 for ; Tue, 26 Nov 2002 20:40:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E209243EBE for ; Tue, 26 Nov 2002 20:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gAR4e2x3027653 for ; Tue, 26 Nov 2002 20:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gAR4e21u027652; Tue, 26 Nov 2002 20:40:02 -0800 (PST) Date: Tue, 26 Nov 2002 20:40:02 -0800 (PST) Message-Id: <200211270440.gAR4e21u027652@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Sergey N. Voronkov" Subject: Re: misc/45772: Kernel does not compile with IPFILTER options Reply-To: "Sergey N. Voronkov" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/45772; it has been noted by GNATS. From: "Sergey N. Voronkov" To: Harald Weis Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: misc/45772: Kernel does not compile with IPFILTER options Date: Wed, 27 Nov 2002 09:38:57 +0500 > >Description: > > Having upgraded from 4.5 to 4.7 (use of the 4.7-mini.iso) > everything okay except for the kernel which does not compile > with the IPFILTER options: > cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -f > format-extensions -ansi -nostdinc -I- -I. -I../.. -I/usr/include -I../../contrib/ipfilter -D_KERNEL -include opt_global.h -elf -mpreferr > ed-stack-boundary=2 ../../contrib/ipfilter/netinet/fil.c > ../../contrib/ipfilter/netinet/fil.c: In function `fr_makefrip': > ../../contrib/ipfilter/netinet/fil.c:267: structure has no member named `fin_misc' > ../../contrib/ipfilter/netinet/fil.c: In function `fr_check': > ../../contrib/ipfilter/netinet/fil.c:1082: too few arguments to function `ipfr_newfrag' > ../../contrib/ipfilter/netinet/fil.c:1092: too many arguments to function `fr_addstate' > *** Error code 1 > > Stop in /usr/local/src/sys/compile/ALGOL. > algol {wei} /<1>compile/ALGOL > >How-To-Repeat: > > >Fix: > > > Fixed for me thanks to Darren Reed who suspected that the IPFilter header files in > /usr/include/netinet did not match those in /sys/contrib/ipfilter/netinet. > > Is this not an error in the upgrade procedure ? No. After releasing 4.6 IPFilter headers was removed from /usr/include. You can check your instalation after source upgrade for stale files: http://docs.freebsd.org/cgi/getmsg.cgi?fetch=378720+0+archive/2001/freebsd-stable/20010610.freebsd-stable Serg N. Voronkov, Sibitex JSC To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message