Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Jan 1999 00:15:25 +0200
From:      Mark Murray <mark@grondar.za>
To:        Thomas Dean <tomdean@ix.netcom.com>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: make clean problem (was: Perl gv.h Problem) 
Message-ID:  <199901042215.AAA21694@greenpeace.grondar.za>
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> 

next in thread | previous in thread | raw e-mail | index | archive | help
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 <however you do it> # 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901042215.AAA21694>