From owner-freebsd-current@FreeBSD.ORG Sun Sep 12 14:34:59 2004 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 AE37816A4CF for ; Sun, 12 Sep 2004 14:34:59 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08A9243D2F for ; Sun, 12 Sep 2004 14:34:59 +0000 (GMT) (envelope-from max@love2party.net) Received: from [212.227.126.179] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1C6VRS-0004R7-00; Sun, 12 Sep 2004 16:34:58 +0200 Received: from [217.83.3.80] (helo=donor.laier.local) by mrelayng.kundenserver.de with asmtp (TLSv1:RC4-MD5:128) (Exim 3.35 #1) id 1C6VRR-0007Yc-00; Sun, 12 Sep 2004 16:34:57 +0200 From: Max Laier To: freebsd-current@freebsd.org Date: Sun, 12 Sep 2004 16:33:35 +0200 User-Agent: KMail/1.6.2 References: <4143A797.4040708@authtec.net> In-Reply-To: <4143A797.4040708@authtec.net> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_L5FRBlsBIYWdk1j"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409121633.47109.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:61c499deaeeba3ba5be80f48ecc83056 cc: pf4freebsd@freelists.org cc: sam Subject: Re: How can I compile PF without option PFIL_HOOKS defined in thekernel conf file? 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: Sun, 12 Sep 2004 14:34:59 -0000 --Boundary-02=_L5FRBlsBIYWdk1j Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sunday 12 September 2004 03:34, sam wrote: > Hi, > > I tried many times, turning on and off the option PFIL_HOOKS in the > kernel conf file to try to get PF compile into the kernel, but without > success. > > When remove option PFIL_HOOKS, PF failed to compile. Here is the error > when compiling PF into kernel without PFIL_HOOKS: > > pf_ioctl.o(.text+0x5230): In function `hook_pf': > : undefined reference to `pfil_head_get' > *** Error code 1 > > With option PFIL_HOOKS, the compilation failed with the following error > (this time PF is compiled OK, but the system does not like it: > > config -d /usr/obj/usr/src/sys/GENERIC /usr/src/sys/i386/conf/GENERIC > /usr/src/sys/i386/conf/GENERIC: unknown option "PFIL_HOOKS" > > Does anyone have any suggestion to compile PF into kernel in Beta 3? Hmmm ... looks like a bad cvsup to me. Please cvsup to RELENG_5 once more a= nd=20 try again. RELENG_5 still has "options PFIL_HOOKS" available so it seems like you have= =20 CURRENT-ish sys/conf/* stuff in your tree which does not know about=20 PFIL_HOOKS. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --Boundary-02=_L5FRBlsBIYWdk1j Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBRF5LXyyEoT62BG0RAnP5AJ9DS3wj/MeuvN1yESJ0nlzxYaKi4gCdFGnJ YMrBqXrfWsD2BE/8yqA1hKY= =1VEP -----END PGP SIGNATURE----- --Boundary-02=_L5FRBlsBIYWdk1j--