Date: Tue, 26 Nov 2002 20:40:02 -0800 (PST) From: "Sergey N. Voronkov" <serg@tmn.ru> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/45772: Kernel does not compile with IPFILTER options Message-ID: <200211270440.gAR4e21u027652@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/45772; it has been noted by GNATS. From: "Sergey N. Voronkov" <serg@tmn.ru> To: Harald Weis <hawei@nerim.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200211270440.gAR4e21u027652>