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

Re: Diff Project compilation problem

From: Stefan Sperling <stsp_at_apache.org>
Date: Wed, 9 Jan 2013 17:38:53 +0100

On Wed, Jan 09, 2013 at 04:31:05PM +0000, Gabriela Gibson wrote:
> 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?

I believe you're running into the problem where you've got some
released version of Subversion installed on your system, and
libtool is wrongly trying to link to the libsvn_wc from that
version, instead of linking to the proepr libsvn_wc which was
compiled in your working copy of Subversion trunk code.

So, this is not a problem with your patch. Rather, it is a problem
with how the build system interacts with existing software on your
system. It's a long-standing and annoying issue with libtool, where
it generates linker flags in the wrong order, causing the linker to
pick up Subversion libraries from the wrong directory.

It can be tricky to resolve such issues. The easiest option might
be to uninstall the other Subversion version, but that's not always
an option.

What operating system are you trying to compile on? Perhaps someone
who is using the same operating system can help you.
Received on 2013-01-09 17:39:31 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.