5.1-CURRENT kernel compile error

Philip M. Gollucci philip at p6m7g8.com
Fri Jan 2 20:43:09 PST 2004


vegeta# cd /usr/share/example/cvsup
vegeta# cvsup -g -L2 standard-supfile
vegeta# cd /usr/src/sys/i386/conf
vegeta# config VEGETA
vegeta# cd ../compile/VEGETA
vegeta# make depend
vegeta# make
[lots of output snipped]
linking kernel
if_em.o: In function `em_process_receive_interrupts':
if_em.o(.text+0x47f5): undefined reference to `vlan_tag_alloc'
*** Error code 1

Note: the following Kernel Config file has worked for quite some time.
Also a yahoo/google and google group search returns 0 (ZERO) results on 
this.
That may be a first.

Thanks in advance

Philip

P.S.
  Please CC me so I'm sure to see the response.


Kernel Config for VEGETA:
###############################################################################
################################## Architecture 
###############################
###############################################################################
machine         i386
maxusers        256
cpu             I686_CPU                # aka Pentium Pro(tm)
ident           PHILIP

#options         MATH_EMULATE            #Support for x87 emulation

device          npx

###############################################################################
################################# Compatibility 
###############################
###############################################################################
options         COMPAT_43
options         COMPAT_FREEBSD4
options         SCHED_4BSD

###############################################################################
################################# Networking 
##################################
###############################################################################
options         INET                    #Internet communications protocols
options         IPSEC                   #IP security
options         IPSEC_ESP               #IP security (crypto; define w/ IP

device          ether                   #Generic Ethernet
device          loop                    #Network loopback device

device          miibus
device          fxp
device          em       ###### ********** ERROR IS RELATED TO THUIS 
#############

###############################################################################
########################## Firewalls 
##########################################
###############################################################################
options         IPFIREWALL              #firewall
options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity

options         IPDIVERT                #divert sockets
options         IPFILTER                #ipfilter support
options         IPFILTER_LOG            #ipfilter logging
options         PFIL_HOOKS

options         IPSTEALTH               #support for stealth forwarding
options         TCP_DROP_SYNFIN         #drop TCP packets with SYN+FIN

###############################################################################
################################# FileSystems 
#################################
###############################################################################
options         FFS                     #Memory File System
options         CD9660                  #ISO 9660 filesystem
options         PSEUDOFS
options         PROCFS                  #Process filesystem

options         SOFTUPDATES
options         UFS_DIRHASH
options         QUOTA                   #enable disk quotas

###############################################################################
############################## ATA Devices 
####################################
###############################################################################
device          isa
device          pci

device          ata
device          atadisk
device          ataraid         # RAID
device          atapicd         # ATAPI CDROM drives
device          atapifd         # ATAPI floppy drives
options         ATA_STATIC_ID

###############################################################################
############################### Misc Devices 
##################################
###############################################################################
device          pty             #Pseudo ttys
device          speaker         #Play IBM BASIC-style noises out your 
speaker
device          md              #Memory/malloc disk
device          snp             #Snoop device - to look at pty/vty/etc..

device          atkbdc
device          atkbd
device          psm
device          vga
device          agp
device          random

###############################################################################
################################## Terminal Options 
###########################
###############################################################################
device          sc
options         MAXCONS=16              # number of virtual consoles

options         SYSVSHM                 #SYSV-style shared memory
options         SYSVMSG                 #SYSV-style message queues
options         SYSVSEM                 #SYSV-style semaphores



More information about the freebsd-questions mailing list