From owner-freebsd-current Mon Jan 4 14:16:03 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA12907 for freebsd-current-outgoing; Mon, 4 Jan 1999 14:16:03 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from gratis.grondar.za (gratis.grondar.za [196.7.18.65]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA12863 for ; Mon, 4 Jan 1999 14:15:58 -0800 (PST) (envelope-from mark@grondar.za) Received: from greenpeace.grondar.za (greenpeace.grondar.za [196.7.18.132]) by gratis.grondar.za (8.9.1/8.9.1) with ESMTP id AAA05176; Tue, 5 Jan 1999 00:15:27 +0200 (SAST) (envelope-from mark@grondar.za) Received: from grondar.za (localhost [127.0.0.1]) by greenpeace.grondar.za (8.9.1/8.9.1) with ESMTP id AAA21694; Tue, 5 Jan 1999 00:15:26 +0200 (SAST) (envelope-from mark@grondar.za) Message-Id: <199901042215.AAA21694@greenpeace.grondar.za> To: Thomas Dean cc: freebsd-current@FreeBSD.ORG Subject: Re: make clean problem (was: Perl gv.h Problem) In-Reply-To: Your message of " Mon, 04 Jan 1999 12:51:24 PST." <199901042051.MAA17167@ix.netcom.com> References: <199901042051.MAA17167@ix.netcom.com> Date: Tue, 05 Jan 1999 00:15:25 +0200 From: Mark Murray Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please follow my procedure. I'll explain why as we go along. Thomas Dean wrote: > > Do this: > > > > # cd /usr/obj > > # chflags -R 0 . > > Most of the files in /usr/obj/... do not have flags set. I did not > check all, just the ones make said it removed. I know. This is necessary for the next step. > > # rm -rf * > > I know how to delete the obj tree. However, 'make clean' should do it. > It looks like the make files do not have the directory structure correct. I know. I am getting anally correct here, as you have a problem I do not. "Make clean" has some limitations. > > # cd /usr/src > > # make cleandir; make cleandir > > If the first 'make cleandir' doesn't do it, the second one will not do > better. Crap. The first one cleans out the obj/ structure, the second one, not finding the obj/ dir cleans out the current directory. The rm -rf * above helps to force the issue. I do not know what symlinks you may have, so I am being conservative. > > # cvsup # MAKE 100% SURE YOUR SUPFILE IS CORRECT!! > > # make aout-to-elf-buildworld > > As I said earlier, I am running an elf kernel and elf binaries. I > just want to report a suspected problem with the make structure. I think there is no such problem, I think you have turds in your source tree. M -- Mark Murray Join the anti-SPAM movement: http://www.cauce.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message