Skip to contentSkip to conversation

CentOS 6.2 build error

DISCUSSION Matt Weil 2 participants 2 messages Jun 8, 2012

lore
Share & tools
lore

Matt Weil

author
#0 lore raw
Quoted 18 lines
  CXX    libosdc_la-Objecter.lo
  CXX    libosdc_la-ObjectCacher.lo
  CXX    libosdc_la-Filer.lo

osdc/ObjectCacher.cc: In member function 'int ObjectCacher::_readx(ObjectCacher::OSDRead*, ObjectCacher::ObjectSet*, Context*, bool)':
osdc/ObjectCacher.cc:1043: error: 'INT_MAX' was not declared in this scope
make[3]: *** [libosdc_la-ObjectCacher.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47.2/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.ey4eKa (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.ey4eKa (%build)

#1 lore raw
Quoted 4 lines · Matt Weil
Quoted 4 lines

osdc/ObjectCacher.cc: In member function 'int ObjectCacher::_readx(ObjectCacher::OSDRead*, ObjectCacher::ObjectSet*, Context*, bool)':
osdc/ObjectCacher.cc:1043: error: 'INT_MAX' was not declared in this scope

This should be fixed in 9a9418ebfde1b29416c60da3e7fcf4f1e097e96c, which will be included in the next release.