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

link fails against 1.5.5 API on Windows

From: <dpm_collabnet_at_myths.com>
Date: Thu, 22 Jan 2009 18:18:32 -0800 (PST)

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.

Thanks for your time.

Received on 2009-01-23 10:45:46 CET

This is an archived mail posted to the Subversion Dev mailing list.