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

Re: svn commit: r12801 - in trunk/subversion: include libsvn_client libsvn_ra libsvn_ra_dav libsvn_ra_local libsvn_ra_svn

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-01-21 02:23:19 CET

lundblad@tigris.org writes:

> Author: lundblad
> Date: Thu Jan 20 15:05:59 2005
> New Revision: 12801
> New RA API.
> If you like reading tons of wrapper functions, if you like API deprecation
> and if you really want to read a somewhat longish commit message, then this
> commit is for you. All others: I warned you.

This change has broken the build on one of my machines. The machine
in question is running a completely standard Debian/testing with

ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.95 2004/04/11 05:50:42) Debian: 220 $

and the build fails with the following error:

cd subversion/clients/cmdline && /bin/sh /home/pm/sw/subversion/obj/libtool --tag=CC --silent --mode=link gcc-3.4 -std=c89 -g -Wall -Wdeclaration-after-statement -Wsign-compare -Wwrite-strings -Wpointer-arith -Wshadow -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Wendif-labels -Wredundant-decls -DSVN_DEBUG -DSVN_DEBUG_ERROR -g -pthread -DNEON_ZLIB -DNEON_SSL -rpath /home/pm/subversion/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 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 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 /home/pm/apache/lib/libaprutil-0.la -ldb -lexpat /home/pm/apache/lib/libapr-0.la -lrt -lm -lcrypt -lnsl -lpthread -ldl -lneon -lssl -lcrypto -lz -lxml2 -lz -lpthread -lm
../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so: undefined reference to `svn_ra_local__init'
../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so: undefined reference to `svn_ra_dav__init'
../../../subversion/libsvn_ra/.libs/libsvn_ra-1.so: undefined reference to `svn_ra_svn__init'
collect2: ld returned 1 exit status
make: *** [subversion/clients/cmdline/svn] Error 1

The build works I if configure with --enable-dso. The build also
works on another machine running a modified Debian/stable with

ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08) Debian: 192 $

If I pass -v through libtool to gcc I see that the link command for
libtool 1.5.2 explicitly includes the libsvn_ra_{local|dav|svn}-1.so
libraries that provide the missing symbols, while the link command for
libtool 1.5.6 only includes libsvn_ra-1.so.

Is this a libtool bug? I don't really understand exactly how libtool
is supposed to work. Is libtool supposed to link dependent libraries

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 21 02:24:50 2005

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.