Subject: Re: Unable to build tools using 2.0 sources
To: Patrick Welche <prlw1@newn.cam.ac.uk>
From: None <ipt@scraemon.org>
List: netbsd-help
Date: 12/13/2004 13:19:01
On Sun, Dec 12, 2004 at 04:44:54PM +0000, Patrick Welche wrote:
> On Sat, Dec 11, 2004 at 06:51:34PM -0500, ipt@scraemon.org wrote:
> > I'm trying unsuccessfully to build the toolchain using NetBSD 2.0
> > sources.  I run make cleandir before doing anything else.  I run 
> > './build.sh tools' and copy the error output to a file, tools.log.  
> > The error message is 
> > 
> > #    objdir  /usr/obj/tools.i386
> > ===> MACHINE:          i386
> > ===> MACHINE_ARCH:     i386
> > ===> TOOLDIR path:     /usr/tools
> > ===> DESTDIR path:     /usr/destdir
> > ===> RELEASEDIR path:  /usr/release
> > ===> Created /usr/tools/bin/nbmake
> > ===> makewrapper:      /usr/tools/bin/nbmake-i386
> > ===> Updated /usr/tools/bin/nbmake-i386
> > nbmake: don't know how to make obj-tools. Stop
> 
> The last time I had something like that,
> 
>   cd /usr/src
>   find . -name obj\* -type l > allobjs
>   (take a look at allobjs just in case)
>   rm `cat allobjs`
> 

This worked.  Thanks.  You don't happen to know why this works?  This
removes all obj symlinks.  I'm going to look at why build.sh has
problems when these exist.  
-- 

Ian P. Thomas

Destiny is not a matter of chance, it is a matter of choice. It is not a thing 
to be waited for, it is a thing to be achieved.

	- William Jennings Bryan