kernel compile error

Kris Kennaway kris at obsecurity.org
Fri Nov 26 00:48:29 PST 2004


On Fri, Nov 26, 2004 at 04:03:52PM +0900, Rob wrote:
> Matt Emmerton wrote:
> >
> >>/usr/src/sys/dev/usb/if_rue.c:104:23: miibus_if.h: No such file or
> >
> >directory
> >
> >>/usr/src/sys/pci/if_rl.c:122:23: miibus_if.h: No such file or directory
> >>mkdep: compile failed
> >
> >
> >You need "device miibus" in your kernel config if you want to use "device
> >rl".
> 
> I always wonder why there has not yet been constructed a mechanism that
> automatically pulls in devices that are needed to prevent compile failure.
> 
> It wouldn't be too difficult, I assume, to have "device miibus" pulled
> in, when needed for certain devices.
> 
> Or is there a good reason to allow people to compile, for example
> "device rl", without the miibus device?
> 
> Having such a mechanism, would prevent lots of beginners in the
> kernel compiling stuff, to get frustrated with errors like above.

Let us know when it's ready :)

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20041126/e7d9e094/attachment.bin


More information about the freebsd-questions mailing list