Subject: building toolchain fails
To: None <current-users@netbsd.org>
From: Christoph Egger <Christoph_Egger@gmx.de>
List: current-users
Date: 02/16/2004 11:38:48
Hi!

I have installed NetBSD 1.6.1 on my Sun Ultra1.
I wanna upgrade to NetBSD-current.

After installing the -current sources, first step is to create
a toolchain:

./build.sh tools

This failed:

cc -O -DMAKE_BOOTSTRAP -I/usr/src-current/tools/compat/obj
-I/usr/src-current/tools/compat/obj/include 
-I/usr/src-current/tools/config/../compat
-DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64 -D_NETBSD_SOURCE 
-I/usr/src-current/tools/config/../../usr.sbin/config -I. -c -o scan.lo.o   
scan.c
/usr/src-current/tools/config/../../usr.sbin/config/scan.l: In function
`yylex':
/usr/src-current/tools/config/../../usr.sbin/config/scan.l:151: union has no
member named `num'
/usr/src-current/tools/config/../../usr.sbin/config/scan.l:152: union has no
member named `num'
/usr/src-current/tools/config/../../usr.sbin/config/scan.l:156: union has no
member named `num'
/usr/src-current/tools/config/../../usr.sbin/config/scan.l:157: union has no
member named `num'
/usr/src-current/tools/config/../../usr.sbin/config/scan.l:161: union has no
member named `num'
/usr/src-current/tools/config/../../usr.sbin/config/scan.l:162: union has no
member named `num'
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/tools/config
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/tools/config
*** Error code 1

Stop.
nbmake: stopped in /usr/src-current/tools

ERROR: Failed to make tools
*** BUILD ABORTED ***


I have scan.l revision 1.43. Is this the latest one?

-- 
CU,

Christoph Egger
E-Mail: Christoph_Egger@gmx.de

GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++