[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: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: Mon, 22 Dec 2008 09:07:59 -0800

Hi,

On Mon, Dec 22, 2008 at 8:49 AM, Mark Phippard <mphippard_at_collab.net> wrote:
> On Mon, Dec 22, 2008 at 11:47 AM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
>> 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?
>
>
> I wonder if gen-make.py was changed to only set this for the VS
> 2005/2008 build files and not MSVC 6?
>

Sorry I can't be of more help, but "It works on my machine."

Windows XP SP2
VC6
Microsoft SDK 2003 Feb

--
Joe
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=989924
Received on 2008-12-22 18:08:19 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.