Re: error with buildkernel



On Wed, 16 Aug 2006 14:42:58 GMT, Peter Scott <ps@xxxxxxxxxxx> wrote:
Hi,

I don't know why I got this error.
It said
/usr/src/sys/netinet/ip_divert.c:40:2: #error "IPDIVERT requires IPFIREWALL"

but my kernel configuration has the following options defined:

options IPFIREWALL #firewall
#options IPFIREWALL_VERBOSE #print
information about
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
#options IPSTEALTH
options IPDIVERT
options TCP_DROP_SYNFIN

Can anyone tell me what's wrong?

Not really. IMHO, this is not enough information. Please post your
*entire* kernel configuration file and at least the 100 last lines of
a log file with the messages of the failed `buildkernel' run. You
can grab a logfile like this (the following command assumes your
current shell if sh(1) not csh(1)).

# make KERNCONF=CUSTOM buildkernel 2>&1 | tee logfile

Giorgos

.



Relevant Pages

  • sparc64 kernel build error
    ... *** Error code 1 ... # GENERIC -- Generic kernel configuration file for FreeBSD/sparc64 ... # The `bpf' device enables the Berkeley Packet Filter. ...
    (freebsd-stable)
  • net/boinc-client pograms only run half the time with SCHED_ULE
    ... # GENERIC -- Generic kernel configuration file for FreeBSD/i386 ... Adds ~128k to driver. ... # Add suspend/resume support for the i8254. ...
    (freebsd-current)
  • Re: CURRENT Kernel makes the system run very very hot
    ... On Sat, 8 Dec 2007, Thomas Sparrevohn wrote: ... make buildkernel - will make the fans run at highest speed. ... I don't know what kernel configuration you're using, but by default the GENERIC kernel on -CURRENT has a lot of debugging options enabled, doing things like lock order checking, memory scrubbing, etc. Does the same box "run hot" with a 7.0 beta install? ...
    (freebsd-current)
  • Re: CURRENT Kernel makes the system run very very hot
    ... make buildkernel - will make the fans run at highest speed (its impossibly ... I don't know what kernel configuration you're using, ... "run hot" with a 7.0 beta install? ...
    (freebsd-current)
  • Re: Krenel compile
    ... #make buildkernel KERNCONF="JAJKO" ... You've probably done something wrong with the kernel configuration. ... Since you didn't show either your configuration or the compile errors, ... Lowell Gilbert, embedded/networking software engineer ...
    (comp.unix.bsd.freebsd.misc)