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

undefined reference error with subversion 1.7.3

From: Ravish Nayak S. R. <ravish_nayak2003_at_yahoo.co.in>
Date: Sun, 4 Mar 2012 01:48:54 +0800 (SGT)

> In which directories did you look?  Those symbols are present in 1.4 so
> you are looking for Subversion 1.3 or earlier.

I am trying with subversion version 1.7.3

> Are you building from a tarball?  Are you using the libtool that came
> with the tarball or did you run autogen.sh?  Do you have any special
> settings such as LD_LIBRARY_PATH or ld.so.conf?  What configure command
> did you use?  What is the exact link command that is failing?

Yes I am building from a source tarball.

Yes it is using libtool that came with tarball,

ex:-
source_path/apache/subversion/1.7.3/rhe4-x86_64/libtool --tag=CC --mode=compile....................

 and no autogen.sh script I am using..

Explicitly no LD_LIBRARY_PATH or ld.so.conf setting from my side.

configure options are:-

 PERL=customized_path/bin/perl \
  PYTHON=customized_path/bin/python \
  GCC=customized_path/bin/gcc \
  INSTALL=customized_path_coreutil/bin/install \
  --without-apxs \
  --with-apr=customized_path \
  --with-apr-util=customized_path \
  --with-serf=customized_path \
  --with-neon=customized_path \
  --with-ssl \
  --with-swig=customized_path \
  --with-sqlite=customized_path

--enable-javahl \
      --enable-disallowing-of-undefined-references=yes \
      --with-jdk=customized_path \
      --with-jikes=customized_path

After executing below command I got undefined reference error....

bin/gcc -L/source_path/apache/subversion/1.7.3/rhe4-x86_64/subversion/libsvn_client/.libs -L/source_path/apache/subversion/1.7.3/rhe4-x86_64/subversion/libsvn_subr/.libs -L/destination_path/apache/subversion/1.7.3/rhe4-x86_64/lib -L/customized_path/apache/apr/1.4.2/rhe4-x86_64/lib -L/customized_path/apache/apr-util-with-sqlite-3.7.2/1.3.9/rhe4-x86_64/lib -L/customized_path/openssl/openssl/1.0.0/rhe4-x86_64/lib -Wl,-rpath,/customized_path/apache/subversion/1.7.3/rhe4-x86_64/lib,-rpath,/customized_path/apache/apr/1.4.2/rhe4-x86_64/lib,-rpath,/customized_path/apache/apr-util-with-sqlite-3.7.2/1.3.9/rhe4-x86_64/lib,-rpath,/customized_path/openssl/openssl/1.0.0/rhe4-x86_64/lib -L/source_path/apache/subversion/1.7.3/rhe4-x86_64/subversion/libsvn_ra/.libs -lapr-1 -lsvn_client-1 -lsvn_subr-1 -lsvn_ra-1 -o svnmucc svnmucc.o

 Error is :-

source_path/apache/subversion/1.7.3/rhe4-x86_64/subversion/libsvn_repos/.libs/libsvn_repos-1.so.0: undefined reference to `svn_txdelta_to_svndiff2'
source_path/apache/subversion/1.7.3/rhe4-x86_64/subversion/libsvn_ra/.libs/libsvn_ra-1.so: undefined reference to `svn_compat_wrap_file_rev_handler'

Where as for rhe5-x86_64 platforms it works fine, no issue..

Regards,
Ravish
Received on 2012-03-03 18:49:37 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.