kernel with bge doesn't compile (undefined reference to `vlan_tag_alloc')

Doug Barton DougB at FreeBSD.org
Fri Jan 2 13:13:53 PST 2004


Howdy,

With the latest sources, and a kernel conf that contains the bge device,
I get the following error:

sh /usr/local/src/sys/conf/newvers.sh LAP
cc -c -O -pipe -march=pentium4 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/local/src/sys -I/usr/local/src/sys/contrib/dev/acpica -I/usr/local/src/sys/contrib/ipfilter -I/usr/local/src/sys/contrib/dev/ath -I/usr/local/src/sys/contrib/dev/ath/freebsd -I/usr/local/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  vers.c
linking kernel.debug
if_bge.o: In function `bge_rxeof':
/usr/local/src/sys/dev/bge/if_bge.c:2740: undefined reference to `vlan_tag_alloc'
*** Error code 1

I built a kernel from the same config file on 12/30, so the problem
would be fairly recent.

Doug

-- 

    This .signature sanitized for your protection



More information about the freebsd-current mailing list