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