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

Re: Building on win32

From: Andreas Pakulat <apaku_at_gmx.de>
Date: 2007-05-22 12:08:04 CEST

On 18.05.07 22:26:39, D.J. Heap wrote:
> On 5/18/07, Andreas Pakulat <apaku@gmx.de> wrote:
> [snip]
> >
> >It seems like, although there doesn't seem to be an undefined reference
> >to apr_pcalloc in the error messages (even though that one is used in
> >the sources) all other apr_ functions are not defined
> >
> >> Or do you get some but not
> >> others? What linker are you using?
> >
> >This is using ld from the mingw package (a windows port of the Gnu C
> >Compiler)
> >
> >Attached is the full output.
>
> I'm not familiar with mingw at all...maybe ask around on APR and the
> mingw lists?

It turns out the problem is a define in the apr.h header, they redefine
__attribute__ which mingw uses to set stuff like __stdcall and
visibility/dllimport/export, so the symbols in the import library don't
match what mingw expects (due to the missing __stdcall in the included
headers).

Andreas

-- 
Troubled day for virgins over 16 who are beautiful and wealthy and live
in eucalyptus trees.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 22 12:08:37 2007

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.