From owner-freebsd-questions Fri Oct 13 20:27:51 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id D0C5A37B66D for ; Fri, 13 Oct 2000 20:27:48 -0700 (PDT) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id UAA00514; Fri, 13 Oct 2000 20:27:41 -0700 Message-ID: <39E7D2AD.5A836C66@urx.com> Date: Fri, 13 Oct 2000 20:27:41 -0700 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Frank M. Lin" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: where is miibus_if.h? References: <20001013192038.A19543@b16a.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Frank M. Lin" wrote: > > Hi all, doing my first kernel build (I want to run natd). I'm > following the intructions from the handbook: > > - modify configuration > - # /usr/sbin/config MYKERNEL > # cd ../../compile/MYKERNEL > # make depend > # make > # make install > > System is 4.1-RELEASE. On the "make depend" step, I get the following > error: > > ../../pci/if_xl.c:128: miibus_if.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /usr/src/sys/compile/MYKERNEL. > > I use two 3com NIC card so I have this line in my config > device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') > > I did a local search in /usr/src for miibus_if.h and it is nowhere > to be found. I also ftp'ed to: > ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/ > > and did not find it there. Does anybody why it is missing? Where > can I get a copy of it? It is a matter of reading your kernel config file. It starts out with # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support There are several NIC that follow this line that will not build if the miibus is commented out. Kent > > I'm not on the list if reply please CC me a private copy > frank@b16a.com. TIA!! > > -- > Frank M. Lin | http://www.g-speed.com/pbh Honda related tech files > frank@b16a.com | http://www.g-speed.com/pbh/fastest drag registry > Field, Z.Speed, NASA, skunk2 racing http://www.g-speed.com > The T.O.O. Archive, Endyn - Energy Dynamics http://www.TheOldOne.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message