Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 09:09:46 +0930
From:      Greg 'groggy' Lehey <grog@FreeBSD.org>
To:        "Walter Cinquanta Jr." <walt@bestweb.net>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Kernal Recompile Errors
Message-ID:  <20020701233946.GM89861@wantadilla.lemis.com>
In-Reply-To: <002701c22157$92998080$5c6f5ed1@kilznation.com>
References:  <002701c22157$92998080$5c6f5ed1@kilznation.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday,  1 July 2002 at 19:32:31 -0400, Walter Cinquanta Jr. wrote:
> The Kernal "depends" fine, "make" until this point...
>
> ---------------------------------------
>
> 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
>

Looks like you missed this comment in the config files:

# 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

> The Box is no monster, weighing in @ 166mhz w/ 128 megs of EDO
> memory :) But it ran 3.3 fine (kernal compiled easily) until HD
> failure :(

You probably made mistakes upgrading your config file.  The best way
is to do a diff of your original config file against GENERIC for 3.3,
then apply these patches, probably manually, to a copy of 4.6 GENERIC.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020701233946.GM89861>