From owner-freebsd-stable Mon Nov 5 20:53: 7 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail016.syd.optusnet.com.au (mail016.syd.optusnet.com.au [203.2.75.176]) by hub.freebsd.org (Postfix) with ESMTP id 053F237B417 for ; Mon, 5 Nov 2001 20:53:04 -0800 (PST) Received: from dt.home (c1587.thorn1.nsw.optusnet.com.au [203.164.22.4]) by mail016.syd.optusnet.com.au (8.11.1/8.11.1) with ESMTP id fA64r2203064; Tue, 6 Nov 2001 15:53:02 +1100 Received: (from tonym@localhost) by dt.home (8.11.6/8.11.6) id fA64r1L43689; Tue, 6 Nov 2001 15:53:01 +1100 (EST) (envelope-from tonym) Date: Tue, 6 Nov 2001 15:53:01 +1100 (EST) From: Tony Maher Message-Id: <200111060453.fA64r1L43689@dt.home> To: cjclark@alum.mit.edu Cc: stable@freebsd.org Subject: Re: make buildkernel dies... In-Reply-To: <20011105202604.F745@blossom.cjclark.org> 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 > > I get the same problem. I did > > mv /usr/obj/usr/src/sys/ /usr/obj/usr/src/sys/.old > > and rebuilt. Now make kernel works fine. > > Always, > > # rm -rf /usr/obj/usr > > Before you build(world|kernel) after updating source code. rm -rf /usr/obj/usr can be useful if there are problems but I think always is a bit strong. If it was an absolute requirement then shouldn't the make process do this by default? (and have a flag not to do it for those who really know what they are doing) The handbook notes (refering to rm /usr/obj): "You can speed up the ``make world'' process, and possibly save yourself some dependency headaches by removing this directory as well." But it does not read as an absolute requirement. Should the handbook be changed? And maybe note this requirement in /usr/src/UPDATING? thanks -- tonym To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message