You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Stefan Pietsch <st...@eds.com> on 2003/09/01 15:49:45 UTC

Subversion 0.28.1 on Solaris 9

When I try to compile SVN 0.28.1 on Solaris 9 make stops with the
following error:


Undefined                       first referenced
  symbol                             in file
pthread_mutex_consistent_np
/tmp/subversion-0.28.1/apr/.libs/libapr-0.so
pthread_mutexattr_setrobust_np
/tmp/subversion-0.28.1/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



$ ldd -r /tmp/subversion-0.28.1/apr/.libs/libapr-0.so
         libc.so.1 =>     /usr/lib/libc.so.1
         libdl.so.1 =>    /usr/lib/libdl.so.1
         /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
         symbol not found: h_errno
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: __lshrdi3
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: sendto
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: recvfrom
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: sendfilev
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: getsockname
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: getpeername
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: inet_addr
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: getaddrinfo
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: freeaddrinfo
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: getnameinfo
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: getservbyname
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: socket
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: shutdown
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: bind
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: listen
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: accept
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: connect
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: getsockopt
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: setsockopt
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: hstrerror
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: gai_strerror
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: sem_close
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: sem_open
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: sem_unlink
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: sem_wait
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: sem_post
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: pthread_mutexattr_setrobust_np
  (/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)
         symbol not found: pthread_mutex_consistent_np
(/tmp/subversion-0.28.1/apr/.libs/libapr-0.so)


SVN 0.25 compiled fine on Solaris 9.
Did anyone successfully compile SVN 0.28.1 on Solaris 9?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion 0.28.1 on Solaris 9

Posted by Stefan Pietsch <st...@eds.com>.
Michael Süß wrote:
[...]
> 2. run configure as usual, but before running make edit your Makefile and add 
> -lpthread to the LIBS line. This worked for me.
[...]

Modifying the Makefile helped a lot. Now I'm running SVN 0.28.2.  :)

Best regards,
Stefan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion 0.28.1 on Solaris 9

Posted by Michael Süß <mi...@suessnetz.de>.
On Monday 01 September 2003 17:49, Stefan Pietsch wrote:
> When I try to compile SVN 0.28.1 on Solaris 9 make stops with the
> following error:
>
>
> Undefined                       first referenced
>   symbol                             in file
> pthread_mutex_consistent_np
> /tmp/subversion-0.28.1/apr/.libs/libapr-0.so
> pthread_mutexattr_setrobust_np
> /tmp/subversion-0.28.1/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
[snip]

I believe your problem has been discussed lately on the dev-list, see the 
thread starting with:

http://www.contactor.se/~dast/svn/archive-2003-08/1723.shtml

for details. I believe the conclusion was, that there is presently a problem 
with the package managers version of libtool, which will probably be fixed 
soon (at least I hope so, since I was affected by this bug also). There are 
two known workarounds at the moment:

1. run ./autogen.sh yourself (which might not be that easy, since it requires 
some quite specific dependencies)

or:

2. run configure as usual, but before running make edit your Makefile and add 
-lpthread to the LIBS line. This worked for me.

Of course you can also just wait for the next version of subversion, but the 
release manager has not yet responded to this thread, so I am not sure what 
the consensus was or when this will be fixed.

Michael Suess
-- 
"What we do in life, echos in eternity..."
Michael Suess 
Public GPG key: http://www.suessnetz.de/michael/michaelsuess.gpg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Subversion 0.28.1 on Solaris 9

Posted by Jack Repenning <jr...@collab.net>.
At 5:49 PM +0200 9/1/03, Stefan Pietsch wrote:
>When I try to compile SVN 0.28.1 on Solaris 9 make stops with the
>following error:
>
>
>Undefined                       first referenced
>  symbol                             in file
>pthread_mutex_consistent_np
>/tmp/subversion-0.28.1/apr/.libs/libapr-0.so

This appears to be a apr/ compile problem, not so much an SVN one. 
Did you clean and rebuild your apr on your Sol9 box (not simply copy 
it over from a built Sol8)?

-- 
-==-
Jack Repenning
CollabNet, Inc.
8000 Marina Boulevard, Suite 600
Brisbane, California 94005
o: 650.228.2562
c: 408.835-8090

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org