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

Re: Playing with svnmover

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Tue, 24 Mar 2015 23:50:21 +0100

On Thu, Mar 19, 2015 at 12:42 PM, Julian Foad <julianfoad_at_gmail.com> wrote:
> Johan Corveleyn wrote:
>> Another step further, but now I get this (don't really understand why):
>> [[[
>> libsvn_delta.def : error LNK2001: unresolved external symbol
>> svn_editor3__insert_shims
> That function is declared in svn_editor3e.h and never defined nor referenced.
> Rather than debug why it's reported as an unresolved symbol, I have
> removed the declaration in r1667708.
>> libsvn_delta.def : error LNK2001: unresolved external symbol
>> svn_editor3p_res
> svn_editor3p_res() is only ever defined and referenced inside #ifdef
> SVN_EDITOR3_WITH_RESURRECTION ... and that should not be defined. Is
> the problem caused by the MSVC project generator detecting this
> declaration in the header file, even though it's ifdef'd out, and then
> telling MSVC to 'export' it even though it's not defined? If so, for
> now, can you just delete its declaration locally?
> I guess that would also explain svn_editor3__insert_shims().

Yes, that's it. When I delete the declaration of svn_editor3p_res()
from private/svn_editor3p.h locally, I get past that error.

But now I'm running into a new one:

svn_ra-1.lib(ra_loader.obj) : error LNK2019: unresolved external
symbol _svn_delta__get_debug_editor referenced in function
: fatal error LNK1120: 1 unresolved externals

I suppose the problem is that svn_delta_get_debug_editor is being
referenced from libsvn_ra/ra_loader.c, but it is only defined in
debug_editor.h which is private to libsvn_delta. It seems it was
introduced on the move-tracking-2 branch in r1634591.

Received on 2015-03-24 23:51:56 CET

This is an archived mail posted to the Subversion Dev mailing list.