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

Re: Problem building trunk on Windows

From: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Mon, 22 Dec 2008 17:36:04 +0100

Mark Phippard wrote:
> I've not built trunk on Windows in a long time, since before SQLite
> dependency was added. I decided to get my build environment updated
> so I will be ready to sign 1.6 release candidates. I am using MSVC 6
> on XP.
>
> When I attempt to build, I get these errors:
>
> Linking...
> .\libsvn_subr.def : warning LNK4087: CONSTANT keyword is obsolete; use DATA

that's only a warning. You can ignore it (better would be to solve the
warning).

> Creating library ..\..\..\Release\subversion\libsvn_subr/libsvn_subr-1.lib an
> d object ..\..\..\Release\subversion\libsvn_subr/libsvn_subr-1.exp
> svn_subr-1.lib(win32_crypto.obj) : error LNK2001: unresolved external symbol __i
> mp__CryptUnprotectData_at_28
> svn_subr-1.lib(win32_crypto.obj) : error LNK2001: unresolved external symbol __i
> mp__CryptProtectData_at_28
> svn_subr-1.lib(win32_crypto.obj) : error LNK2001: unresolved external symbol __i
> mp__CertFreeCertificateChain_at_4
> svn_subr-1.lib(win32_crypto.obj) : error LNK2001: unresolved external symbol __i
> mp__CertGetCertificateChain_at_32
> ..\..\..\Release\subversion\libsvn_subr\libsvn_subr-1.dll : fatal error LNK1120:
> 4 unresolved externals
> Error executing link.exe.
>
> Any ideas? It looks like it is expecting some windows symbols I do not have?

You need to link Crypt32.lib.

If I remember correctly, there was a change which now links statically
against Crypt32.lib instead of dynamically, because it was decided to
not support OS versions prior to Win2k anymore - and Crypt32.lib is only
available for >= Win2k, so it can now be linked statically.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=989899

Received on 2008-12-22 17:36:37 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.