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

Re: building 0.28.1 svn client on solaris 2.8

From: Will Partain <will.partain_at_verilab.com>
Date: 2003-08-30 20:25:56 CEST

> 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

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.