Subject: "build.sh -x release" fails (undef ref to pthread_cond_wait)
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2004.salmi.ch>
List: current-users
Date: 12/12/2004 18:25:42
Hello,
building a release with -x currently fails (at least on i386):
./build.sh -U -O /build/nbsd -T /opt/tools -D /opt/dst -R /opt/rel -x release
[...]
rm -f .gdbinit
echo "set solib-absolute-prefix /opt/dst" > .gdbinit
# compile appres/appres.o
/opt/tools/bin/i386--netbsdelf-gcc -O2 -Werror -DCSRG_BASED -DFUNCPROTO=15 -
DNARROWPROTO -I/opt/dst/usr/X11R6/include -nostdinc -isystem /opt/dst/usr/inclu
de -c /usr/xsrc/xfree/xc/programs/appres/appres.c
# link appres/appres
/opt/tools/bin/i386--netbsdelf-gcc -Wl,-nostdlib -Wl,-rpath-link,/opt/dst/usr/X11R6/lib -R/usr/X11R6/lib -L/opt/dst/usr/X11R6/lib -o appres -Wl,-rpath-link,/opt/dst/lib:/opt/dst/usr/lib -L/opt/dst/lib -B/opt/dst/usr/lib/ -B/opt/dst/usr/lib/ appres.o -lXt -lSM -lICE -lXext -lX11 -L/opt/dst/usr/lib -L/opt/dst/usr/lib
/opt/dst/usr/X11R6/lib/libXt.so: undefined reference to `pthread_cond_wait'
collect2: ld returned 1 exit status
*** Failed target: appres
*** Failed command: /opt/tools/bin/i386--netbsdelf-gcc -Wl,-nostdlib -Wl,-rpath-link,/opt/dst/usr/X11R6/lib -R/usr/X11R6/lib -L/opt/dst/usr/X11R6/lib -o appres -Wl,-rpath-link,/opt/dst/lib:/opt/dst/usr/lib -L/opt/dst/lib -B/opt/dst/usr/lib/ -B/opt/dst/usr/lib/ appres.o -lXt -lSM -lICE -lXext -lX11 -L/opt/dst/usr/lib -L/opt/dst/usr/lib
*** Error code 1
Stop.
nbmake: stopped in /usr/src/x11/bin/appres
[...]
Cheers, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~