[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-16 21:26:28 CEST

On 16.05.07 03:00:43, Andreas Pakulat wrote:
> On 15.05.07 17:33:31, D.J. Heap wrote:
> > On 5/15/07, Andreas Pakulat <apaku@gmx.de> wrote:
> > [snip]
> > >Because the app I want to build in the end is going to be built with
> > >mingw and that one doesn't understand msvc static libs.
> >
> > Hmm, I wouldn't have thought you'd need to link neon or zlib directly
> > -- they will be statically linked into the Subversion dll's as needed
> > and you shouldn't need to care about them as a client of the
> > Subversion dll's...right? Or are you using them directly for some
> > reason?
>
> No, I'm not using them directly. I'm currently having other problems
> though. It seems like some APR stuff is not properly exported, or my
> cmake stuff is not yet fully working. Anyway, the windows pc is already
> off and I better head to bed. I'll give you an update tomorrow.

Ok, here's the update (although I probably should talk to the apr people
instead):

The apr import lib has 2 symbols for each exported function, one has an
underscore at the beginning (i.e. declspec(dllexport) was used) the
other one is __imp__<functioname> because its extern C.

It seems that my linker has a problem with this, the first problematic
symbol is said to be "apr_initialize". I was told that this should
rather be _apr_initialize or __imp__apr_initialize.

I checked wether the APR_DECLARE macro expands to the version that has
__declspec(dllimport) and it does, however I don't see the declspec
macro in the preprocessed sources.

Any ideas? If not I'll talk to the apache people about this. And thanks
for your help getting this compiled.

Andreas

-- 
Your step will soil many countries.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 16 21:27:42 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.