From owner-freebsd-current@FreeBSD.ORG Wed Jan 7 02:14:04 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 C464716A4CE for ; Wed, 7 Jan 2004 02:14:04 -0800 (PST) Received: from kai.xtaz.net (router.xtaz.net [82.68.183.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EC3343D2D for ; Wed, 7 Jan 2004 02:14:03 -0800 (PST) (envelope-from matt@xtaz.net) Received: from xtaz.net (localhost [127.0.0.1]) by kai.xtaz.net (Postfix) with ESMTP id 7EA2E8FC37; Wed, 7 Jan 2004 10:13:59 +0000 (GMT) Message-ID: <3FFBDBE6.3040305@xtaz.net> Date: Wed, 07 Jan 2004 10:13:58 +0000 From: Matt Smith User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20031007 X-Accept-Language: en-us, en MIME-Version: 1.0 To: zen8061@zen.co.uk References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: IP Filter 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: Wed, 07 Jan 2004 10:14:04 -0000 zen8061@zen.co.uk wrote: > Sorry is this not not correct place to mail this newbbie. > > Has any one has problems in installing IPFilter I get a error > > 5.2-RC2 FreeBSD 5.2-RC2 #0: Mon Dec 22 07:23:48 GMT 2003 root@wv1u.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386 > > -stack-boundary=2 -ffreestanding -Werror /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper': > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: `PFIL_OUT' undeclared (first use in this function) > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: (Each undeclared identifier is reported only once > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:319: error: for each function it appears in.) > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper6': > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:329: error: `PFIL_OUT' undeclared (first use in this function) > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: In function `iplattach': > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:376: warning: unused variable `ph_inet' > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:378: warning: unused variable `ph_inet6' > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c: At top level: > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:317: warning: `fr_check_wrapper' defined but not used > /usr/src/sys/contrib/ipfilter/netinet/ip_fil.c:327: warning: `fr_check_wrapper6' defined but not used > > Any help would be great > From /usr/src/UPDATING: 20030925: Configuring a system to use IPFILTER now requires that PFIL_HOOKS also be explicitly configured. Previously this dependency was magically handled through some cruft in net/pfil.h; but that has been removed. Building a kernel with IPFILTER but not PFIL_HOOKS will fail with obtuse errors in ip_fil.c. Regards, Matt.