Subject: Re: Compile PF in kernel on Cobalt is no go on 3.0
To: Daniel Ouellet <>
From: Hubert Feyrer <>
List: port-cobalt
Date: 01/06/2006 11:44:04
On Fri, 6 Jan 2006, Daniel Ouellet wrote:
> pf_ioctl.o(.text+0x4888): In function `pf_pfil_attach':
> : undefined reference to `if_pfil'

I see two possible problems here:

1) did you remove "options PFIL_HOOKS"? It seems needed, after
    looking in src/sys/net/if.c:

 	#ifdef PFIL_HOOKS
 	struct pfil_head if_pfil;       /* packet filtering hook for interfaces */

2) Maybe if.c was not recompiled for some reason. Either
    ".../compile/*/if.o" and retry, or maybe "make depend" helps, and
    if none does, rm -fr your compile directory and see if that does the

I agree that this is a bit strange...

  - Hubert