Subject: pthread and gd?
To: None <tech-pkg@netbsd.org>
From: John Klos <john@klos.com>
List: tech-pkg
Date: 11/29/2004 11:42:22
Hi,

Compiling graphics/gd on NetBSD 2.0 (tried both m68k and ppc) gives me this:

gcc -O2 -m68060 -I/usr/pkgsrc/graphics/gd/work/.buildlink/include/freetype2 -I/usr/pkgsrc/graphics/gd/work/.buildlink/include -Wl,--rpath -Wl,/usr/local/lib -Wl,-R/usr/local/lib -o .libs/annotate annotate.o  -L/usr/pkgsrc/graphics/gd/work/.buildlink/lib ./.libs/libgd.so /usr/pkgsrc/graphics/gd/work/.buildlink/lib/libjpeg.so /usr/pkgsrc/graphics/gd/work/.buildlink/lib/libfreetype.so /usr/pkgsrc/graphics/gd/work/.buildlink/lib/libpng.so -lz -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/pkgsrc/graphics/gd/work/.buildlink/lib
./.libs/libgd.so: undefined reference to `pthread_mutex_unlock'
./.libs/libgd.so: undefined reference to `pthread_mutex_destroy'
./.libs/libgd.so: undefined reference to `pthread_mutex_lock'
./.libs/libgd.so: undefined reference to `pthread_mutex_init'
*** Error code 1

Stop.

Ideas?

Thanks,
John Klos