Date: Sat, 10 Nov 2001 21:44:38 -0800 From: "Crist J. Clark" <cristjc@earthlink.net> To: Greg Prosser <greg@straynet.com> Cc: freebsd-stable@FreeBSD.ORG Subject: Re: -STABLE buildkernel broke! (linux module) Message-ID: <20011110214438.D69195@blossom.cjclark.org> In-Reply-To: <20011110084302.Q15665-100000@voyager.straynet.com>; from greg@straynet.com on Sat, Nov 10, 2001 at 08:45:14AM -0500 References: <20011110001614.B51003@blossom.cjclark.org> <20011110084302.Q15665-100000@voyager.straynet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011110214438.D69195>
