Subject: Re: how to build?
To: K. Richard Pixley <K.Richard.Pixley@nominum.com>
From: K. Richard Pixley <rpixley@nominum.com>
List: netbsd-help
Date: 08/14/2003 12:37:36
Guessing and doing "mkdir /usr/obj" by hand, I then get a different error.
At this point, after three errors, one core dump, and one missing rule
"don't know how to make", I conclude that I must be using the wrong
instructions.
Pointers? Suggestions?
--rich
cc -O -D_PATH_BSHELL="/bin/sh" -D_PATH_DEFSHELLDIR="/bin"
-DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1
-DHAVE_VSNPRINTF=1 -DMAKE_BOOTSTRAP
-I/usr/src/tools/make/../../usr.bin/make -c
/usr/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
cc -O -o nbmake *.o
/usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/nbstat: not found
/usr/src/tools/obj.i386 -> /usr/obj/tools.i386
===> MACHINE: i386
===> MACHINE_ARCH: i386
===> TOOLDIR path: /usr/src/obj/tooldir.NetBSD-1.6W-i386
===> DESTDIR path: /usr/src/obj/destdir.i386
===> RELEASEDIR path: /usr/src/obj/releasedir
===> Created /usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/nbmake
===> makewrapper: /usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/nbmake-i386
===> Updated /usr/src/obj/tooldir.NetBSD-1.6W-i386/bin/nbmake-i386
nbmake: don't know how to make obj-tools. Stop
nbmake: stopped in /usr/src
ERROR: Failed to make obj-tools
*** BUILD ABORTED ***
real 0m10.355s
user 0m1.979s
sys 0m9.342s
K. Richard Pixley wrote:
> If I "make cleandir -k" and just hope for the best, the next step fails
> too.
>
> --rich
>
> cc -O -D_PATH_BSHELL="/bin/sh" -D_PATH_DEFSHELLDIR="/bin"
> -DHAVE_SETENV=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRFTIME=1
> -DHAVE_VSNPRINTF=1 -DMAKE_BOOTSTRAP
> -I/usr/src/tools/make/../../usr.bin/make -c
> /usr/src/tools/make/../../usr.bin/make/lst.lib/lstSucc.c
> cc -O -o nbmake *.o
> BSDOBJDIR /usr/obj does not exist, bailing...
> *** Error code 1
>
> Stop.
> nbmake: stopped in /usr/src/tools
>
> ERROR: Failed to make obj in tools
> *** BUILD ABORTED ***
>
> real 0m9.112s
> user 0m1.189s
> sys 0m8.206s
>
>
> K. Richard Pixley wrote:
>
>> cleandir ===> usr.bin/vgrind
>> make: Unclosed variable specification for CC
>> Segmentation fault - core dumped
>> *** Error code 139
>>
>> Stop.
>> make: stopped in /usr/src/usr.bin
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/src
>>
>> real 1m14.878s
>> user 0m14.649s
>> sys 1m8.287s
>>
>>
>> K. Richard Pixley wrote:
>>
>>> On a freshly updated tree, "make cleandir" fails.
>>>
>>> --rich
>>>
>>> Aaron Malone wrote:
>>>
>>>> On Thursday 14 August 2003 14:09, K. Richard Pixley wrote:
>>>>
>>>>> Is there any documentation on the build process that matches either
>>>>> what's currently available or what's intended?
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> I built a -current system the other day, using the instructions here:
>>>> http://www.netbsd.org/Documentation/current/#updating
>>>> BUT, I also did a couple of 'make cleandir's beforehand, having had
>>>> leftover files break the build before.