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

RE: Re: Trying to build...

From: Gerasimov, Ivan <Ivan.Gerasimov_at_transas.com>
Date: 2006-03-15 17:42:39 CET

Hello, Joseph.

-----Original Message-----
From: Joseph Galbraith [mailto:galb@vandyke.com]
Sent: ÓÒÅÄÁ, 15 ÍÁÒÔÁ 2006 Ç. 18:21
To: dev@tortoisesvn.tigris.org
Subject: Re: Trying to build...

Stefan Kung wrote:
>> On 3/15/06, Joseph Galbraith <galb@vandyke.com> wrote:
>>> Well, I'm finally trying to get my build environment
>>> set up.
>>>
>>> I'm currently getting the following error:
>>>
>>> [link] Creating library .\release_win32/libapr.lib and object
>>> .\release_win32/libapr.exp
>>> [link] internal.obj : error LNK2019: unresolved external symbol
>>> __imp___realloc_dbg referenced in function _apr_wastrtoastr
>>> [link] start.obj : error LNK2001: unresolved external symbol
>>> __imp___realloc_dbg
>>> [link] internal.obj : error LNK2019: unresolved external symbol
>>> __imp___malloc_dbg referenced in function _apr_wastrtoastr
>>> [link] start.obj : error LNK2001: unresolved external symbol
>>> __imp___malloc_dbg
>>> [link]
>>> E:\Users\Galb\Projects\SVN\TortoiseSVN\ext\apr\release_win32\libapr.dll
>>> : fatal error LNK1120: 2 unresolved externals
>>>
>>> Does anyone have any idea what it is I messed up?
>>
>> Maybe you did a debug build first, but then a release build without
>> the 'clean' param first?
>
>I don't think so... I'm pretty sure that
>after I got the error the first time
>I did a nant clean .
>
>Checking... yes, I just reverified that
>
>nant clean
>nant setup
>
>gives the error.

I tried to build tortoise by myself today and had the same problem.
I could build debug version:
# nant debug Subversion TortoiseSVN setup

Though building release gave me the same error messages when linking apr library.
# nant release Subversion
Or just
# nant Subversion

Another thing I had to do was hacking a bit zlib.
Otherwise, it failed to assemble 'gvmat32.asm' - just couldn't find that file.
I manually copied it from common\zlib\contrib\masmx86 to common\zlib.

After that, debug build run successfully.

Sincerely,
Ivan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Mar 15 17:43:18 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.