From owner-freebsd-questions Mon Jul 1 16:39:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CF4CD37B400 for ; Mon, 1 Jul 2002 16:39:50 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8710043E3B for ; Mon, 1 Jul 2002 16:39:49 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id E00698113C; Tue, 2 Jul 2002 09:09:46 +0930 (CST) Date: Tue, 2 Jul 2002 09:09:46 +0930 From: Greg 'groggy' Lehey To: "Walter Cinquanta Jr." Cc: freebsd-questions@FreeBSD.org Subject: Re: Kernal Recompile Errors Message-ID: <20020701233946.GM89861@wantadilla.lemis.com> References: <002701c22157$92998080$5c6f5ed1@kilznation.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002701c22157$92998080$5c6f5ed1@kilznation.com> User-Agent: Mutt/1.3.99i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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