Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Sep 2004 16:33:35 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-current@freebsd.org
Cc:        sam <sam.wun@authtec.net>
Subject:   Re: How can I compile PF without option PFIL_HOOKS defined in thekernel conf file?
Message-ID:  <200409121633.47109.max@love2party.net>
In-Reply-To: <4143A797.4040708@authtec.net>
References:  <4143A797.4040708@authtec.net>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 and 
try again.

RELENG_5 still has "options PFIL_HOOKS" available so it seems like you have 
CURRENT-ish sys/conf/* stuff in your tree which does not know about 
PFIL_HOOKS.

-- 
/"\  Best regards,                      | mlaier@freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier@EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (FreeBSD)

iD8DBQBBRF5LXyyEoT62BG0RAnP5AJ9DS3wj/MeuvN1yESJ0nlzxYaKi4gCdFGnJ
YMrBqXrfWsD2BE/8yqA1hKY=
=1VEP
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409121633.47109.max>