1.8 uses a generated svn_private_config.h from another directory. (Too
bad every project still contains a reference to the old location)
Bert
------------------------------
From: Ben Brown <ben.brown_at_wandisco.com>
Sent: 07/06/2013 16:07
To: Tobias Bading <tbading_at_web.de>
Cc: dev_at_subversion.apache.org
Subject: Re: 1.8.0rc3 Build Failure on Windows
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 <tbading_at_web.de> 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. ben.brown_at_wandisco.com
Received on 2013-06-07 16:21:58 CEST