Date: Mon, 27 Oct 2003 16:16:25 +0100 From: Arjan van Leeuwen <avleeuwen@piwebs.com> To: Jeremy Johnston <jeremy@smart-serv.net>, freebsd-current@freebsd.org Subject: Re: Error compiling kernel with IPFILTER Message-ID: <200310271616.25403.avleeuwen@piwebs.com> In-Reply-To: <20031027080934.272837c1.jeremy@smart-serv.net> References: <20031027080934.272837c1.jeremy@smart-serv.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310271616.25403.avleeuwen>