From owner-freebsd-stable Sat Nov 10 21:45: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from albatross.prod.itd.earthlink.net (albatross.mail.pas.earthlink.net [207.217.120.120]) by hub.freebsd.org (Postfix) with ESMTP id D887637B419 for ; Sat, 10 Nov 2001 21:45:03 -0800 (PST) Received: from dialup-209.247.136.102.dial1.sanjose1.level3.net ([209.247.136.102] helo=blossom.cjclark.org) by albatross.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 162nQU-0007Ap-00; Sat, 10 Nov 2001 21:45:03 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fAB5ic069596; Sat, 10 Nov 2001 21:44:38 -0800 (PST) (envelope-from cjc) Date: Sat, 10 Nov 2001 21:44:38 -0800 From: "Crist J. Clark" To: Greg Prosser Cc: freebsd-stable@FreeBSD.ORG Subject: Re: -STABLE buildkernel broke! (linux module) Message-ID: <20011110214438.D69195@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <20011110001614.B51003@blossom.cjclark.org> <20011110084302.Q15665-100000@voyager.straynet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011110084302.Q15665-100000@voyager.straynet.com>; from greg@straynet.com on Sat, Nov 10, 2001 at 08:45:14AM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Nov 10, 2001 at 08:45:14AM -0500, Greg Prosser wrote: > on Sat, 10 Nov 2001, Crist J. Clark babbled .. > > ;; On Sat, Nov 10, 2001 at 04:43:51PM +0900, HIRATA Yasuyuki wrote: > ;; > > ;; > > I get as far as compiling the kernel, and all is fine until it starts to > ;; > > build my modules for me (linux.ko, in fact). Attached you'll find the > ;; > > output of what is spit at me. > ;; > > ;; > I also had the same trouble. In my case, it was avoidable by deleting > ;; > /usr/src/sys/compile/MOMO directory and redoing from "config MOMO". I > ;; > do not understand the reason. :-) > ;; > ;; Stale dependencies. Doing a 'rm -rf /usr/obj/sys/KERNEL' or 'rm -rf > ;; /usr/src/sys/compile/KERNEL' as the case may be, when you have updated > ;; souce code is always a good idea. > > Makes sense. Explains why it didn't work until I config -r'd. > > Either way then, why doesn't buildkernel do this? I typically use the > buildkernel target from /usr/src to build my kernel, for simplicities > sake, and that appears broken. Shouldn't it do a clean? (Like doing a > buildworld cleans /usr/obj) It does do a clean, but the clean does not always catch everything. If you want to track down the specific problem, feel free to submit a PR so the 'make clean' for that portion of the build can be fixed. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message