Subject: Re: build problem
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: current-users
Date: 04/13/2005 14:51:27
Jukka Salmi --> current-users (2005-04-13 11:10:20 +0200):
> I'm trying to build a distribution with various MK* settings turned off.
> It fails in lib/libc with
>
> nbmake: don't know how to make /opt/dst/i386.embed/usr/lib/crtbeginS.o. Stop
>
> nbmake: stopped in /usr/src/lib/libc
>
> *** Failed target: dependall
> *** Failed command: cd /usr/src/lib/libc; /opt/tools/i386/bin/nbmake realall
> *** Error code 2
>
>
> The settings I use:
>
> MKBINUTILS = no
> MKBFD = no
> MKCVS = no
> MKGCC = no
> MKGCCCMDS = no
> MKGDB = no
> MKHESIOD = no
> MKINET6 = no
> MKKERBEROS4 = no
> MKPAM = no
> MKPF = no
> MKPOSTFIX = no
> MKPROFILE = no
> MKSENDMAIL = no
> MKSHARE = no
> MKSKEY = no
> MKUUCP = no
> MKYP = no
Commenting out MKGCC and MKGCCCMDS worked around the problem. But now,
building fails with
# install /opt/dst/i386.embed/usr/lib/libfl.a
STRIP=/opt/tools/i386/bin/i386--netbsdelf-strip /opt/tools/i386/bin/nbinstall -U -M /opt/dst/i386.embed/METALOG -D /opt/dst/i386.embed -h sha1 -N /usr/src/etc -l h -r /opt/dst/i386.embed/usr/lib/libl.a /opt/dst/i386.embed/usr/lib/libfl.anbinstall: link /opt/dst/i386.embed/usr/lib/libl.a -> /opt/dst/i386.embed/usr/lib/libfl.a: No such file or directory
*** Failed target: linksinstall
*** Failed command: (set /usr/lib/libl.a /usr/lib/libfl.a; while test $# -ge 2; do l=/opt/dst/i386.embed$1; shift; t=/opt/dst/i386.embed$1; shift; if ldevino=`/opt/tools/i386/bin/nbstat -qf '%d %i' $l` && tdevino=`/opt/tools/i386/bin/nbstat -qf '%d %i' $t` && [ "$ldevino" = "$tdevino" ]; then continue ; fi ; echo '# ' "install " $t; echo STRIP=/opt/tools/i386/bin/i386--netbsdelf-strip /opt/tools/i386/bin/nbinstall -U -M /opt/dst/i386.embed/METALOG -D /opt/dst/i386.embed -h sha1 -N /usr/src/etc -l h -r $l $t; STRIP=/opt/tools/i386/bin/i386--netbsdelf-strip /opt/tools/i386/bin/nbinstall -U -M /opt/dst/i386.embed/METALOG -D /opt/dst/i386.embed -h sha1 -N /usr/src/etc -l h -r $l $t; done ; )
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libl
Hmm, which options needs to be commented out now?
TIA, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~