Unable to compile gigabit driver?

Matthew Emmerton matt at compar.com
Mon Jul 14 19:19:28 PDT 2003


> I am not able to compile either the "ti", or "em" driver, and get the
following errror:
>
> linking kernel
> if_ti.o: In function `ti_rxeof':
> if_ti.o(.text+0x297b): undefined reference to `vlan_input_tag_p'
> if_ti.o(.text+0x29d2): undefined reference to `vlan_input_tag_p'
> if_em.o: In function `em_process_receive_interrupts':
> if_em.o(.text+0x2d0e): undefined reference to `vlan_input_tag_p'
> if_em.o(.text+0x2d31): undefined reference to `vlan_input_tag_p'
> *** Error code 1
>
> Stop in /usr/src/sys/compile/Hssi.
>
> This is under FreeBSD 4.7-RELEASE. I also tried the "bge" driver for kicks
and it gives a similar error, but all the fast ethernet drivers I tried
compile just fine...

Although it doesn't mention it in LINT, I believe the gigabit drivers
(ti/em) require "pseudo-device vlan" in your kernel config.  (At least
that's what I infer from the error messages.)

--
Matt Emmerton



More information about the freebsd-questions mailing list