Subject: A couple of build.sh problems
To: None <current-users@netbsd.org>
From: Nigel Reed <nigel@nelgin.nu>
List: current-users
Date: 11/02/2001 09:25:58
First of all I get a lot of these errors. Have I missed something somewhere?

nbmake: "/usr/src/share/mk/bsd.depall.mk" line 5: warning: duplicate script for
target "dependall" ignored
nbmake: "/usr/src/share/mk/bsd.own.mk" line 296: warning: using previous script
for "dependall" defined here

Second, something is broken here...again, have I missed a step? I've included
my /etc/mk.conf section at the bottom.

--- mkdep ---
--- dependall-mkfifo ---
/usr/src/tooldir/bin/i386--netbsdelf-gcc   -o mkfifo -nostdlib -Wl,-rpath-link,/
usr/lib /usr/lib/crt0.o /usr/lib/crtbegin.o mkfifo.o  -L/usr/lib -lgcc -lc -lgcc
 /usr/lib/crtend.o
--- dependall-mkdep ---
/usr/src/tooldir/bin/i386--netbsdelf-gcc   -o mkdep -nostdlib -Wl,-rpath-link,/u
sr/lib /usr/lib/crt0.o /usr/lib/crtbegin.o mkdep.o  -L/usr/lib -lgcc -lc -lgcc /
usr/lib/crtend.o
--- dependall-make ---
main.o: In function `main':
main.o(.text+0x1046): undefined reference to `defIncPath'
main.o(.text+0x10aa): undefined reference to `defIncPath'
main.o: In function `ReadMakefile':
main.o(.text+0x1622): undefined reference to `defIncPath'
parse.o: In function `Parse_DoVar':
parse.o(.text+0x125b): undefined reference to `ExportMAKEFLAGS'
collect2: ld returned 1 exit status
*** Error code 1
1 error
--- dependall-mklocale ---
--- dependall-make ---

nbmake: stopped in /usr/src/usr.bin/make
*** Error code 2
1 error

nbmake: stopped in /usr/src/usr.bin/make
*** Error code 2
--- dependall-mklocale ---
dependall ===> usr.bin/mklocale
nbmake: "/usr/src/share/mk/bsd.depall.mk" line 5: warning: duplicate script for
target "dependall" ignored
nbmake: "/usr/src/share/mk/bsd.own.mk" line 296: warning: using previous script
for "dependall" defined here
--- afterdepend ---
--- dependall ---
nbmake: "/usr/src/share/mk/bsd.depall.mk" line 5: warning: duplicate script for
target "dependall" ignored
nbmake: "/usr/src/share/mk/bsd.own.mk" line 296: warning: using previous script
for "dependall" defined here
--- mklocale ---
/usr/src/tooldir/bin/i386--netbsdelf-gcc   -o mklocale -nostdlib -Wl,-rpath-link
,/usr/lib /usr/lib/crt0.o /usr/lib/crtbegin.o yacc.o lex.o  -L/usr/lib -lgcc -lc
 -lgcc /usr/lib/crtend.o
1 error

nbmake: stopped in /usr/src/usr.bin
*** Error code 2

Stop.
nbmake: stopped in /usr/src
*** Error code 1
1 error

nbmake: stopped in /usr/src
*** Error code 2

Stop.
nbmake: stopped in /usr/src
#



.ifndef BSD_PKG_MK
#	Non-package stuff
  MACHINE=i386
  USE_NEW_TOOLCHAIN=yes
  USETOOLS=yes
  TOOLDIR=/usr/src/tooldir
  OBJMACHINE=yes
  MKOBJDIRS=yes
  NOCLEANDIR=yes
  MKTOOLS=yes
  NBUILDJOBS=3
  MKMAN=no