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

Compiling Subversion on Windows

From: Mark Raymond <markr_at_raymonds.org.uk>
Date: Mon, 12 Mar 2012 18:50:58 -0000

Hi,

I've been attempting to compile Subversion on Windows (64-bit). I've been
able to solve most of the issues I had when compiling, but there's just one
file left that is refusing to compile - libsvn_ra-1.dll.
The build environment is Visual Studio 2008 on Windows 7 64-bit, using the
x64 Cross Tools Command Prompt.

I get the following error at the link stage:

libneon.lib(ne_openssl.obj) : error LNK2019: unresolved external symbol
SSL_SESSION_cmp referenced in function ne__negotiate_ssl
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_GetCurrentLineNumber referenced in function ne_xml_currentline
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_ErrorString referenced in function ne_xml_parse
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_GetErrorCode referenced in function ne_xml_parse
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_Parse referenced in function ne_xml_parse
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_ParserFree referenced in function ne_xml_destroy
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_SetXmlDeclHandler referenced in function ne_xml_create
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_SetUserData referenced in function ne_xml_create
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_SetCharacterDataHandler referenced in function ne_xml_create
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_SetElementHandler referenced in function ne_xml_create
libneon.lib(ne_xml.obj) : error LNK2019: unresolved external symbol
__imp_XML_ParserCreate referenced in function ne_xml_create
..\..\..\Release\subversion\libsvn_ra\libsvn_ra-1.dll : fatal error LNK1120:
11 unresolved externals

I've checked xml.lib (from expat, in apr-util), which is where I think these
symbols should be, and it contains the symbols but without the __imp_ at the
beginning.
I guess this is some issue with name mangling, but I don't really know how
to approach solving it!

Thanks,
Mark.
Received on 2012-03-12 19:51:57 CET

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.