The problem of undefined symbols I reported yesterday (see quote below)
seems to be caused by the presence of the Subversion 1.1.3 version of
libsvn_subr-1.so under /usr/local/lib. This library file does not
contain the svn_error_dup symbol, which was added to libsvn_subr-1.so in
Subversion 1.2.0.
So why does the build include the old library from
/usr/local/lib instead of the new one built by itself under the
subversion-1.2.0-rc4/subversion/libsvn_subr/.libs directory?
Do I have to uninstall Subversion 1.1.3 first before building Subversion
1.2.0? And how can I achieve that? There is no uninstall target for
make.
===========================================
Quote from yesterday (problem description):
When linking the svn executable, I get some undefined symbols referenced
from libsvn_wc-1.so. The first one is svn_error_dup, which is actually
present in libsvn_subr-1.so in the subversion/libsvn_subr/.libs
directory. This library is linked in, as the command line shows (see
below).
Does anyone know what's going wrong here?
cd subversion/clients/cmdline && /bin/ksh
/path/subversion-1.2.0-rc4/libtool --tag=CC --silent --mode=link cc -O2
-L/path/subversion-1.2.0-rc4/apr-util/xml/expat/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 lock-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 unlock-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
/path/subversion-1.2.0-rc4/apr-util/libaprutil-0.la
/path/subversion-1.2.0-rc4/apr-util/xml/expat/lib/libexpat.la
/path/subversion-1.2.0-rc4/apr/libapr-0.la -lsocket -lnsl -lresolv -lc
-ldl /path/subversion-1.2.0-rc4/neon/src/libneon.la -L/usr/local/lib
-lresolv -lsocket -lxnet -L/usr/ccs/lib -lm
Undefined first referenced
symbol in file
svn_error_dup
/path/subversion-1.2.0-rc4/subversion/libsvn_wc/.libs/libsvn_wc-1.so
svn_io_set_file_read_write_carefully
/path/subversion-1.2.0-rc4/subversion/libsvn_wc/.libs/libsvn_wc-1.so
svn_ctype_table
../../../subversion/libsvn_client/.libs/libsvn_client-1.so
svn_opt_args_to_target_array2 add-cmd.o
svn_lock_dup
/path/subversion-1.2.0-rc4/subversion/libsvn_wc/.libs/libsvn_wc-1.so
svn_ra_svn__init
/path/subversion-1.2.0-rc4/subversion/libsvn_ra/.libs/libsvn_ra-1.so
svn_md5_digest_to_cstring_display
/path/subversion-1.2.0-rc4/subversion/libsvn_wc/.libs/libsvn_wc-1.so
svn_ra_dav__init
/path/subversion-1.2.0-rc4/subversion/libsvn_ra/.libs/libsvn_ra-1.so
svn_subst_translate_stream2
../../../subversion/libsvn_client/.libs/libsvn_client-1.so
svn_ver_equal
/path/subversion-1.2.0-rc4/subversion/libsvn_ra/.libs/libsvn_ra-1.so
svn_path_check_valid
../../../subversion/libsvn_client/.libs/libsvn_client-1.so
svn_cstring_count_newlines info-cmd.o
svn_ra_local__init
/path/subversion-1.2.0-rc4/subversion/libsvn_ra/.libs/libsvn_ra-1.so
ld: .libs/svn: fatal error: Symbol referencing errors. No output written
to .libs/svn
make: *** Error code 1
make: Fatal error.
------------------------------------------------------------------------
Servatius Brandt Phone: +49 89 636-41504
Fujitsu Siemens Computers Fax: +49 89 636-48716
EP SW AD C++ Email: Servatius.Brandt@fujitsu-siemens.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 20 11:33:34 2005