From owner-freebsd-questions@FreeBSD.ORG Fri Nov 26 07:03:56 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 4A22116A4CE for ; Fri, 26 Nov 2004 07:03:56 +0000 (GMT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9FE343D5C for ; Fri, 26 Nov 2004 07:03:55 +0000 (GMT) (envelope-from spamrefuse@yahoo.com) Received: from [147.46.44.181] (spamrefuse@yahoo.com) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004112616:03:41:583028.29903.2535263152 for ; Fri, 26 Nov 2004 16:03:41 +0900 (KST) Message-ID: <41A6D558.8070007@yahoo.com> Date: Fri, 26 Nov 2004 16:03:52 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.3) Gecko/20041113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: FreeBSD References: <001101c4d37d$38b3d9a0$1200a8c0@gsicomp.on.ca> In-Reply-To: <001101c4d37d$38b3d9a0$1200a8c0@gsicomp.on.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:2.74) (by Terrace) 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 07:03:56 -0000 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.