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

Re: svn 1.0.6 lib dev issues on win32

From: stephen meechan <mgvk68_at_dsl.pipex.com>
Date: 2004-08-17 02:18:49 CEST

>Linking...
>Test.obj : error LNK2001: unresolved external symbol
__imp__apr_allocator_max_free_set@8
>Debug/Test.exe : fatal error LNK1120: 1 unresolved externals
>Error executing link.exe.
>
>Test.exe - 2 error(s), 4 warning(s)
>
>The warnings are obviously nothing to worry about, but I can't figure out
why I'm getting the unresolved external symbol error. >It looks as if it is
defined in apr.lib, and apr.lib is included in my project.
>
>Can anyone help with this? I'm quite baffled.

Do you have

#define APR_DECLARE_STATIC

defined before you include apr_general.h? This sets the import function
names and calling conventions. You also need apr_initialize() called before
any other apr function in main.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 17 02:11:39 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.