From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 08:48:29 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1CB716A4CE for ; Fri, 26 Nov 2004 08:48:29 +0000 (GMT) Received: from obsecurity.dyndns.org (CPE0050040655c8-CM00111ae02aac.cpe.net.cable.rogers.com [69.194.102.143]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7771543D54 for ; Fri, 26 Nov 2004 08:48:28 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9DA405119A; Fri, 26 Nov 2004 00:52:55 -0800 (PST) Date: Fri, 26 Nov 2004 00:52:55 -0800 From: Kris Kennaway To: Rob Message-ID: <20041126085255.GA87702@xor.obsecurity.org> References: <001101c4d37d$38b3d9a0$1200a8c0@gsicomp.on.ca> <41A6D558.8070007@yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: <41A6D558.8070007@yahoo.com> User-Agent: Mutt/1.4.2.1i cc: FreeBSD Subject: Re: kernel compile error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Nov 2004 08:48:29 -0000 --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--