Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2004 16:03:52 +0900
From:      Rob <spamrefuse@yahoo.com>
To:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: kernel compile error
Message-ID:  <41A6D558.8070007@yahoo.com>
In-Reply-To: <001101c4d37d$38b3d9a0$1200a8c0@gsicomp.on.ca>
References:  <ef60af09041125215877bb0fbb@mail.gmail.com> <001101c4d37d$38b3d9a0$1200a8c0@gsicomp.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Rob.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41A6D558.8070007>