From owner-freebsd-bugs Tue Nov 26 14:30: 6 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 F26BC37B401 for ; Tue, 26 Nov 2002 14:30:03 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D256643ED1 for ; Tue, 26 Nov 2002 14:30:02 -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 gAQMU2x3023362 for ; Tue, 26 Nov 2002 14:30: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 gAQMU2Qc023361; Tue, 26 Nov 2002 14:30:02 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEC3A37B401 for ; Tue, 26 Nov 2002 14:20:55 -0800 (PST) Received: from algol.adsl.nerim.net (algol.adsl.nerim.net [62.212.97.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id D3B7C43EB2 for ; Tue, 26 Nov 2002 14:20:54 -0800 (PST) (envelope-from wei@algol.adsl.nerim.net) Received: from algol.adsl.nerim.net (localhost [127.0.0.1]) by algol.adsl.nerim.net (8.12.6/8.12.6) with ESMTP id gAR0Esop001427; Wed, 27 Nov 2002 00:14:55 GMT (envelope-from wei@algol.adsl.nerim.net) Received: (from wei@localhost) by algol.adsl.nerim.net (8.12.6/8.12.6/Submit) id gAR0EsZq001426; Wed, 27 Nov 2002 00:14:54 GMT Message-Id: <200211270014.gAR0EsZq001426@algol.adsl.nerim.net> Date: Wed, 27 Nov 2002 00:14:54 GMT From: Harald Weis Reply-To: Harald Weis To: FreeBSD-gnats-submit@FreeBSD.org Cc: Harald Weis , Darren Reed X-Send-Pr-Version: 3.113 Subject: misc/45772: Kernel does not compile with IPFILTER options 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 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