Re: Error compiling kernel with IPFILTER

From: Arjan van Leeuwen <avleeuwen_at_piwebs.com>
Date: Mon, 27 Oct 2003 16:16:25 +0100
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
Received on Mon Oct 27 2003 - 06:16:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:26 UTC