Hi, I have some errors at link with libxml2 V 2.9.3 for 64 bit. I can get rid of these… libxml2.a(HTMLtree.o) : error LNK2001: unresolved external symbol __ms_vsnprintf libxml2.a(debugXML.o) : error LNK2019: unresolved external symbol __ms_vsnprintf referenced in function xmlShell libz.a(gzlib.o) : error LNK2001: unresolved external symbol __ms_vsnprintf libz.a(gzwrite.o) : error LNK2001: unresolved external symbol __ms_vsnprintf libxml2.a(debugXML.o) : error LNK2019: unresolved external symbol ___chkstk_ms referenced in function xmlCtxtGenericNodeCheck libxml2.a(xmlIO.o) : error LNK2019: unresolved external symbol fileno referenced in function xmlGzfileOpenW libxml2.a(xmlIO.o) : error LNK2019: unresolved external symbol dup referenced in function xmlGzfileOpenW libz.a(gzwrite.o) : error LNK2001: unresolved external symbol close libxml2.a(xmlIO.o) : error LNK2019: unresolved external symbol close referenced in function xmlGzfileOpenW libxml2.a(xmlIO.o) : error LNK2019: unresolved external symbol read referenced in function xmlFdRead libxml2.a(catalog.o) : error LNK2001: unresolved external symbol read libz.a(gzread.o) : error LNK2001: unresolved external symbol read libxml2.a(xmlIO.o) : error LNK2019: unresolved external symbol write referenced in function xmlFdWrite libxml2.a(nanohttp.o) : error LNK2001: unresolved external symbol write libz.a(gzwrite.o) : error LNK2001: unresolved external symbol write libxml2.a(xmlIO.o) : error LNK2019: unresolved external symbol getcwd referenced in function xmlParserGetDirectory libxml2.a(catalog.o) : error LNK2019: unresolved external symbol open referenced in function xmlLoadFileContent libxml2.a(nanohttp.o) : error LNK2001: unresolved external symbol open libz.a(gzlib.o) : error LNK2001: unresolved external symbol open libxml2.a(nanohttp.o) : error LNK2019: unresolved external symbol WspiapiGetAddrInfo referenced in function xmlNanoHTTPConnectHost libxml2.a(nanohttp.o) : error LNK2019: unresolved external symbol WspiapiFreeAddrInfo referenced in function xmlNanoHTTPConnectHost I use MS Visual Studio 2010 (Windows 7 64 bit), link with libxml2.a, libiconv.dll.a (v 1-14) and libz.a (v 1.2.8) (also Ws2_32.lib, User32.lib, msvcrt.lib). My project has linker Target Machine option set to MachineX64
(/MACHINE:X64)…. It looks like some run-time lib symbols are not found. Any idea of what I am making wrong ? Thanks Stéphane |