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

Re: Problems with subversion 1.1.3. build

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-02-25 22:53:06 CET

pasha wrote:

> Hello,
>
> I have the problem with building subversion 1.1.3. I`ve wrote to
> user@subversion.tigris.org <mailto:user@subversion.tigris.org> and
> they can not help me.
>
> I`ve downloaded subversion-1.1.3.zip. And now I have a problem to
> build it with VC++6.0. I installed BerkeleyDB, APR

This bit I don't understand. You "installed" APR? You need the apr,
apr-util and apr-iconv /sources/ to build on Windows, and installed
version won't do.

> and now have the porblem with Neon. I tried to build Neon with
>
> /* *nmake /f neon.mak ALL DEBUG_BUILD=Aye/

Why are you doing this by hand? subversion_msvc.dsw has all the logic
needed to build all dependencies, including neon.

>
> It makes me libneonD.lib.
>
> But when I try to compile svn.dsp in VC++, compiler says the following:
>
> /--------------------Configuration: svn - Win32 Debug--------------------
> Linking...
> LINK : warning LNK4049: locally defined symbol
> "_XML_GetCurrentLineNumber" imported
> LINK : warning LNK4049: locally defined symbol
> "_XML_SetXmlDeclHandler" imported
> LINK : warning LNK4049: locally defined symbol "_XML_SetUserData" imported
> LINK : warning LNK4049: locally defined symbol
> "_XML_SetCharacterDataHandler" imported
> LINK : warning LNK4049: locally defined symbol
> "_XML_SetElementHandler" imported
> LINK : warning LNK4049: locally defined symbol "_XML_ParserCreate"
> imported
> LINK : warning LNK4049: locally defined symbol "_XML_ErrorString" imported
> LINK : warning LNK4049: locally defined symbol "_XML_GetErrorCode"
> imported
> LINK : warning LNK4049: locally defined symbol "_XML_Parse" imported
> LINK : warning LNK4049: locally defined symbol "_XML_ParserFree" imported
> /

This looks like a mismatch with apr-util, not neon. Again, you need the
apr-util sources.

> /libsvn_ra_dav-1.lib(commit.obj) : error LNK2001: unresolved external
> symbol _ne_copy
> libneonD.lib(ne_props.obj) : error LNK2001: unresolved external symbol
> _ne_add_depth_header
> libneonD.lib(ne_locks.obj) : error LNK2001: unresolved external symbol
> _ne_add_depth_header
> ..\..\..\Debug\subversion\clients\cmdline\svn.exe : fatal error
> LNK1120: 2 unresolved externals/

Of course neon won't build correctly if it doesn't have an XML parser,
which is part of apr-util.

You should get the Windows version of the SVN sources, subversion
-1.1.3.zip. It has the sources of all the APR libraries (apr, apr-util
and apr-iconv).

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 25 22:59:16 2005

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.