Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2002 00:14:54 GMT
From:      Harald Weis <wei@algol.adsl.nerim.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Harald Weis <hawei@nerim.net>, Darren Reed <avalon@coombs.anu.edu.au>
Subject:   misc/45772: Kernel does not compile with IPFILTER options
Message-ID:  <200211270014.gAR0EsZq001426@algol.adsl.nerim.net>

next in thread | raw e-mail | index | archive | help
	Note: There was a bad value `non-critical,' for the field `>Severity:'.
	It was set to the default value of `serious'.

	Note: There was a bad value `bug' for the field `>Class:'.
	It was set to the default value of `sw-bug'.


>Number:         45772
>Category:       misc
>Synopsis:       Kernel does not compile with IPFILTER options
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 26 14:30:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Harald Weis
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD algol.adsl.nerim.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Nov 5 20:52:37 CET 2002 wei@algol.adsl.nerim.net:/usr/local/src/sys/compile/ALGOL i386


	
>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 ?
>Release-Note:
>Audit-Trail:
>Unformatted:

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?200211270014.gAR0EsZq001426>