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

Problem compiling 1.0.0beta1 on Solaris 9

From: Michael Legart <michael_at_legart.dk>
Date: 2004-02-22 16:12:41 CET

Hi!

Just testing 1.0.0-beta1 on Solaris 9 and get

cd subversion/svnadmin && /bin/bash /root/subversion-1.0.0-beta1/libtool
--silent --mode=link gcc -g -O2 -g -O2 -pthreads -DNEON_ZLIB
-L/usr/local/BerkeleyDB.4.2//lib -L/usr/local/lib -rpath /usr/local/lib
-o svnadmin main.o ../../subversion/libsvn_repos/libsvn_repos-1.la
../../subversion/libsvn_fs/libsvn_fs-1.la
../../subversion/libsvn_delta/libsvn_delta-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la
/root/subversion-1.0.0-beta1/apr-util/libaprutil-0.la -ldb -lexpat
/root/subversion-1.0.0-beta1/apr/libapr-0.la -lsendfile -lrt -lm
-lsocket -lnsl -lresolv -ldl -lsocket
ld: warning: file ../../subversion/libsvn_fs/.libs/libsvn_fs-1.so:
linked to
/root/subversion-1.0.0-beta1/subversion/libsvn_fs/.libs/libsvn_fs-1.so:
attempted multiple inclusion of file
ld: warning: file ../../subversion/libsvn_delta/.libs/libsvn_delta-1.so:
linked to
/root/subversion-1.0.0-beta1/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
/root/subversion-1.0.0-beta1/subversion/libsvn_subr/.libs/libsvn_subr-1.so:
attempted multiple inclusion of file
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.

config.log can be seen at http://charon.tisc.dk/~mil/config.log

Thanks
Michael

---------------------------------------------------------------------
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:20:30 2004

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.