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

Subversion debug-build problem on Win32 with Visual Studio.NET 2003

From: Lieven Govaerts <lgo_at_mobsol.be>
Date: 2005-09-09 18:53:04 CEST


I'm trying to create a Debug build of Subversion in Windows with
Visual Studio.NET 2003, but I fail. The release build works fine.

My environment:
- The subversion source ( 1.2.3 ) is installed in a subversion folder.
- In folder db4-win32 I installed the binary BDB package as available
on the TortoiseSVN download page ( the one that's build with VS.NET )
- In folder zlib I extracted zlib123.zip
- Build scripts were created with this command:
      python gen-make.py -t vcproj --with-zlib=zlib

When I open the solution file ( subversion_vcnet.sln ) VS.NET first converts
them ( I presume 2k2 -> 2k3 format? ).

I normally build the svn project, as I only need the client, that will fail
when linking the libapr project. This is the output:

   Creating library .\Debug/libapr.lib and object .\Debug/libapr.exp
LINK : warning LNK4098: defaultlib 'MSVCRTD' conflicts with use of other
libs; use /NODEFAULTLIB:library
internal.obj : error LNK2019: unresolved external symbol __imp___realloc_dbg
referenced in function _apr_wastrtoastr
start.obj : error LNK2001: unresolved external symbol __imp___realloc_dbg
internal.obj : error LNK2019: unresolved external symbol __imp___malloc_dbg
referenced in function _apr_wastrtoastr
start.obj : error LNK2019: unresolved external symbol __imp___malloc_dbg
referenced in function _apr_app_initialize@12
.\Debug/libapr.dll : fatal error LNK1120: 2 unresolved externals

Like I said, the Release build works fine.

Now I presume this has something to do with VS.NET having a newer version of

msvcrt(d).dll, which is called msvcr71d.dll now, perhaps not backwards

Anyone on this list has some experience with this problem? And even better,

Somewhat related remark, the INSTALL file recommends using BDB version
yet the generated project files include libdb42(d).lib. This seems



No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.19/93 - Release Date: 8/09/2005
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 9 18:56:05 2005

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