Hello all
I try to compile Xalan C on my machine.
I have installed Xerces C and my the sample aplication work.
When I want to compile Xalan, all seems to work well. It compiles the library
for
about 5 minutes and then I receive the compilation error below. Can somebody
tell
me what to do ?
My system is a Debian one.
Thx
Cristi
g++ -O2 -DNDEBUG -fno-elide-constructors -Wall -fPIC -DLINUX -D_REENTRANT
-DXALAN_INMEM_MSG_LOADER -c -I/root/xml-xalan/c/src -I/root/xml-xalan/c/include -I../../nls/include
-I/root/xerces-c-src_2_6_0//src/ -I/root/xerces-c-src_2_6_0//include/xercesc
-I/root/xerces-c-src_2_6_0//include/ -o ../../obj/process.o
/root/xml-xalan/c/src/xalanc/TestXSLT/process.cpp
/root/xml-xalan/c/src/xalanc/TestXSLT/process.cpp: In function `
xalanc_1_9::FormatterListener* createFormatter(int, bool, bool, bool, bool,
xalanc_1_9::PrintWriter&, int, const xalanc_1_9::XalanDOMString&, const
xalanc_1_9::StylesheetRoot*, xalanc_1_9::XercesParserLiaison&,
xalanc_1_9::XalanSourceTreeParserLiaison&, const
xalanc_1_9::PrefixResolver&, const xalanc_1_9::XalanDocument*&)':
/root/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:631: error: no matching
function for call to `xalanc_1_9::FormatterToText::FormatterToText(
xercesc_2_6::MemoryManager&, xalanc_1_9::PrintWriter&, const
xalanc_1_9::XalanDOMString&)'
/root/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:224: error:
candidates
are: xalanc_1_9::FormatterToText::FormatterToText(const
xalanc_1_9::FormatterToText&)
/root/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:82: error:
xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::Writer&,
const xalanc_1_9::XalanDOMString&, bool, bool,
xalanc_1_9::MemoryManagerType&)
/root/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:67: error:
xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::Writer&,
bool, bool, xalanc_1_9::MemoryManagerType&)
/root/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText.hpp:54: error:
xalanc_1_9::FormatterToText::FormatterToText(xalanc_1_9::MemoryManagerType&)
/root/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:666: error: no matching
function for call to `xalanc_1_9::FormatterToHTML::FormatterToHTML(
xercesc_2_6::MemoryManager&, xalanc_1_9::PrintWriter&, const
xalanc_1_9::XalanDOMString&, xalanc_1_9::XalanDOMString&,
xalanc_1_9::XalanDOMString&, xalanc_1_9::XalanDOMString&, bool&, int&)'
/root/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp:51: error:
candidates
are: xalanc_1_9::FormatterToHTML::FormatterToHTML(const
xalanc_1_9::FormatterToHTML&)
/root/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML.hpp:85: error:
xalanc_1_9::FormatterToHTML::FormatterToHTML(xalanc_1_9::Writer&,
const xalanc_1_9::XalanDOMString&, const xalanc_1_9::XalanDOMString&, const
xalanc_1_9::XalanDOMString&, const xalanc_1_9::XalanDOMString&, bool, int,
bool, bool, xalanc_1_9::MemoryManagerType&)
make[1]: *** [../../obj/process.o] Error 1
make[1]: Leaving directory `/root/xml-xalan/c/src/xalanc'
make: *** [all] Error 2