Subject: src/usr/sbin/eeprom compilation fails for sparc64
To: None <current-users@netbsd.org>
From: Markus W Kilbinger <mk@kilbi.de>
List: current-users
Date: 01/27/2006 08:59:15
Hi!
Even with cleaning/removing obj dirs a cross 'build.sh -m sparc64 ...'
on a i386 machine fails in src/usr/sbin/eeprom with
# compile eeprom/ophandlers.o
/usr/toolchain-sparc64/bin/sparc64--netbsd-gcc -mcpu=v9 -Wall -Wstrict-prototyp
es -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wer
ror -I/usr/src/usr.sbin/eeprom -nostdinc -isystem /usr/sparc64-dest/usr/inclu
de -c /usr/src/usr.sbin/eeprom/ophandlers.c
# link eeprom/eeprom
/usr/toolchain-sparc64/bin/sparc64--netbsd-gcc -Wl,-nostdlib -o eeprom -Wl,
-rpath-link,/usr/sparc64-dest/lib:/usr/sparc64-dest/usr/lib -L/usr/sparc64-dest
/lib -B/usr/sparc64-dest/usr/lib/ -B/usr/sparc64-dest/usr/lib/ getdate.o main
.o ophandlers.o -L/usr/sparc64-dest/usr/lib -L/usr/sparc64-dest/usr/lib
main.o(.text+0x1f0): In function `main':
: undefined reference to `ee_verifychecksums'
collect2: ld returned 1 exit status
*** Failed target: eeprom
*** Failed command: /usr/toolchain-sparc64/bin/sparc64--netbsd-gcc -Wl,-nostdlib -o eeprom -Wl,-rpath-link,/usr/sparc64-dest/lib:/usr/sparc64-dest/usr/lib -L/usr/sparc64-dest/lib -B/usr/sparc64-dest/usr/lib/ -B/usr/sparc64-dest/usr/lib/ getdate.o main.o ophandlers.o -L/usr/sparc64-dest/usr/lib -L/usr/sparc64-dest/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /usr/src/usr.sbin/eeprom
Anybody else is seeing this?
Markus.