From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 12:33:03 2004 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 0702C16A4CE; Thu, 19 Aug 2004 12:33:03 +0000 (GMT) Received: from web.portaone.com (support.portaone.com [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B61A43D48; Thu, 19 Aug 2004 12:33:02 +0000 (GMT) (envelope-from sobomax@portaone.com) Received: from [192.168.0.20] (portacare.portaone.com [195.140.247.242]) (authenticated bits=0) by web.portaone.com (8.12.8p2/8.12.8) with ESMTP id i7JCWq1S073712 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Aug 2004 14:32:57 +0200 (CEST) (envelope-from sobomax@portaone.com) Message-ID: <41249DEA.80404@portaone.com> Date: Thu, 19 Aug 2004 15:32:42 +0300 From: Maxim Sobolev Organization: Porta Software Ltd User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: andre@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: re@freebsd.org cc: current@freebsd.org Subject: RELENG_5 kernel b0rken with IPFIREWALL and without PFIL_HOOKS 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: Thu, 19 Aug 2004 12:33:03 -0000 Hi, After recent changes I am unable to compile RELENG_5 kernel (and probably HEAD as well, but I have not tested it) with IPFIREWALL but without PFIL_HOOKS. Neither manpage, nor NOTES lists PFIL_HOOKS as a requirement for IPFIREWALL. Please fix. -Maxim cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -g -nostdinc -I- -I. -I/voicelog/devel/src/sys -I/voicelog/devel/src/sys/contrib/dev/acpica -I/voicelog/devel/src/sys/contrib/altq -I/voicelog/devel/src/sys/contrib/ipfilter -I/voicelog/devel/src/sys/contrib/pf -I/voicelog/devel/src/sys/contrib/dev/ath -I/voicelog/devel/src/sys/contrib/dev/ath/freebsd -I/voicelog/devel/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror vers.c linking kernel.debug ip_fw_pfil.o(.text+0x2ff): In function `ipfw_hook': /voicelog/devel/src/sys/netinet/ip_fw_pfil.c:327: undefined reference to `pfil_head_get' ip_fw_pfil.o(.text+0x32a):/voicelog/devel/src/sys/netinet/ip_fw_pfil.c:331: undefined reference to `pfil_add_hook' ip_fw_pfil.o(.text+0x34a):/voicelog/devel/src/sys/netinet/ip_fw_pfil.c:332: undefined reference to `pfil_add_hook' ip_fw_pfil.o(.text+0x37e): In function `ipfw_unhook': /voicelog/devel/src/sys/netinet/ip_fw_pfil.c:345: undefined reference to `pfil_head_get' ip_fw_pfil.o(.text+0x3a9):/voicelog/devel/src/sys/netinet/ip_fw_pfil.c:349: undefined reference to `pfil_remove_hook' ip_fw_pfil.o(.text+0x3c9):/voicelog/devel/src/sys/netinet/ip_fw_pfil.c:350: undefined reference to `pfil_remove_hook' *** Error code 1 Stop in /voicelog/devel/obj/voicelog/devel/src/sys/PBXPRESS. *** Error code 1 Stop in /voicelog/devel/src. *** Error code 1 Stop in /voicelog/devel/src.