From owner-freebsd-questions@FreeBSD.ORG Sat Oct 30 02:47:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D446D16A4CE for ; Sat, 30 Oct 2004 02:47:20 +0000 (GMT) Received: from kane.otenet.gr (kane.otenet.gr [195.170.0.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33B0843D3F for ; Sat, 30 Oct 2004 02:47:19 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a140.otenet.gr [212.205.215.140]) i9U2lFZL015555; Sat, 30 Oct 2004 05:47:17 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.13.1/8.13.1) with ESMTP id i9U2lCst039530; Sat, 30 Oct 2004 05:47:12 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.13.1/8.13.1/Submit) id i9U2lBmE039529; Sat, 30 Oct 2004 05:47:11 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Sat, 30 Oct 2004 05:47:11 +0300 From: Giorgos Keramidas To: sonjaya Message-ID: <20041030024711.GA39489@gothmog.gr> References: <20041030014215.GA69218@xor.obsecurity.org> <20041030020019.61384.qmail@web40909.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041030020019.61384.qmail@web40909.mail.yahoo.com> cc: freebsd-quest Subject: Re: ipfilter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Oct 2004 02:47:20 -0000 On 2004-10-29 19:00, sonjaya wrote: > --- Kris Kennaway 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.