After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 125110 - libxml2 2.6.0 doesn't build on Windows
libxml2 2.6.0 doesn't build on Windows
Status: VERIFIED FIXED
Product: libxml2
Classification: Platform
Component: general
2.6.0
Other Windows
: Normal normal
: ---
Assigned To: Daniel Veillard
Daniel Veillard
Depends on:
Blocks:
 
 
Reported: 2003-10-21 13:16 UTC by Steve Hay
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Steve Hay 2003-10-21 13:16:52 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
Comment 1 Daniel Veillard 2003-10-21 13:57:04 UTC
Should be fixed in CVS, check the mailing list in case of Windows
problems before reporting to bugzilla !

Daniel
Comment 2 Daniel Veillard 2003-11-05 23:58:55 UTC
Should be fixed in libxml2-2.6.2,
                                                                     
          
  thanks,
                                                                     
          
Daniel