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

Re: Linker errors on MSVC9

From: D.J. Heap <djheap_at_gmail.com>
Date: Thu, 4 Dec 2008 12:53:47 -0700

On Wed, Dec 3, 2008 at 10:53 PM, void pointer <rcdailey_at_gmail.com> wrote:
> Hi,
>
> When I'm compiling the subversion API, I get the following linker errors:
>
> svn_ra-1.lib(ra_loader.obj) : error LNK2001: unresolved external symbol
> _svn_ra_serf_init
[snip]
>
> What library can these symbols be found in and where can I find the
> precompiled binary for it for Windows? Thanks.
>

You are building a program that uses the Subversion API's, correct?

I don't know why those API's are missing from the libraries and I'll
look at it when I can (I suspect they aren't being exported correctly
or something), but is there a specific reason you want to use the
static libraries rather than the libsvn_* dynamic link libraries?

The dynamic link libraries are much more commonly used and are quite a
bit easier to deal with although you may have to deploy the Subversion
(and support) dll's with your program if you can't depend on an
existing Subversion installation.

DJ

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=979788
Received on 2008-12-04 20:54:07 CET

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