I'm new to berkeley db xml.
While trying to intall berkeleydb xml 2.2.8 on a linux box, using the
buildall.sh --enable-java script, i encountered several of following
errors and the build did not succeed (meaning the dbxml.jar file was
not created). Has anybody encountered such an issue and found a way
around it? I'll appreciate your help on this.
In file included from
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/Sequence.hpp:11,
from
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/dataItem/LazySequenceResult.hpp:11,
from
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/dataItem/DataItemImpl.hpp:14,
from
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/dataItem/DataItemVariable.hpp:11,
from XPath2Parser.y:14:
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/ATDecimalOrDerived.hpp:38:
conflicting return type specified for virtual function `class
RefCountPointer<const Numeric>
ATDecimalOrDerived:

romoteTypeIfApplicable(const XMLCh *, const XMLCh
*, const DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/Numeric.hpp:37:
overriding definition as `class RefCountPointer<const AnyAtomicType>
Numeric:

romoteTypeIfApplicable(const XMLCh *, const XMLCh *, const
DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/ATDecimalOrDerived.hpp:66:
conflicting return type specified for virtual function `class
RefCountPointer<const Numeric> ATDecimalOrDerived::floor(const
DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/Numeric.hpp:66:
overriding definition as `class RefCountPointer<const AnyAtomicType>
Numeric::floor(const DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/ATDecimalOrDerived.hpp:69:
conflicting return type specified for virtual function `class
RefCountPointer<const Numeric> ATDecimalOrDerived::ceiling(const
DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/Numeric.hpp:69:
overriding definition as `class RefCountPointer<const AnyAtomicType>
Numeric::ceiling(const DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/ATDecimalOrDerived.hpp:72:
conflicting return type specified for virtual function `class
RefCountPointer<const Numeric> ATDecimalOrDerived::round(const
DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/Numeric.hpp:72:
overriding definition as `class RefCountPointer<const AnyAtomicType>
Numeric::round(const DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/ATDecimalOrDerived.hpp:78:
conflicting return type specified for virtual function `class
RefCountPointer<const Numeric> ATDecimalOrDerived::invert(const
DynamicContext *) const'
/home/hostname/rootdir/dbxml-2.2.8/pathan/include/pathan/Numeric.hpp:78:
overriding definition as `class RefCountPointer<const AnyAtomicType>
Numeric::invert(const DynamicContext *) const'
make_real[1]: *** [XPath2Parser.lo] Error 1
make_real[1]: Leaving directory
`/home/hostname/rootdir/dbxml-2.2.8/pathan/src/parser'
make_real: *** [subdirs] Error 2