Subject: Re: Unable to build tools using 2.0 sources
To: None <netbsd-help@netbsd.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: netbsd-help
Date: 12/12/2004 16:44:54
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`

did the trick.. (No doubt you can do it in one with xargs..)

Cheers,

Patrick