Subject: Re: Unable to build custom ramdisk / floppies
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Daniel Eggert <danieleggert@mac.com>
List: netbsd-help
Date: 09/04/2002 08:40:49
On tirsdag, sep 3, 2002, at 21:15 Europe/Copenhagen, Manuel Bouyer 
wrote:

> On Tue, Sep 03, 2002 at 09:11:42AM +0200, Daniel Eggert wrote:
>> Hi all,
>>
>> I'm still trying to build a custom INSTALL kernel with a md(4) image.
>> I've done this before on 1.5.3, but now I'm running NetBSD 1.6D. I got
>> the source code from CVS a few days ago. When I try to build the
>> floppies I get:
>> 	[pingvin:~] eggert# cd /usr/src/distrib/macppc/floppies/
>> 	[pingvin:distrib/macppc/floppies] eggert# make
>> 	all ===> ramdisk
>> 	/usr/src/tools/tools.NetBSD-1.6D-powerpc/bin/powerpc--netbsd-gcc -Os
>> -mmultiple -mstring  -Wall -Wstrict-prototypes -Wmissing-prototypes
>> -Wpointer-arith -Wno-uninitialized  -Werror  -nostdinc -isystem
>> /usr/include  -c /usr/src/distrib/utils/libhack/getcap.c
>> 	make:
>> exec(/usr/src/tools/tools.NetBSD-1.6D-powerpc/bin/powerpc--netbsd-gcc)
>> failed (No such file or directory)
>> 	*** Error code 1
>> I can't find anything like this dir myself.
>>
>> Should I change the floppies/Makefile? If so, to what?
>
> Either build the toolchain (cd /usr/src; ./build.sh -t; see 
> /usr/src/BUIDLING
> for details) or use 'make USETOOLS=no.

Thanks. Building the toolchain solves the problem.

/Daniel