From owner-freebsd-current@FreeBSD.ORG Thu Aug 19 18:39:29 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 A4ED416A4CF for ; Thu, 19 Aug 2004 18:39:29 +0000 (GMT) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC7BD43D5A for ; Thu, 19 Aug 2004 18:39:27 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 16354 invoked from network); 19 Aug 2004 18:39:08 -0000 Received: from dotat.atdotat.at (HELO [62.48.0.47]) ([62.48.0.47]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 19 Aug 2004 18:39:08 -0000 Message-ID: <4124F3DE.4020802@freebsd.org> Date: Thu, 19 Aug 2004 20:39:26 +0200 From: Andre Oppermann User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a1) Gecko/20040520 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Maxim Sobolev References: <41249DEA.80404@portaone.com> In-Reply-To: <41249DEA.80404@portaone.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: re@freebsd.org cc: current@freebsd.org Subject: Re: 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 18:39:29 -0000 Maxim Sobolev wrote: > 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. I've fixed that a minute ago. The build of ip_fw_pfil.c will break with a useful error message if IPFIREWALL is defined but not PFIL_HOOKS. -- Andre > -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. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > >