Subject: nbmake: don't know how to make /usr/gcc3/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include/stddef.h.
To: None <tech-toolchain@NetBSD.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-toolchain
Date: 02/11/2005 22:09:33
Two different times I got this same error:
obj ===> regress/usr.bin/rtld/dlerror-cleared
obj ===> regress/usr.bin/sort
do-tools ===> .
dependall ===> tools
echo /home/reed/netbsd/i386/tools > PREVIOUSTOOLDIR
dependall ===> tools/host-mkdep
install ===> tools/host-mkdep
dependall ===> tools/compat
nbmake: don't know how to make
/usr/gcc3/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include/stddef.h. Stop
nbmake: stopped in /home/reed/netbsd/src/tools/compat
*** Failed target: dependall
*** Failed command: cd /home/reed/netbsd/src/tools/compat;
/home/reed/netbsd/i386/tools/bin/nbmake realall
*** Error code 2
This above is after a successful completion of the following on a Linux
host:
HOST_CXX=/usr/gcc3/bin/c++ HOST_CC=/usr/gcc3/bin/cc ./build.sh -D
~/netbsd/i386/build -O ~/netbsd/i386/obj -T ~/netbsd/i386/tools -m i386
-U build
Then I did:
HOST_CXX=/usr/gcc3/bin/c++ HOST_CC=/usr/gcc3/bin/cc ./build.sh -D
~/netbsd/i386/build -O ~/netbsd/i386/obj -T ~/netbsd/i386/tools -m i386
-U -u distribution
and got the error above.
The other time I got same message is when I accidently stopped at hp700
"build" and then restarted it with the -u switch.
The -u worked for me a few times the past few days until I updated on
Friday.
Also, the BUILDING document is unclear. I used -U with "build" and now I
want to install my ready to use sets. It doesn't say I will need
privileges to do chown, etc.
build Build the entire NetBSD system. This orders portions of
the source tree such that prerequisites will be built in
the proper order.
This doesn't say things will be installed in my "destdir" -- I see thet
are.
distribution Do a ``make build'', and then install a full distribution
into DESTDIR, including files in DESTDIR/dev, DESTDIR/etc,
DESTDIR/root and DESTDIR/var.
This doesn't say if things will conflict with the files already in my
destdir (created by "build"). And it doesn't mention if a kernel or
kernels will be built or installed. It does say "full distribution". This
makes me think (if running on a NetBSD/i386 current host) I could chroot
into my destdir of a i386 build and use it.
Please carbon-copy me on replies. Thank you.
Jeremy C. Reed
BSD News, BSD tutorials, BSD links
http://www.bsdnewsletter.com/