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

Diff Project compilation problem

From: Gabriela Gibson <gabriela.gibson_at_gmail.com>
Date: Wed, 09 Jan 2013 16:31:05 +0000

I added a new option to the command structure and the compile error I
get is this:

../../subversion/libsvn_client/.libs/libsvn_client-1.so: undefined
reference to `svn_wc__get_wcroot'
../../subversion/libsvn_client/.libs/libsvn_client-1.so: undefined
reference to `svn_wc_add_from_disk2'

What is going on here? This is totally unexpected! I grepped for the
terms and I cannot even see a connection %-)

I attached a patch of the changes I made and the compile log is at the
bottom of this mail.

I did make clean prior to this, and also make -k, the make here
was just to cut down the spammy list.

thanks for any advice!

-*- mode: compilation; default-directory: "/home/g/trunk/" -*-
Compilation started at Wed Jan 9 15:13:24

make
------ making all in apr
make[1]: Entering directory `/home/g/trunk/apr'
make[2]: Entering directory `/home/g/trunk/apr'
make[2]: Nothing to be done for `local-all'.
make[2]: Leaving directory `/home/g/trunk/apr'
make[1]: Leaving directory `/home/g/trunk/apr'
------ completed all in apr
------ making all in apr-util
make[1]: Entering directory `/home/g/trunk/apr-util'
make[2]: Entering directory `/home/g/trunk/apr-util'
make[2]: Nothing to be done for `local-all'.
make[2]: Leaving directory `/home/g/trunk/apr-util'
make[1]: Leaving directory `/home/g/trunk/apr-util'
------ completed all in apr-util
cd subversion/svnmucc && /bin/bash /home/g/trunk/libtool --tag=CC
--silent --mode=link gcc -g3 -fno-omit-frame-pointer -fno-inline -Wall
-Wmiss\
ing-prototypes -Wstrict-prototypes -Wmissing-declarations -pthread
-DSVN_DEBUG -DAP_DEBUG -rpath /usr/local/lib -o svnmucc svnmucc.lo ../.\
./subversion/libsvn_client/libsvn_client-1.la
../../subversion/libsvn_ra/libsvn_ra-1.la
../../subversion/libsvn_subr/libsvn_subr-1.la ../../subv\
ersion/libsvn_delta/libsvn_delta-1.la -L/home/g/trunk/apr-util
-laprutil-1 -L/home/g/trunk/apr -lapr-1
../../subversion/libsvn_client/.libs/libsvn_client-1.so: undefined
reference to `svn_wc__get_wcroot'
../../subversion/libsvn_client/.libs/libsvn_client-1.so: undefined
reference to `svn_wc_add_from_disk2'
collect2: ld returned 1 exit status
make: *** [subversion/svnmucc/svnmucc] Error 1

Compilation exited abnormally with code 2 at Wed Jan 9 15:13:26

Received on 2013-01-09 17:31:06 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.