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

Re: svn 1.7.1 cannot build in multilib system

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 24 Nov 2011 19:13:46 +0000

appzer0 <appzer0_at_free.fr> writes:

> + LDFLAGS='-L/usr/lib -L/lib'

Why?

> libtool: install: (cd /tmp/subversion-1.7.1/subversion/libsvn_delta;
> /bin/sh /tmp/subversion-1.7.1/libtool --tag CC --silent --mode=relink
> gcc -m32 -O2 -march=i686 -pipe -pthread -D_LARGEFILE64_SOURCE -DNE_LFS
> -Werror=implicit-function-declaration -L/usr/lib -L/lib -rpath
> /usr/lib -version-info 0 -Wl,--no-undefined -o libsvn_delta-1.la
> cancel.lo compat.lo compose_delta.lo debug_editor.lo default_editor.lo
> depth_filter_editor.lo editor.lo path_driver.lo svndiff.lo
> text_delta.lo version.lo xdelta.lo
> ../../subversion/libsvn_subr/libsvn_subr-1.la -laprutil-1 -lapr-1 -lz
> -inst-prefix-dir /tmp/build/subversion)
> .libs/path_driver.o: In function `svn_delta_path_driver':
> path_driver.c:(.text+0x259): undefined reference to
> svn_relpath_get_longest_ancestor'
> path_driver.c:(.text+0x310): undefined reference to `svn_relpath_split'
> path_driver.c:(.text+0x597): undefined reference to
> svn_fspath__get_longest_ancestor'
> path_driver.c:(.text+0x5b9): undefined reference to `svn_fspath__split'
> collect2: ld returned 1 exit status
> libtool: install: error: relink `libsvn_delta-1.la' with the above
> command before installing it
> make: *** [install-fsmod-lib] Erreur 1

If you rerun the libtool command with --silent changed to --verbose you
will see the link command.

My guess is that you have an earlier Subversion installed in /usr/lib
and your LDFLAGS cause the relink to use libsvn_subr from there instead
of /tmp/build/subversion/usr/lib.

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2011-11-24 20:14:28 CET

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.