Hi,
I recently downloaded the xalan-c source code in
http://mirrors.ccs.neu.edu/Apache/dist/xml/xalan-c
I followed the instructions from the apache site on how to build it (I
already have xerces downloaded and compiled), however, I'm getting
quite a few compile errors. I downloaded and compiled xerces 2.6.0 and
I downloaded xalan 1.9.0.
Here's the uname of my Linux:
Linux workandplay 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:04:33 EDT 2005
i686 athlon i386 GNU/Linux
Its running Red Hat Linux Enterprise...
Below are the build errors that I'm getting. Does anyone have any
idea? Is someone else experiencing the same thing? I'm running into
these errors in both gmake and make invocations....
---------------------------------------------------------
gmake -C src/xalanc all
gmake[1]: Entering directory
`/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc'
Preparing the directory structure for a build ...
mkdir -p ../../obj
mkdir -p ../../lib
mkdir -p ../../bin
gmake -C Utils prepare
gmake[2]: Entering directory
`/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Utils'mkdir
-p ../../../nls
mkdir -p ../../../nls/include
gmake[2]: Leaving directory
`/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Utils'
gmake -C Utils locale
gmake[2]: Entering directory
`/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Utils'gmake[2]:
Nothing to be done for `locale'.
gmake[2]: Leaving directory
`/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Utils'
g++ -O2 -DNDEBUG -fno-elide-constructors -Wall -fPIC -DLINUX
-D_REENTRANT -DXALAN_INMEM_MS G_LOADER -c
-I/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src
-I/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/include
-I../../nls/include
-I/home/av/vs/utils/trunk/xerces/xerces-c-src_2_6_0/src/
-I/home/av/vs/utils/trunk/xerces/xerces-c-src_2_6_0/include/xercesc
-I/home/av/vs/utils/trunk/xerces/xerces-c-src_2_6_0/include/ -o
.../../obj/process.o
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp
In file included from
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/PlatformSupport/DOMStringHelper .hpp:39,
from
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:52:
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:
In
member function `std::unary_fun ction<const _Tp*, void>::result_t ype
xalanc_1_9::Del eteFunctor<Type >::operator()(s td::unary_funct ion<const
_Tp*,
void>::argument _type) const':
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:1 27:
warning: no
return statement in function returning non-void
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:
In
member function `std::unary_fun ction<_Tp, void>::result_t ype
xalanc_1_9::Cle arFunctor<Type> ::operator()(st d::unary_functi on<_Tp,
void>::argument _type&) const':
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:2 45:
warning: no
return statement in function returning non-void
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:
In
member function `std::unary_fun ction<T::value_ type&,
void>::result_t ype
xalanc_1_9::Map ValueDeleteFunc tor<T>::operato r()(std::unary_ function<T::val ue_type&,
void>::argument _type) const':
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/Include/STLHelper.hpp:2 84:
warning: no return statement in function returning non-void
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:
In
function `xalanc_1_9::Fo rmatterListener * createFormatter (int, bool,
bool,
bool, bool, xalanc_1_9::Pri ntWriter&, int, const
xalanc_1_9::Xal anDOMString&, const xalanc_1_9::Sty lesheetRoot*,
xalanc_1_9::Xer cesParserLiaiso n&,
xalanc_1_9::Xal anSourceTreePar serLiaison&,
const xalanc_1_9::Pre fixResolver&, const
xalanc_1_9::Xal anDocument*&)':
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:631 :
no
matching function for call to
`xalanc_1_9::Fo rmatterToText:: FormatterToText (
xercesc_2_6::Me moryManager&, xalanc_1_9::Pri ntWriter&, const
xalanc_1_9::Xal anDOMString&)'
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText .hpp:224:
candidates
are: xalanc_1_9::For matterToText::F ormatterToText( const
xalanc_1_9::For matterToText&)
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText .hpp:82:
xalanc_1_9::For matterToText::F ormatterToText( xalanc_1_9::Wri ter&,
const
xalanc_1_9::Xal anDOMString&, bool = true, bool = true,
xalanc_1_9::Mem oryManagerType& =
xalanc_1_9::Xal anMemMgrs::getD efaultXercesMem Mgr()())
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText .hpp:67:
xalanc_1_9::For matterToText::F ormatterToText( xalanc_1_9::Wri ter&,
bool =
true, bool = true, xalanc_1_9::Mem oryManagerType& =
xalanc_1_9::Xal anMemMgrs::getD efaultXercesMem Mgr()())
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToText .hpp:54:
xalanc_1_9::For matterToText::F ormatterToText( xalanc_1_9::Mem oryManagerType&
= xalanc_1_9::Xal anMemMgrs::getD efaultXercesMem Mgr()())
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/TestXSLT/process.cpp:666 :
no
matching function for call to
`xalanc_1_9::Fo rmatterToHTML:: FormatterToHTML (
xercesc_2_6::Me moryManager&, xalanc_1_9::Pri ntWriter&, const
xalanc_1_9::Xal anDOMString&, xalanc_1_9::Xal anDOMString&,
xalanc_1_9::Xal anDOMString&, xalanc_1_9::Xal anDOMString&, bool&,
int&)'
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML .hpp:51:
candidates
are: xalanc_1_9::For matterToHTML::F ormatterToHTML( const
xalanc_1_9::For matterToHTML&)
/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc/XMLSupport/FormatterToHTML .hpp:85:
xalanc_1_9::For matterToHTML::F ormatterToHTML( xalanc_1_9::Wri ter&,
const
xalanc_1_9::Xal anDOMString& =
XalanDOMString( (+xalanc_1_9::X alanMemMgrs::ge tDummyMemMgr()( ))),
const
xalanc_1_9::Xal anDOMString& =
XalanDOMString( (+xalanc_1_9::X alanMemMgrs::ge tDummyMemMgr()( ))),
const
xalanc_1_9::Xal anDOMString& =
XalanDOMString( (+xalanc_1_9::X alanMemMgrs::ge tDummyMemMgr()( ))),
const
xalanc_1_9::Xal anDOMString& =
XalanDOMString( (+xalanc_1_9::X alanMemMgrs::ge tDummyMemMgr()( ))),
bool =
true, int = eDefaultIndentA mount, bool = true, bool = false,
xalanc_1_9::Mem oryManagerType& =
xalanc_1_9::Xal anMemMgrs::getD efaultXercesMem Mgr()())
gmake[1]: *** [../../obj/process.o] Error 1
gmake[1]: Leaving directory
`/home/av/vs/utils/trunk/xml/xalan/xml-xalan/c/src/xalanc'
gmake: *** [all] Error 2