problems with kernel compilation

bryan m bryan1024 at hotmail.com
Mon Mar 1 17:15:36 PST 2004


I'm trying to compile a new kernel to add IPFilter support, albeit getting 
some compiler errors:
(this is with a 5.2 kernel by the way)


    ../../../contrib/ipfilter/netinet/ip_fil.c: In function 
`fr_check_wrapper':
    ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: `PFIL_OUT' 
undeclared (first use in this function)
    ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: (Each undeclared 
identifier is reported only once
    ../../../contrib/ipfilter/netinet/ip_fil.c:319: error: for each function 
it appears in.)
    ../../../contrib/ipfilter/netinet/ip_fil.c: In function `iplattach':
    ../../../contrib/ipfilter/netinet/ip_fil.c:376: warning: unused variable 
`ph_inet'
    ../../../contrib/ipfilter/netinet/ip_fil.c: At top level:
    ../../../contrib/ipfilter/netinet/ip_fil.c:317: warning: 
`fr_check_wrapper' defined but not used
    *** Error code 1

    Stop in /usr/src/sys/i386/compile/ROUTER.


Here is my kernel configuration:


    machine i386
    cpu I686_CPU
    ident ROUTER
    options SCHED_4BSD
    options INET
    options FFS
    options SOFTUPDATES
    options UFS_ACL
    options UFS_DIRHASH
    options MD_ROOT
    options PROCFS
    options PSEUDOFS
    options COMPAT_43
    options COMPAT_FREEBSD4
    options KTRACE
    options SYSVSHM
    options SYSVMSG
    options SYSVSEM
    options _KPOSIX_PRIORITY_SCHEDULING
    options KBD_INSTALL_CDEV
    options AHC_REG_PRETTY_PRINT
    options AHD_REG_PRETTY_PRINT
    options INVARIANT_SUPPORT
    device isa
    device eisa
    device pci
    device fdc
    device ata
    device atadisk
    device atapicd
    options ATA_STATIC_ID
    device atkbdc
    device atkbd
    device psm
    device vga
    device splash
    device sc
    device agp
    device npx
    device pmtimer
    device sio
    device miibus
    device fxp
    device vr
    device random
    device loop
    device ether
    device tun
    device pty
    device gif
    device bpf
    options IPFILTER
    options IPFILTER_LOG
    options IPFILTER_DEFAULT_BLOCK


Would someone please tell me what's wrong here?
Thanks in advance

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE* 
http://join.msn.com/?page=features/junkmail



More information about the freebsd-questions mailing list