Subject: build aborts in regress/lib/libpthread/sem
To: None <port-dreamcast@netbsd.org>
From: Christian Groessler <cpg@aladdin.de>
List: port-dreamcast
Date: 02/04/2003 14:27:12
Hi,

I've tried to do a dreamcast cross  build of -current, but it fails in
regress/lib/libpthread/sem:


dependall ===> regress/lib/libpthread
dependall ===> regress/lib/libpthread/sem
CC=/usr/local/tools/bin/shle--netbsdelf-gcc /usr/local/tools/bin/nbmkdep -a  -nostdinc -isystem /local/dcdest/usr/include  /net/swamp/zeug/netbsd-chkout/regress/lib/libpthread/sem/sem.c
rm -f .gdbinit
echo "set solib-absolute-prefix /local/dcdest" > .gdbinit
/usr/local/tools/bin/shle--netbsdelf-gcc -O   -Werror  -nostdinc -isystem /local/dcdest/usr/include  -c /net/swamp/zeug/netbsd-chkout/regress/lib/libpthread/sem/sem.c
/usr/local/tools/bin/shle--netbsdelf-gcc   -o sem -nostdlib  -Wl,-rpath-link,/local/dcdest/lib:/local/dcdest/usr/lib  -L/local/dcdest/lib /local/dcdest/usr/lib/crt0.o /local/dcdest/usr/lib/crti.o /local/dcdest/usr/lib/crtbegin.o sem.o -lpthread -L/local/dcdest/usr/lib  -lgcc -lc -lgcc /local/dcdest/usr/lib/crtend.o /local/dcdest/usr/lib/crtn.o
/usr/local/tools/shle--netbsdelf/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
*** Error code 1

Stop.


regards,
chris