> i have problems while i am trying to compile svn (0.28.1 tar) on solaris 2.8
>
> gcc -DSOLARIS2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -g -O2 -pthreads
> -DNEON_ZLIB -I./subversion/include -I.
> ...
> Undefined first referenced
> symbol in file
> pthread_mutex_consistent_np /shared/misc/software/sources/subversion-0.28.1/apr/.libs/libapr-0.so
> pthread_mutexattr_setrobust_np /shared/misc/software/sources/subversion-0.28.1/apr/.libs/libapr-0.so
Yes, there is a problem (on at least 2.6 and 8). [Sorry, I
hadn't yet got around to submitting a report.] I was using
GCC 3.3.
Is the problem that the -pthreads flag is supposed to take
care of things but, on Solaris, that fails to put a
-lpthread on the end of the link line? (That's all that is
missing/wrong.)
My workaround was: (a) build neon-0.23.9 separately and use
that, plus (b) do: make all LIBS="-lsocket -lz -lpthread"
Keep up the good work,
Will
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Aug 30 21:20:37 2003