GNOME Bugzilla – Bug 125110
libxml2 2.6.0 doesn't build on Windows
Last modified: 2009-08-15 18:40:50 UTC
I configured the build as usual with: cscript configure.js prefix=C:\libxml2 zlib=1 but when I run "nmake" I get: ../include/libxml/xmlversion.h(127) : error C2018: unknown character '0x40' ../include/libxml/xmlversion.h(127) : error C2018: unknown character '0x40' The offending section of that header file is: #if @WITH_WRITER@ #define LIBXML_WRITER_ENABLED #endif If I change "#if @WITH_WRITER@" to either "#if 0" or "#if 1" then I get further, but libxml2.dll still fails to link: tree.obj : error LNK2001: unresolved external symbol _xmlCharInRange valid.obj : error LNK2001: unresolved external symbol _xmlCharInRange xmlregexp.obj : error LNK2001: unresolved external symbol _xmlCharInRange xpath.obj : error LNK2001: unresolved external symbol _xmlCharInRange catalog.obj : error LNK2001: unresolved external symbol _xmlCharInRange HTMLparser.obj : error LNK2001: unresolved external symbol _xmlCharInRange parser.obj : error LNK2001: unresolved external symbol _xmlCharInRange parserInternals.obj : error LNK2001: unresolved external symbol _xmlCharInRange binaries\libxml2.dll : fatal error LNK1120: 1 unresolved externals Regards, - Steve
Should be fixed in CVS, check the mailing list in case of Windows problems before reporting to bugzilla ! Daniel
Should be fixed in libxml2-2.6.2, thanks, Daniel