Hi,
As this is my first post, I'm hoping I'm in the right place. Please
forgive me & point me in the right direction if this is misdirected.
I'm runing RedHat 7.1 which, as you may know, unfortunately comes
with GCC 2.96 (currently at release 85). I was having trouble compiling my
Xalan-enabled app, so I went back and tried to build the XalanTransform.cpp
sample file, and THAT doesn't work either (I know it DOES under GCC 2.95).
I get the following:
gcc -Wall -c XalanTransform.cpp -I/usr/local/STLport-4.0/stlport
-I/usr/local/xml-xalan/c/src -I/usr/local/xml-xerces/c/include
In file included from
/usr/local/xml-xalan/c/src/XalanTransformer/XalanTransformer.hpp:78,
from XalanTransform.cpp:5:
/usr/local/xml-xalan/c/src/XSLT/StylesheetRoot.hpp: In method `void
StylesheetRoot::getNodeSetByKey
(XalanNode *, const XalanDOMString &, const XalanDOMString &, const
PrefixResolver &,
MutableNodeRefList &, StylesheetExecutionContext &, _STL::map<const
XalanNode *, KeyTable *,
_STL::less<const XalanNode *>, _STL::allocator<_STL::pair<const XalanNode
*const, KeyTable *> > > &)
const':
/usr/local/xml-xalan/c/src/DOMSupport/PrefixResolver.hpp:76: `class
PrefixResolver' is inaccessible
/usr/local/xml-xalan/c/src/XSLT/StylesheetRoot.hpp:440: within this context
Has anyone tried using Xalan with GCC 2.96r85? Any ideas what might
cause this, or how I can work around it? Going back to GCC 2.95 requires
uninstalling about 20 apps which depend on libstdc++ 2.96, and I'm not warm
about 3.0 yet (not until there's a RedHat-sanctioned RPM for it anyway).
Any help you could give me would be GREATLY appreciated. Thanks in advance.
Allan Stirrett
SkyStream Networks.