pf build errors
Joerg Sonnenberger
joerg at britannica.bec.de
Sat Oct 23 05:36:43 PDT 2004
On Sat, Oct 23, 2004 at 12:29:23PM +0100, Mark Cullen wrote:
> While building a kernel with device pf and device pflog I noticed an error:
>
> /usr/src/sys/net/pf/if_pflog.c: In function `pflog_clone_create':
> /usr/src/sys/net/pf/if_pflog.c:131: `IFT_PFLOG' undeclared (first use in
> this function)
> /usr/src/sys/net/pf/if_pflog.c:131: (Each undeclared identifier is
> reported only once
> /usr/src/sys/net/pf/if_pflog.c:131: for each function it appears in.)
Fixed.
[skip]
> /usr/src/sys/net/pf/pf.c: In function `pf_send_tcp':
> /usr/src/sys/net/pf/pf.c:1308: structure has no member named `pf_flags'
> /usr/src/sys/net/pf/pf.c:1308: `PF_MBUF_GENERATED' undeclared (first use
> in this function)
Hopefully fixed too.
> Uh, I'll stop there. Basically I think its broken! Or did I do something
> a little wrong?
No, the Stable tag was partly wrong, it pointed before the PF commit.
Drop me a mail off list, if it still doesn't compile.
> Here's the end of my kernel config, where I generally add options myself:
>
> options IPFIREWALL
Mixing firewalls?
> options IPDIVERT
> options IPSTEALTH
> options RANDOM_IP_ID
> options DEVICE_POLLING
> options HZ=1000
> options DUMMYNET
> #options IPFW2
> device pf
> device pflog
More information about the Kernel
mailing list