options IPFILTER options PFIL_HOOKS
Mairo Doria
Toomas Aas wrote:
Hi!
You were right I had not built the kernel with IPFilter options.
But I cannot get the kernel to build after I had done a "make depend" I did a make with
the following errors
common -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror
../../../contrib/ipfilter/netinet/fil.c
cc1: warnings being treated as errors
../../../contrib/ipfilter/netinet/fil.c: In function `frsync':
../../../contrib/ipfilter/netinet/fil.c:2004: warning: implicit declaration of function
`IFNET_RLOCK'
../../../contrib/ipfilter/netinet/fil.c:2017: warning: implicit declaration of function
`IFNET_RUNLOCK'
*** Error code 1
I don't know much about cc - such as why it decided to "treat warnings as errors" - and I haven't built a custom kernel on FreeBSD 5.0, but maybe you should try building the kernel in the "new" way:
# cd /usr/src # make buildkernel KERNCONF=NEBULA # make installkernel KERNCONF=NEBULA
Again, I don't know whether this is supposed to work on 5.0, but trying can't hurt. -- Toomas Aas | [EMAIL PROTECTED] | http://www.raad.tartu.ee/~toomas/ * It's better to be rich and healthy than poor and sick.
