Subject: building problems
To: None <current-users@netbsd.org>
From: None <wleeson@indigo.ie>
List: current-users
Date: 09/21/2002 21:46:54
Hi All,
Sorry to be asking a dumb question but I am trying to build the current sources (as of yesterday) I have used
sh ./build.sh USETOOLS=yes
but it keeps stopping in the config directory with the following
/usr/src/tools/obj/tools.NetBSD-1.6G-i386/bin/nbyacc -d /usr/src/tools/config/../../usr.sbin/config/gram.y
mv -f y.tab.c gram.c
mv -f y.tab.h gram.h
/usr/src/tools/obj/tools.NetBSD-1.6G-i386/bin/nblex -Pyy -oscan.c /usr/src/tools/config/../../usr.sbin/config/scan.l
/usr/src/tools/obj/tools.NetBSD-1.6G-i386/bin/nbhost-mkdep -a -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. /usr/src/tools/config/../../usr.sbin/config/files.c /usr/src/tools/config/../../usr.sbin/config/hash.c /usr/src/tools/config/../../usr.sbin/config/main.c /usr/src/tools/config/../../usr.sbin/config/mkdevsw.c /usr/src/tools/config/../../usr.sbin/config/mkheaders.c /usr/src/tools/config/../../usr.sbin/config/mkioconf.c /usr/src/tools/config/../../usr.sbin/config/mkmakefile.c /usr/src/tools/config/../../usr.sbin/config/mkswap.c /usr/src/tools/config/../../usr.sbin/config/pack.c /usr/src/tools/config/../../usr.sbin/config/sem.c /usr/src/tools/config/../../usr.sbin/config/util.c gram.c scan.c
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o files.lo.o /usr/src/tools/config/../../usr.sbin/config/files.c
mv files.lo.o files.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o gram.lo.o gram.c
mv gram.lo.o gram.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o hash.lo.o /usr/src/tools/config/../../usr.sbin/config/hash.c
mv hash.lo.o hash.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o main.lo.o /usr/src/tools/config/../../usr.sbin/config/main.c
mv main.lo.o main.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o mkdevsw.lo.o /usr/src/tools/config/../../usr.sbin/config/mkdevsw.c
mv mkdevsw.lo.o mkdevsw.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o mkheaders.lo.o /usr/src/tools/config/../../usr.sbin/config/mkheaders.c
mv mkheaders.lo.o mkheaders.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o mkioconf.lo.o /usr/src/tools/config/../../usr.sbin/config/mkioconf.c
mv mkioconf.lo.o mkioconf.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o mkmakefile.lo.o /usr/src/tools/config/../../usr.sbin/config/mkmakefile.c
mv mkmakefile.lo.o mkmakefile.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o mkswap.lo.o /usr/src/tools/config/../../usr.sbin/config/mkswap.c
mv mkswap.lo.o mkswap.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o pack.lo.o /usr/src/tools/config/../../usr.sbin/config/pack.c
mv pack.lo.o pack.lo
cc -O -DMAKE_BOOTSTRAP -I/usr/src/tools/compat/obj -I/usr/src/tools/compat/obj/include -I/usr/src/tools/config/../compat -DHAVE_CONFIG_H -D_FILE_OFFSET_BITS=64 -I/usr/src/tools/config/../../usr.sbin/config -I. -c -o scan.lo.o scan.c
/usr/src/tools/config/../../usr.sbin/config/scan.l: In function `yylex':
/usr/src/tools/config/../../usr.sbin/config/scan.l:89: `BLOCK' undeclared (first use in this function)
/usr/src/tools/config/../../usr.sbin/config/scan.l:89: (Each undeclared identifier is reported only once
/usr/src/tools/config/../../usr.sbin/config/scan.l:89: for each function it appears in.)
/usr/src/tools/config/../../usr.sbin/config/scan.l:91: `CHAR' undeclared (first use in this function)
/usr/src/tools/config/../../usr.sbin/config/scan.l:103: `DEVICE_MAJOR' undeclared (first use in this function)
/usr/src/tools/config/../../usr.sbin/config/scan.l:118: `NO' undeclared (first use in this function)
/usr/src/tools/config/../../usr.sbin/config/scan.l:150: `QSTRING' undeclared (first use in this function)
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools/config
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools/config
*** Error code 1
Stop.
nbmake: stopped in /usr/src/tools
*** Error code 1
Stop.
nbmake: stopped in /usr/src
*** Error code 1
Stop.
nbmake: stopped in /usr/src
then just stops compiling. What am I doing wrong? I tried to rebuild make, config, lex and yacc according to the UPDATING doc but nothing will compile!!! arghh..
Thanks,
William Leeson