From owner-freebsd-questions Wed Oct 2 10:43:34 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 BF02A37B401 for ; Wed, 2 Oct 2002 10:43:32 -0700 (PDT) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D5743E42 for ; Wed, 2 Oct 2002 10:43:32 -0700 (PDT) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id KAA01874; Wed, 2 Oct 2002 10:43:14 -0700 Message-ID: <3D9B3031.7030208@owt.com> Date: Wed, 02 Oct 2002 10:43:13 -0700 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: "Boris A. Grebenyuk" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: make fails References: <20021002200351.L74154-200000@dimm.zp.ua> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message