From owner-freebsd-current@FreeBSD.ORG Mon Oct 27 07:16:30 2003 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 3D7A816A4B3 for ; Mon, 27 Oct 2003 07:16:30 -0800 (PST) Received: from thuis.piwebs.com (217-19-20-186.dsl.cambrium.nl [217.19.20.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 523A343F85 for ; Mon, 27 Oct 2003 07:16:28 -0800 (PST) (envelope-from avleeuwen@piwebs.com) Received: (qmail 47769 invoked by uid 85); 27 Oct 2003 15:18:05 -0000 Received: from avleeuwen@piwebs.com by thuis.piwebs.com by uid 82 with qmail-scanner-1.20rc1 (uvscan: v4.2.40/v4288. Clear:RC:1:. Processed in 0.086378 secs); 27 Oct 2003 15:18:05 -0000 Received: from unknown (HELO 192.168.0.110) (192.168.0.110) by 0 with SMTP; 27 Oct 2003 15:18:04 -0000 From: Arjan van Leeuwen To: Jeremy Johnston , freebsd-current@freebsd.org Date: Mon, 27 Oct 2003 16:16:25 +0100 User-Agent: KMail/1.5.4 References: <20031027080934.272837c1.jeremy@smart-serv.net> In-Reply-To: <20031027080934.272837c1.jeremy@smart-serv.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200310271616.25403.avleeuwen@piwebs.com> Subject: Re: Error compiling kernel with IPFILTER 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: Mon, 27 Oct 2003 15:16:30 -0000 On Monday 27 October 2003 16:09, Jeremy Johnston wrote: > /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 *** Error code 1 Read /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. Arjan