Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Oct 2000 20:27:41 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        "Frank M. Lin" <frank@b16a.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: where is miibus_if.h?
Message-ID:  <39E7D2AD.5A836C66@urx.com>
References:  <20001013192038.A19543@b16a.com>

next in thread | previous in thread | raw e-mail | index | archive | help


"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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39E7D2AD.5A836C66>