Michael Legart <michael@legart.dk> writes:
> Undefined first referenced
> symbol in file
> pthread_mutexattr_setrobust_np
> /root/subversion-1.0.0-beta1/apr/.libs/libapr-0.so
> pthread_mutex_consistent_np
> /root/subversion-1.0.0-beta1/apr/.libs/libapr-0.so
> ld: fatal: Symbol referencing errors. No output written to .libs/svnadmin
> collect2: ld returned 1 exit status
> make: *** [subversion/svnadmin/svnadmin] Error 1
>
> when compiling. If I edit Makefile and change
> LIBS = -lsocket
> to
> LIBS = -lsocket -lpthread
> it works.
This has been reported before. It has been suggested that the
libtool/autoconf used to create the tarball don't properly support
Solaris, and that running autogen.sh will fix the problem. It has
also been suggested that using gcc built on an earlier version of
Solaris will also cause the problem. The threads that report these
problems tend to die off without reaching firm conclusions, which
means that the problem keeps recurring :-(
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 23 01:57:51 2004