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

Re: link fails against 1.5.5 API on Windows

From: Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA_at_GMail.Com>
Date: Sat, 24 Jan 2009 01:33:01 +0100

2009-01-23 03:18:32 dpm_collabnet_at_myths.com napisaƂ(a):
> I want to build a tool to walk a repository so I wrote a little C program calling APR_ and SVN_ functions in the API. It compiles but fails to link; it cannot find the APR_ modules. I suspect this is because the file in the "bin" directory in svn-win32-1.5.5.zip is named "libapr-1.dll" but the "libapr.lib" file in svn-win32-1.5.5_dev.zip is linked against "libapr.dll" (as shown by DUMPBIN), and the difference in names is causing the failure. When I
>
> rename libapr-1.dll libapr.dll
>
> it links, but running crashes immediately with a bad offset. My analysis can't be correct, because it would have been found as soon as it was released . . . can anyone see what I'm doing wrong? I can include/attach whatever you think would be useful.

This list is for discussion about development of Subversion.
Please send your questions to users_at_subversion.tigris.org.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2009-01-24 01:35:52 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.