Hi,

Trying to build the hadoop-0.22 branch on Centos 6.1 and fails (on both 32 and 64 bit versions) with:

     [exec] In file included from recordio.cc:22:
[exec] xmlarchive.hh:77: error: conflicting return type specified for 'virtual unsigned int hadoop::MyBinInputStream::curPos() const' [exec] /usr/include/xercesc/util/BinInputStream.hpp:41: error: overriding 'virtual XMLFilePos xercesc_3_0::BinInputStream::curPos() const' [exec] xmlarchive.hh: In member function 'virtual xercesc_3_0::BinInputStream* hadoop::MyInputSource::makeStream() const': [exec] xmlarchive.hh:97: error: cannot allocate an object of abstract type 'hadoop::MyBinInputStream' [exec] xmlarchive.hh:71: note: because the following virtual functions are pure within 'hadoop::MyBinInputStream': [exec] /usr/include/xercesc/util/BinInputStream.hpp:43: note: virtual XMLSize_t xercesc_3_0::BinInputStream::readBytes(XMLByte*, XMLSize_t) [exec] /usr/include/xercesc/util/BinInputStream.hpp:67: note: virtual const XMLCh* xercesc_3_0::BinInputStream::getContentType() const

Version of xerces is:

rpm -qa | grep xerces-c
xerces-c-3.0.1-20.el6.x86_64
xerces-c-devel-3.0.1-20.el6.x86_64

Is there a dependency on xereces-c 3.1 (or earlier versions)? Have searched G but not found any solutions. Will I need to install xerces-c 3.1 manually?

Regards,

Graeme

Reply via email to