[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: Branko Cibej <brane_at_xbc.nu>
Date: Thu, 04 Dec 2008 20:58:54 +0100

D.J. Heap wrote:
> 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),

I very much doubt that's the case for the static libs; it's more
probable that the DLL exports aren't complete.

The most probable explanation is that he's not linking with some of the
required libraries. Not surprisingly, this is svn_ra.lib looking for
init functions in the specific RA implementation libraries.

And "void pointer", for future reference ... posting linker errors
without also showing your link command line is less than optimal. :)

-- Brane

Received on 2008-12-04 20:59:53 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.