Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Nov 2004 00:52:55 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Rob <spamrefuse@yahoo.com>
Cc:        FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: kernel compile error
Message-ID:  <20041126085255.GA87702@xor.obsecurity.org>
In-Reply-To: <41A6D558.8070007@yahoo.com>
References:  <ef60af09041125215877bb0fbb@mail.gmail.com> <001101c4d37d$38b3d9a0$1200a8c0@gsicomp.on.ca> <41A6D558.8070007@yahoo.com>

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

--4Ckj6UjgE2iN1+kY
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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".
>=20
> I always wonder why there has not yet been constructed a mechanism that
> automatically pulls in devices that are needed to prevent compile failure.
>=20
> It wouldn't be too difficult, I assume, to have "device miibus" pulled
> in, when needed for certain devices.
>=20
> Or is there a good reason to allow people to compile, for example
> "device rl", without the miibus device?
>=20
> 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

--4Ckj6UjgE2iN1+kY
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBpu7nWry0BWjoQKURAovVAKDv2owqkkCchZsGU16+ENQG3vbVcwCdEUy7
jvia+adD8lB3Fva3bAPo6sM=
=xiP+
-----END PGP SIGNATURE-----

--4Ckj6UjgE2iN1+kY--



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