What I have determined is that if I pass "pattern=no" to configure.js the compile error happens, remove that from the configure.js call and the error does not happen.
I'm looking into the changes that would be necessary to fix the issue but wanted to inform the libxml2 team in case it may already be a known issue.
thanks,mkdir -p /home/builder/bear/external/persistence/libxml2/libxml2-2.6.20/win32/ release cd /home/builder/bear/external/persistence/libxml2/libxml2-2.6.20/win32; \
cscript //E:JScript configure.js prefix=release \ python=yes iconv=no iso8859x=yes pattern=no Microsoft (R) Windows Script Host Version 5.6 Copyright (C) Microsoft Corporation 1996-2001. All rights reserved. libxml2 version: 2.6.20 Created Makefile. Created config.h. XML processor configuration --------------------------- Trio: no Thread safety: native FTP client: yes HTTP client: yes HTML processor: yes C14N support: yes Catalog support: yes DocBook support: yes XPath support: yes XPointer support: yes XInclude support: yes iconv support: no iso8859x support: yes zlib support: no Debugging module: yes Memory debugging: no Regexp support: yes Module support: yes Tree support: yes Reader support: yes Writer support: yes Walker support: yes Pattern support: no Push support: yes Validation support: yes SAX1 support: yes Legacy support: yes Output support: yes XML Schema support: yes Python bindings: yes Win32 build configuration ------------------------- Compiler: msvc C-Runtime option: /MD Debug symbols: no Static xmllint: no Install prefix: release Put tools in: $(PREFIX)\bin Put headers in: $(PREFIX)\include Put static libs in: $(PREFIX)\lib Put shared libs in: $(PREFIX)\lib Include path: . Lib path: .cd /home/builder/bear/external/persistence/libxml2/libxml2-2.6.20/win32; MAKEFLAGS=; \
nmake -nologo -f Makefile.msvc BUILD_VERSION=release all install if not exist bin.msvc mkdir bin.msvc if not exist int.msvc mkdir int.msvccl.exe /EP /nologo /I..\include /D "_REENTRANT" libxml2.def.src > int.msvc\libxml2.def
libxml2.def.srccl.exe /nologo /D "WIN32" /D "_WINDOWS" /D "_MBCS" /W1 /MD /I.. /I..\include /Irelease\include /D "_REENTRANT" /D "HAVE_WIN32_THREADS" /D "NDEBUG" /O2 /Foint.msvc\ /c ..\c14n.c ..\catalog.c ..\chvalid.c ..\debugXML.c ..\dict.c ..\DOCBparser.c ..\encoding.c ..\entities.c ..\error.c ..\globals.c ..\hash.c ..\HTMLparser.c ..\HTMLtree.c ..\legacy.c ..\list.c ..\nanoftp.c ..\nanohttp.c ..\parser.c ..\parserInternals.c ..\pattern.c ..\relaxng.c ..\SAX2.c ..\SAX.c ..\threads.c ..\tree.c ..\uri.c ..\valid.c ..\xinclude.c ..\xlink.c ..\xmlIO.c ..\xmlmemory.c ..\xmlreader.c ..\xmlregexp.c ..\xmlmodule.c ..\xmlsave.c ..\xmlschemas.c ..\xmlschemastypes.c ..\xmlunicode.c ..\xmlwriter.c ..\xpath.c ..\xpointer.c ..\xmlstring.c
c14n.c catalog.c chvalid.c debugXML.c dict.c DOCBparser.c encoding.c entities.c error.c globals.c hash.c HTMLparser.c HTMLtree.c legacy.c list.c nanoftp.c nanohttp.c parser.c parserInternals.c pattern.c Generating Code... Compiling... relaxng.c SAX2.c SAX.c threads.c tree.c uri.c valid.c xinclude.c xlink.c xmlIO.c xmlmemory.c xmlreader.c xmlregexp.c xmlmodule.c xmlsave.c xmlschemas.c..\xmlschemas.c(3116) : error C2065: 'xmlStreamCtxtPtr' : undeclared identifier ..\xmlschemas.c(3116) : error C2146: syntax error : missing ')' before identifier 'sto' ..\xmlschemas.c(3116) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(3116) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(3116) : error C2143: syntax error : missing ')' before 'identifier'
..\xmlschemas.c(3116) : error C2059: syntax error : ')'..\xmlschemas.c(3140) : error C2065: 'xmlPatternPtr' : undeclared identifier ..\xmlschemas.c(3140) : error C2146: syntax error : missing ')' before identifier 'idcDef' ..\xmlschemas.c(3140) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(3140) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(3140) : error C2143: syntax error : missing ')' before 'identifier'
..\xmlschemas.c(3140) : error C2059: syntax error : ')'..\xmlschemas.c(3150) : error C2146: syntax error : missing ')' before identifier 'prev' ..\xmlschemas.c(3150) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(3150) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(3150) : error C2143: syntax error : missing ')' before 'identifier'
..\xmlschemas.c(3150) : error C2059: syntax error : ')'..\xmlschemas.c(6929) : error C2065: 'XML_PATTERN_XSFIELD' : undeclared identifier ..\xmlschemas.c(6932) : error C2065: 'XML_PATTERN_XSSEL' : undeclared identifier ..\xmlschemas.c(18854) : error C2146: syntax error : missing ')' before identifier 'sto' ..\xmlschemas.c(18854) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(18854) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(18854) : error C2143: syntax error : missing ')' before 'identifier'
..\xmlschemas.c(18854) : error C2059: syntax error : ')'..\xmlschemas.c(18860) : error C2146: syntax error : missing ')' before identifier 'sel' ..\xmlschemas.c(18860) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(18860) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(18860) : error C2143: syntax error : missing ')' before 'identifier'
..\xmlschemas.c(18860) : error C2059: syntax error : ')'..\xmlschemas.c(18926) : error C2146: syntax error : missing ')' before identifier 'sto' ..\xmlschemas.c(18926) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(18926) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(18926) : error C2143: syntax error : missing ')' before 'identifier'
..\xmlschemas.c(18927) : error C2059: syntax error : ')'..\xmlschemas.c(18929) : error C2146: syntax error : missing ')' before identifier 'sto' ..\xmlschemas.c(18929) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(18929) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(18929) : error C2143: syntax error : missing ')' before 'identifier'
..\xmlschemas.c(18930) : error C2059: syntax error : ')'..\xmlschemas.c(19096) : error C2146: syntax error : missing ')' before identifier 'sto' ..\xmlschemas.c(19096) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(19096) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' ..\xmlschemas.c(19096) : error C2143: syntax error : missing ')' before 'identifier'
..\xmlschemas.c(19096) : error C2059: syntax error : ')' xmlschemastypes.c xmlunicode.c xmlwriter.c xpath.c Generating Code... Compiling... xpointer.c xmlstring.c Generating Code... NMAKE : fatal error U1077: 'cl.exe' : return code '0x2' Stop. make: *** [compile] Error 2 --- Bear Build and Release Engineer Open Source Applications Foundation (OSAF) bear osafoundation org http://www.osafoundation.org bear code-bear com http://code-bear.com PGP Fingerprint = 9996 719F 973D B11B E111 D770 9331 E822 40B3 CD29
Attachment:
PGP.sig
Description: This is a digitally signed message part