[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: undefined reference to `pthread_mutexattr_init' in apr?

From: Branko Èibej <brane_at_xbc.nu>
Date: 2000-10-27 12:53:36 CEST

B. W. Fitzpatrick wrote:

> OK. I had this building just fine last week. I updated apr today and
> my build is erroring out. My system is Debian potato x86
>
> Just to make sure, here's what I did:
>
> $ cvs -d :pserver:fitz@cvs.tigris.org:/cvs co subversion
> $ cd subversion/
> $ cvs -d :pserver:anoncvs@www.apache.org:/home/cvspublic checkout -d apr apache-2.0/src/lib/apr
> $ tar xfvz ~/tarballs/neon.tgz
> $ mv neon-0.7.5 neon
> $ ./autogen.sh
> $ ./configure --with-maintainer-mode --disable-shared
> $ make
>
> and BOOM!

I ran into a similar problem when building on AIX: for some reason, the
threading flags weren't exported to APRVARS. I've no idea why that is,
must be something wrong with my patch.

Just `./config.nice', and check that apr/APRVARS defines "-pthread" in
EXTRA_CFLAGS. Worked for me.

-- 
Brane �ibej
    home:   <brane_at_xbc.nu>           http://www.xbc.nu/brane/
     ACM:   <brane_at_acm.org>          http://www.acm.org/
Received on Sat Oct 21 14:36:12 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.