Subject: Re: pthread in NetBSD 3 - failing Apache 2.2.3?
To: John Klos <john@ziaspace.com>
From: Juan RP <juan@xtrarom.org>
List: port-vax
Date: 01/02/2007 22:40:54
On Tuesday 02 January 2007 21:41, John Klos wrote:
> What's the deal with pthread stuff in NetBSD 3?
>
> /bin/sh /usr/pkgsrc/www/apache22/work/httpd-2.2.3/build/libtool --silent
> --mode=link cc -O2 -I/usr/local/include -I/usr/include
> -L/usr/local/lib -Wl,-R/usr/local/lib -L/usr/lib -Wl,-R/usr/lib -o
> htpasswd htpasswd.lo -lm
> /usr/pkgsrc/www/apache22/work/httpd-2.2.3/srclib/pcre/libpcre.la
> /usr/local/lib/libaprutil-1.la -lexpat /usr/local/lib/libapr-1.la -lcrypt
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_attr_destroy'
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_create'
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_attr_init'
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_equal'
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_detach'
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_attr_setstacksize'
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_attr_getdetachstate'
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_attr_setdetachstate'
> /usr/pkgsrc/www/apache22/work/.buildlink/lib/libapr-1.so: undefined
> reference to `pthread_join'
Try making the following changes in devel/apr1/Makefile:
* Set PTHREAD_AUTO_VARS=yes
* Add "../../mk/pthread.buildlink3.mk"
and re{build,install}ing the apr1 package.
--
http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish