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

building on Win32

From: Paul Marculescu <paul_at_p16.pub.ro>
Date: 2002-06-20 02:16:52 CEST

I just checked out revision 2285 from the subversion repository and also
the apr and apr-util files from apache cvs repository in order to make a
new build on Win32.

The problems I encountered are:

- subversion_client.dsp
  SOURCE=".\trace-commit.c" from the dsp is missing from the repository.
  However, a simple removal from the dsp I think will do.

- mod_dav_svn.dsp
  I had to define APR_DECLARE_STATIC and APU_DECLARE_STATIC symbols in
the project, otherwise it won't link.
  The build also requires wsock32.lib.
  SOURCE=..\libsvn_subr\hashdump.c is missing from disk. I think it
should be replace with ..\libsvn_subr\hash.c
 
And, the problem I was unable to solve is that I still receive the
following link errors:

--------------------Configuration: mod_dav_svn - Win32
Release--------------------
Linking...
   Creating library Release/mod_dav_svn.lib and object
Release/mod_dav_svn.exp
svn_error.obj : error LNK2001: unresolved external symbol
_apr_allocator_owner_set
svn_error.obj : error LNK2001: unresolved external symbol
_apr_allocator_mutex_set
svn_error.obj : error LNK2001: unresolved external symbol
_apr_allocator_set_max_free
svn_error.obj : error LNK2001: unresolved external symbol
_apr_pool_allocator_get
Release/mod_dav_svn.so : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

mod_dav_svn.so - 5 error(s), 0 warning(s)

I thought that defining APR_DECLARE_STATIC in the project is enough to
make it build. But it is defined and the errors are still there.

Does anybody know where the mistake is hiding?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 20 01:17:27 2002

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.