kernel compile error

Matt Emmerton matt at gsicomp.on.ca
Thu Nov 25 22:03:01 PST 2004



> /usr/src/sys/dev/usb/if_rue.c:104:23: miibus_if.h: No such file or
directory
> /usr/src/sys/pci/if_rl.c:122:23: miibus_if.h: No such file or directory
> mkdep: compile failed

You need "device miibus" in your kernel config if you want to use "device
rl".

<quoted from /usr/src/sys/i386/conf/GENERIC>

# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device          miibus          # MII bus support
device          dc              # DEC/Intel 21143 and various workalikes
device          fxp             # Intel EtherExpress PRO/100B (82557, 82558)
device          pcn             # AMD Am79C97x PCI 10/100 NICs
device          rl              # RealTek 8129/8139


<end quote>



More information about the freebsd-questions mailing list