Mark Phippard wrote:
> On Mon, Dec 22, 2008 at 11:36 AM, Stefan Kueng <tortoisesvn_at_gmail.com> wrote:
>> 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.
>
> Don't these sort of details typically happen automatically by the
> build system though? Maybe I need to fiddle with my environment
> variables, but I am using the same build script I use for 1.5 which
> sets these correctly.
I think the change which links Crypt32.lib now statically was not merged
to 1.5.x - that's only in trunk.
I think the revision that changed this was r33170, but the build.conf
was also changed. Maybe there's something missing in the Windows build
scripts?
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=989910
Received on 2008-12-22 17:48:39 CET