Subject: building tools fails
To: None <current-users@NetBSD.org>
From: Jukka Salmi <j+nbsd@2004.salmi.ch>
List: current-users
Date: 10/08/2004 16:19:46
Hi,

after updating current sources on a i386 system today building tools fails:

$ ./build.sh -U -O /build/nbsd -T /opt/tools tools
[...]
cc -DIN_GCC -DHAVE_CONFIG_H -O -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -DNETBSD_TOOLS  -I. -I.. -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/fixinc -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/fixinc/..  -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/fixinc/../config -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/fixinc/../../include  -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o  gnu-regex.o fixlib.o
fixincl.o(.text+0x7b): In function `main':
: undefined reference to `_sch_istable'
[...]
fixincl.o(.text+0x1b0): In function `initialize':
: undefined reference to `xmalloc_set_program_name'
fixincl.o(.text+0x214): In function `initialize':
: undefined reference to `xstrerror'
[...]
fixlib.o(.text+0xc9): In function `load_file_data':
: undefined reference to `xrealloc'
  
*** Failed target:  full-stamp
*** Failed command: cc -DIN_GCC -DHAVE_CONFIG_H -O -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -DNETBSD_TOOLS -I. -I.. -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/fixinc -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/fixinc/.. -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/fixinc/../config -I/usr/src/tools/gcc/../../gnu/dist/gcc/gcc/fixinc/../../include -o fixincl fixincl.o fixtests.o fixfixes.o server.o procopen.o gnu-regex.o fixlib.o
*** Error code 1
  
Stop.
nbmake: stopped in /build/nbsd/tools/gcc/build/gcc/fixinc
[...]


Cheers, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~