Thanks Tobias, but the Windows build doesn't seem to use that method, there is no subversion/svn_private_config.h.
Does anyone know how this is set on a Windows build? I am much more comfortable in GNU/Linux environments and have very little Windows expertise, as you might be able to tell by my post! Ben On Fri, Jun 7, 2013 at 12:25 PM, Tobias Bading <[email protected]> wrote: > On 07.06.2013 11:36, Ben Brown wrote: > >> Hi, >> >> I'm trying to build 1.8.0 rc3 on Windows with Visual Studio 2008, but I'm >> getting the following error: >> >> svn_ra-1.lib(ra_loader.obj) : error LNK2005: _svn_ra_serf_init already >> defined >> in libsvn_ra_serf-1.lib(serf.obj) >> ..\..\..\Release\subversion\**libsvn_ra\libsvn_ra-1.dll : fatal error >> LNK1169: on >> e or more multiply defined symbols found >> >> > On GNU/Linux, subversion/libsvn_ra_serf/.**libs/serf.o contains > svn_ra_serf_init just like your serf.obj does, > but your ra_loader.obj contains another definition of that symbol, my > subversion/libsvn_ra/ra_**loader.o does not. > > subversion/libsvn_ra/ra_**loader.c contains > > #ifndef SVN_LIBSVN_CLIENT_LINKS_RA_**SERF > svn_error_t * > svn_ra_serf_init(int abi_version, > apr_pool_t *pool, > apr_hash_t *hash) > { > return svn_error_create(SVN_ERR_RA_**NOT_IMPLEMENTED, NULL, NULL); > } > #endif /* ! SVN_LIBSVN_CLIENT_LINKS_RA_**SERF */ > > and I have > > /* Defined if libsvn_client should link against libsvn_ra_serf */ > #define SVN_LIBSVN_CLIENT_LINKS_RA_**SERF 1 > > in subversion/svn_private_config.**h. So I'd say you probably don't have > SVN_LIBSVN_CLIENT_LINKS_RA_**SERF defined. This define is used only in > ra_loader.c, so you may try to define it in svn_private_config.h. > > Hope that helps a little, > Tobias > > -- Ben Brown I *Senior Infrastructure / Build Enginer* WANdisco // *Non-Stop Data* e. [email protected]

