ceph 0.50 - error compiling on arch
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
master/next/testing should now have the intrusive_ptr errors fixed. -Sam
Quoted 70 lines · alphe salas
/usr/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of 'boost::intrusive_ptr<T>::intrusive_ptr(T*, bool) [with T = MOSDPGLog]':osd/PG.h:871:26: required from here/usr/include/boost/smart_ptr/intrusive_ptr.hpp:67:34: error:
'intrusive_ptr_add_ref' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
osd/PG.cc:5717:6: note: 'voidboost::intrusive_ptr_add_ref(PG*)' declared here, later in the translation unit
In file included from/usr/include/boost/intrusive_ptr.hpp:16:0,from /usr/include/boost/statechart/event_base.hpp:15, from /usr/include/boost/statechart/event.hpp:11, from osd/PG.h:19, from osd/PG.cc:15:
/usr/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of 'boost::intrusive_ptr<T>::~intrusive_ptr() [with T = MOSDPGLog]':osd/PG.h:871:26: required from here/usr/include/boost/smart_ptr/intrusive_ptr.hpp:96:23: error:
'intrusive_ptr_release' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
osd/PG.cc:5718:6: note: 'voidboost::intrusive_ptr_release(PG*)' declared here, later in the translation unit
In file included from/usr/include/boost/intrusive_ptr.hpp:16:0,from /usr/include/boost/statechart/event_base.hpp:15, from /usr/include/boost/statechart/event.hpp:11, from osd/PG.h:19, from osd/PG.cc:15:
/usr/include/boost/smart_ptr/intrusive_ptr.hpp: In instantiation of 'boost::intrusive_ptr<T>::intrusive_ptr(const boost::intrusive_ptr<T>&) [with T = MOSDPGLog; boost::intrusive_ptr<T> = boost::intrusive_ptr<MOSDPGLog>]':/usr/include/boost/smart_ptr/intrusive_ptr.hpp:128:9: required from
'boost::intrusive_ptr<T>& boost::intrusive_ptr<T>::operator=(const boost::intrusive_ptr<T>&) [with T = MOSDPGLog; boost::intrusive_ptr<T> = boost::intrusive_ptr<MOSDPGLog>]'
osd/PG.cc:5201:16: required from here/usr/include/boost/smart_ptr/intrusive_ptr.hpp:91:23: error:
'intrusive_ptr_add_ref' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
osd/PG.cc:5717:6: note: 'voidboost::intrusive_ptr_add_ref(PG*)' declared here, later in the translation unit
make[3]: *** [libosd_a-PG.o] Error 1
make[3]: Leaving directory `/home/netruner/cephinstall/ceph-0.50/src/ceph-0.50/src' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/netruner/cephinstall/ceph-0.50/src/ceph-0.50/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/netruner/cephinstall/ceph-0.50/src/ceph-0.50/src'
make: *** [all-recursive] Error 1libboost used: 1.50
archlinux 64 bitsworks fine with 0.48
So my guess ceph 0.50 has changed anough to trigger that error.See the attached diff files betwin osd/PG.cc and
osd/PG.h0.50 and 0.48best regards
--
Alphé Salas
Ingeniero T.I
Quoted 11 lines
Kepler Data Recovery - Kepler Backup
Asturias 97, Las Condes
Santiago- Chile
((56 2) 362 7529
[email protected]
www.kepler.cl
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html