I had the same problem building for Solaris 9 using gcc.
There have been other posts to the list about Solaris problems for
svn-1.0.0.
From those I deduced that running the subsversion ./configure per the
following command would work:
LDFLAGS=-lpthread ./configure ...
It seems to have worked.
On 4 Mar 2004, at 08:23, modem@aboutlindh.net wrote:
> Hello List.
>
> Im trying to compile subversion subversion-1.0.0 but the build fails.
> after a short while.
>
> My configure was a ./configure without any args. It tells me that i
> will only build
> the client which is ok by me.
>
> After a short while the build stops
>
> cd subversion/clients/cmdline && /bin/bash
> /tmp/subversion-1.0.0/libtool --silent --mode=link gcc -g -O2 -g -O2
> -pthreads -DNEON_ZLIB -L/usr/local/lib -rpath /usr/local/lib -o svn
> add-cmd.o blame-cmd.o cat-cmd.o checkout-cmd.o cleanup-cmd.o
> commit-cmd.o copy-cmd.o delete-cmd.o diff-cmd.o export-cmd.o
> help-cmd.o import-cmd.o info-cmd.o log-cmd.o ls-cmd.o main.o
> merge-cmd.o mkdir-cmd.o move-cmd.o notify.o prompt.o propdel-cmd.o
> propedit-cmd.o propget-cmd.o proplist-cmd.o props.o propset-cmd.o
> resolved-cmd.o revert-cmd.o status-cmd.o status.o switch-cmd.o
> update-cmd.o util.o
> ../../../subversion/libsvn_client/libsvn_client-1.la
> ../../../subversion/libsvn_wc/libsvn_wc-1.la
> ../../../subversion/libsvn_ra/libsvn_ra-1.la
> ../../../subversion/libsvn_delta/libsvn_delta-1.la
> ../../../subversion/libsvn_subr/libsvn_subr-1.la
> /tmp/subversion-1.0.0/apr-util/libaprutil-0.la -lexpat -liconv
> /tmp/subversion-1.0.0/apr/libapr-0.la -lsendfile -lrt -lm -lsocket
> -lnsl -lresolv -ldl /tmp/subversion-1.0.0/neon/src/libneon.la
> -L/usr/local/lib -lnsl -lsocket -lz -lexpat -lsocket
> ld: warning: file ../../../subversion/libsvn_wc/.libs/libsvn_wc-1.so:
> linked to
> /tmp/subversion-1.0.0/subversion/libsvn_wc/.libs/libsvn_wc-1.so:
> attempted multiple inclusion of file
> ld: warning: file ../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so:
> linked to
> /tmp/subversion-1.0.0/subversion/libsvn_ra/.libs/libsvn_ra-1.so:
> attempted multiple inclusion of file
> ld: warning: file
> ../../../subversion/libsvn_delta/.libs/libsvn_delta-1.so: linked to
> /tmp/subversion-1.0.0/subversion/libsvn_delta/.libs/libsvn_delta-1.so:
> attempted multiple inclusion of file
> ld: warning: file
> ../../../subversion/libsvn_subr/.libs/libsvn_subr-1.so: linked to
> /tmp/subversion-1.0.0/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
> attempted multiple inclusion of file
> Undefined first referenced
> symbol in file
> pthread_mutexattr_setrobust_np
> /tmp/subversion-1.0.0/apr/.libs/libapr-0.so
> pthread_mutex_consistent_np
> /tmp/subversion-1.0.0/apr/.libs/libapr-0.so
> ld: fatal: Symbol referencing errors. No output written to .libs/svn
> collect2: ld returned 1 exit status
> make: *** [subversion/clients/cmdline/svn] Error 1
>
> Anybody have an idea? Or maybe a prebuilt pkg for solaris 8 on sparc :)
>
> Thanks
> Daniel
>
>
> --
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 4 13:32:53 2004