Debasis Ray wrote:
Dave,
I got bit further while using the static library. Now I got some
compilation errors!
g++ -O2 -DNDEBUG -fno-elide-constructors -Wall -fPIC -DLINUX
-D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c
-I/nanfs02/home/dray/linux/install/xml-xalan/c/src
-I/nanfs02/home/dray/linux/install/xml-xalan/c/include
-I../../../../nls/include
-I/nanfs02/home/dray/linux/dan/xerces-c-3.0.1/install/src/
-I/nanfs02/home/dray/linux/dan/xerces-c-3.0.1/install/include/xercesc
-I/nanfs02/home/dray/linux/dan/xerces-c-3.0.1/install/include/ -o
../../../../obj/XalanMsgLib.o
/nanfs02/home/dray/linux/install/xml-xalan/c/src/xalanc/Utils/XalanMsgLi
b/XalanMsgLib.cpp
/nanfs02/home/dray/linux/install/xml-xalan/c/src/xalanc/Utils/XalanMsgLi
b/XalanMsgLib.cpp:25: syntax
error before `namespace'
/nanfs02/home/dray/linux/install/xml-xalan/c/src/xalanc/Utils/XalanMsgLi
b/XalanMsgLib.cpp: In
static member function `static const XalanDOMChar*
xalanc_1_10::XalanMsgContainer::getMessage(unsigned int)':
/nanfs02/home/dray/linux/install/xml-xalan/c/src/xalanc/Utils/XalanMsgLi
b/XalanMsgLib.cpp:68: `
s_errString' undeclared (first use this function)
/nanfs02/home/dray/linux/install/xml-xalan/c/src/xalanc/Utils/XalanMsgLi
b/XalanMsgLib.cpp:68: (Each
undeclared identifier is reported only once for each function it
appears
in.)
gmake[3]: *** [../../../../obj/XalanMsgLib.o] Error 1
gmake[3]: Leaving directory
`/nanfs02/home/dray/linux/install/xml-xalan/c/src/xalanc/Utils/XalanMsgL
ib'
gmake[2]: *** [../../../lib/libxalanMsg.so.110.0] Error 2
gmake[2]: Leaving directory
`/nanfs02/home/dray/linux/install/xml-xalan/c/src/xalanc/Utils'
gmake[1]: *** [locale] Error 2
gmake[1]: Leaving directory
`/nanfs02/home/dray/linux/install/xml-xalan/c/src/xalanc'
gmake: *** [all] Error 2
Would you have any clue?
Yes, the message source file wasn't properly generated.
As I've stated before, you cannot use Xalan-C 1.10 sources with Xerces-C
3.0, because the Xerces-C APIs were changed and the changes are not
backward compatible. You can either get the latest source code from the
Subversion repository, or you can build with Xerces-C 2.8.
Dave
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org