On 2004-10-29 19:00, sonjaya <[EMAIL PROTECTED]> wrote: > --- Kris Kennaway <[EMAIL PROTECTED]> wrote: > > On Fri, Oct 29, 2004 at 06:15:27PM -0700, sonjaya > > wrote: > > > dear all > > > i try use ipnat in my kernel i use this : > > > options IPFILTER > > > options IPFILTER_LOG > > > > > > this is correct because when i try make after make > > > depend i get error > > > > > > what should i do ? > > > > Show us the error. > > here the log > ./../../contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper': > ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: `PFIL_OUT' undeclared (first > use in this function) > ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: (Each undeclared identifier > is reported only once > ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: for each function it appears > in.) > ../../../contrib/ipfilter/netinet/ip_fil.c: In function `fr_check_wrapper6': > ../../../contrib/ipfilter/netinet/ip_fil.c:329: error: `PFIL_OUT' undeclared (first > use in this function) > ../../../contrib/ipfilter/netinet/ip_fil.c: In function `iplattach': > ../../../contrib/ipfilter/netinet/ip_fil.c:376: warning: unused variable `ph_inet' > ../../../contrib/ipfilter/netinet/ip_fil.c:378: warning: unused variable `ph_inet6' > ../../../contrib/ipfilter/netinet/ip_fil.c: At top level: > ../../../contrib/ipfilter/netinet/ip_fil.c:317: warning: `fr_check_wrapper' defined > but not used > ../../../contrib/ipfilter/netinet/ip_fil.c:327: warning: `fr_check_wrapper6' defined > but not used > *** Error code 1 > > Stop in /usr/src/sys/i386/compile/MTC.
You didn't mention what version of FreeBSD you're running, but it seems you have a version older than 5.3 and your kernel config does not have the PFIL_HOOKS option. _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"