You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Patrick Ryan <ti...@pryan.org> on 2005/05/24 00:20:38 UTC
Subversion 1.2.0 Won't Compile
I had this same problem with 1.2.0-rc4 and never resolved it. What's
wrong?
zerg:/usr/local/src# tar -zxf subversion-1.2.0.tar.gz
zerg:/usr/local/src# cd subversion-1.2.0
zerg:/usr/local/src/subversion-1.2.0# sh ./autogen.sh
zerg:/usr/local/src/subversion-1.2.0# ./configure
zerg:/usr/local/src/subversion-1.2.0# make
...
cd subversion/svnversion && /bin/sh /usr/local/src/subversion-1.2.0/libtool --tag=CC --silent --mode=link gcc -g -O2 -g -O2 -pthread -DNEON_ZLIB -rpath /usr/local/lib -o svnversion main.o ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la ../../subversion/libsvn_wc/libsvn_wc-1.la /usr/local/src/subversion-1.2.0/apr-util/libaprutil-0.la -ldb-4.2 -lexpat /usr/local/src/subversion-1.2.0/apr/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl /usr/local/src/subversion-1.2.0/neon/src/libneon.la -L/usr/local/lib -lz -lxml2 -lz -lpthread -lm
main.o(.text+0x3e1): In function `main':
subversion/svnversion/main.c:243: undefined reference to `svn_ra_initialize'
collect2: ld returned 1 exit status
make: *** [subversion/svnversion/svnversion] Error 1
zerg:/usr/local/src/subversion-1.2.0#
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Subversion 1.2.0 Won't Compile
Posted by Ben Collins-Sussman <su...@collab.net>.
On May 23, 2005, at 7:20 PM, Patrick Ryan wrote:
>
> main.o(.text+0x3e1): In function `main':
> subversion/svnversion/main.c:243: undefined reference to
> `svn_ra_initialize'
This is a new symbol in svn 1.2. It means that your linker is
linking to already-installed (older) svn libraries, rather than the
one in the tree. My guess is it's because you have a buggy libtool,
which you picked up by running ./autogen.sh.
Another solution is to just remove (or move aside) the preinstalled
svn libraries.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org