Subject: Re: pthread and gd?
To: John Klos <john@klos.com>
From: Juan RP <juan@xtraeme.nopcode.org>
List: tech-pkg
Date: 11/29/2004 17:50:21
--Signature=_Mon__29_Nov_2004_17_50_21_+0100_Tlv75rrV0uzMW81E
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
On Mon, 29 Nov 2004 11:42:22 -0500 (EST)
John Klos <john@klos.com> wrote:
> 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
This package should use PTHREAD_AUTO_VARS=yes.
--Signature=_Mon__29_Nov_2004_17_50_21_+0100_Tlv75rrV0uzMW81E
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iD8DBQFBq1NNypkLYVDran0RAollAJ4qeaH+82r8wt0py1r7zCkbdLuM2ACeMIr5
moI+9gf37l21wWRHTIfwaQ4=
=gJvk
-----END PGP SIGNATURE-----
--Signature=_Mon__29_Nov_2004_17_50_21_+0100_Tlv75rrV0uzMW81E--