Boris A. Grebenyuk wrote:
> Hi! I'm trying to build kernel for i486 PC. But get an error:
>
> Press any key to continue...bash-2.04# bash-2.04# make kernel
> linking kernel
> if_ed.o: In function `ed_tick':
> if_ed.o(.text+0x26d9): undefined reference to `mii_tick'
> if_ed.o: In function `ed_init':
> if_ed.o(.text+0x2aca): undefined reference to `mii_mediachg'
> if_ed.o: In function `ed_ifmedia_upd':
> if_ed.o(.text+0x4d8d): undefined reference to `mii_mediachg'
> if_ed.o: In function `ed_ifmedia_sts':
> if_ed.o(.text+0x4dc2): undefined reference to `mii_pollstat'
> *** Error code 1
>
> Stop in /usr/src/sys/compile/DISKLESS_486.
>
> How can I solve a problem? I think there is some unchecked options or devices in
> my kernel config. Need you help.
In your kernel config, you have
# ISA Ethernet NICs.
# 'device ed' requires 'device miibus'
device ed0 at isa? port 0x280 irq 10 iomem 0xd8000
and you didn't do what it told you to do. You have miibus commented out.
# 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
Kent
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message