Subject: compile graphics/gd failed in NetBSD-1.6.2
To: None <tech-pkg@NetBSD.org>
From: Water NB <netbsd78@126.com>
List: tech-pkg
Date: 12/17/2004 13:55:31
--k+w/mQv8wyuph6w0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
I checkout current pkgsrc from CVS and try to compile graphics/gd.
(
NetBSD Rose.ITI.com 1.6.2_STABLE NetBSD 1.6.2_STABLE (MyBSD) #12: Mon Nov 22 12: 27:39 CST 2004 water@Rose.ITI.com:/usr/src/sys/arch/i386/compile/MyBSD i386
)
It reports:
/bin/sh ./libtool --mode=link cc -O2 -pthread
-I/usr/pkg/include/freetype2 -I/u
sr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,--rpath
-Wl,/usr/pkg/lib -L/
usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread
-L/usr/X11R6/l
ib -o annotate annotate.o ./libgd.la -ljpeg -lfreetype -lpng -lz -lm
cc -O2 -I/usr/pkgsrc/graphics/gd/work/.buildlink/include/freetype2
-I/usr/pkgsrc
/graphics/gd/work/.buildlink/include -Wl,--rpath -Wl,/usr/pkg/lib
-Wl,-R/usr/pkg
/lib -o .libs/annotate annotate.o
-L/usr/pkgsrc/graphics/gd/work/.buildlink/lib
-pthread ./.libs/libgd.so
/usr/pkgsrc/graphics/gd/work/.buildlink/lib/libjpeg.s
o /usr/pkgsrc/graphics/gd/work/.buildlink/lib/libfreetype.so
/usr/pkgsrc/graphic
s/gd/work/.buildlink/lib/libpng.so -lz -lm -Wl,--rpath -Wl,/usr/pkg/lib
-Wl,--rp
ath -Wl,/usr/pkgsrc/graphics/gd/work/.buildlink/lib
gcc: unrecognized option `-pthread'
./.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.
make: stopped in /usr/pkgsrc/graphics/gd/work/gd-2.0.33
*** Error code 1
--k+w/mQv8wyuph6w0
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)
iD8DBQFBwnTTNbX1TGZvxFURAqLhAKDSXQcZMUE4f+ljgAGxVEfNdDsnQwCfTr/c
XAdrUWKMm0Wbwr2bctY9mH4=
=sCMo
-----END PGP SIGNATURE-----
--k+w/mQv8wyuph6w0--