You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Robert Dailey <rc...@gmail.com> on 2009/08/09 00:56:51 UTC

Unresolved external symbols

I'm writing a simple test app that uses the SVN library. When I compile it,
I get this:
1>libsvn_subr-1.lib(md5.obj) : warning LNK4217: locally defined symbol
_apr_palloc@8 imported in function _svn_md5__digests_match
1>libsvn_subr-1.lib(sha1.obj) : warning LNK4217: locally defined symbol
_apr_palloc@8 imported in function _svn_sha1__digests_match
1>libsvn_subr-1.lib(dirent_uri.obj) : warning LNK4049: locally defined
symbol _apr_palloc@8 imported
1>libsvn_subr-1.lib(time.obj) : warning LNK4049: locally defined symbol
_apr_palloc@8 imported
1>libsvn_subr-1.lib(username_providers.obj) : warning LNK4049: locally
defined symbol _apr_palloc@8 imported

I'm linking against the following:

   apr-1.lib
   aprutil-1.lib
   ws2_32.lib
   libsvn_client-1.lib
   libsvn_subr-1.lib
   libsvn_wc-1.lib

Also note that I am on Windows. apr-1.lib should have the symbols that it is
saying it cannot find. I don't understand why this won't work. If I haven't
provided enough information I apologize. Please ask for whatever you need
and I'll provide it.

---------
Robert Dailey

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2381778

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Unresolved external symbols

Posted by Robert Dailey <rc...@gmail.com>.
On Sat, Aug 8, 2009 at 7:56 PM, Robert Dailey <rc...@gmail.com> wrote:

> I'm writing a simple test app that uses the SVN library. When I compile it,
> I get this:
> 1>libsvn_subr-1.lib(md5.obj) : warning LNK4217: locally defined symbol
> _apr_palloc@8 imported in function _svn_md5__digests_match
> 1>libsvn_subr-1.lib(sha1.obj) : warning LNK4217: locally defined symbol
> _apr_palloc@8 imported in function _svn_sha1__digests_match
> 1>libsvn_subr-1.lib(dirent_uri.obj) : warning LNK4049: locally defined
> symbol _apr_palloc@8 imported
> 1>libsvn_subr-1.lib(time.obj) : warning LNK4049: locally defined symbol
> _apr_palloc@8 imported
> 1>libsvn_subr-1.lib(username_providers.obj) : warning LNK4049: locally
> defined symbol _apr_palloc@8 imported
>
> I'm linking against the following:
>
>    apr-1.lib
>    aprutil-1.lib
>    ws2_32.lib
>    libsvn_client-1.lib
>    libsvn_subr-1.lib
>    libsvn_wc-1.lib
>
> Also note that I am on Windows. apr-1.lib should have the symbols that it
> is saying it cannot find. I don't understand why this won't work. If I
> haven't provided enough information I apologize. Please ask for whatever you
> need and I'll provide it.
>

Sorry to rush, but I would appreciate some insight into this. I recognize
that I may not have provided sufficient information, but I am not sure what
else to provide that would be relevant. Any speculation as to what might be
the problem? Can anyone confirm that the libraries I'm linking against in
fact do contain the missing symbols?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2382548

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].