Skip to contentSkip to conversation

compile error for ceph-0.28.*.tar.gz

DISCUSSION Simon Tian 3 participants 6 messages May 31, 2011 – Jun 1, 2011

lore
Share & tools
lore

Simon Tian

author
#0 lore raw

hi folks,

When I make ceph after ./configure, error comes both in 0.28.1
and 0.28.2 like bellow:

./include/encoding.h:294: error: no matching function for call to ?.ecode(PG::Log::Entry&, ceph::buffer::list::iterator&)? ./include/encoding.h:42: note: candidates are: void decode(__u8&, ceph::buffer::list::iterator&)
... ...

./include/encoding.h:406: error: no matching function for call to ?.ncode(const PG::Missing::item&, ceph::buffer::list&)? ./include/encoding.h:42: note: candidates are: void encode(const __u8&, ceph::bufferlist&)
... ...

I just download them from http://ceph.newdream.net/download/ceph-0.28.*.tar.gz

Thx!
Simon

#1 lore raw
Quoted 11 lines · Simon Tian

hi folks,

When I make ceph after ./configure, error comes both in 0.28.1
and 0.28.2 like bellow:

./include/encoding.h:294: error: no matching function for call to ?.ecode(PG::Log::Entry&, ceph::buffer::list::iterator&)? ./include/encoding.h:42: note: candidates are: void decode(__u8&, ceph::buffer::list::iterator&)
... ...

Quoted 8 lines

./include/encoding.h:406: error: no matching function for call to ?.ncode(const PG::Missing::item&, ceph::buffer::list&)? ./include/encoding.h:42: note: candidates are: void encode(const __u8&, ceph::bufferlist&)
... ...

I just download them from http://ceph.newdream.net/download/ceph-0.28.*.tar.gz

I just built ceph-0.28.2 from the tarball, with ./configure && make, and had no problems.

What operating system and version are you trying to build it on?

Does the output really say "?.ecode" and "?.ncode"? Those seem really odd. Can this machine successfully compile bigger projects, e.g. the Linux kernel? That's a good general test of hardware reliability..

Signature · 1 line
:(){ :|:&};:
#2 lore raw
Quoted 21 lines · Tommi Virtanen
Quoted 11 lines · Simon Tian

hi folks,

When I make ceph after ./configure, error comes both in 0.28.1
and 0.28.2 like bellow:

./include/encoding.h:294: error: no matching function for call to ?.ecode(PG::Log::Entry&, ceph::buffer::list::iterator&)? ./include/encoding.h:42: note: candidates are: void decode(__u8&, ceph::buffer::list::iterator&)
... ...

Quoted 8 lines

./include/encoding.h:406: error: no matching function for call to ?.ncode(const PG::Missing::item&, ceph::buffer::list&)? ./include/encoding.h:42: note: candidates are: void encode(const __u8&, ceph::bufferlist&)
... ...

I just download them from http://ceph.newdream.net/download/ceph-0.28.*.tar.gz

Quoted 9 lines

I just built ceph-0.28.2 from the tarball, with ./configure && make, and had no problems.

What operating system and version are you trying to build it on?

Does the output really say "?.ecode" and "?.ncode"? Those seem really odd. Can this machine successfully compile bigger projects, e.g. the Linux kernel? That's a good general test of hardware reliability..

FWIW, I believe I saw such errors on RHEL 5 due to it having boost v1.33.1, while Ceph needs v1.34 or newer to get statechart.

-- Jim

#3 lore raw
Quoted 2 lines · Jim Schutt

FWIW, I believe I saw such errors on RHEL 5 due to it having boost v1.33.1, while Ceph needs v1.34 or newer to get statechart.

It seems we don't have a versioned dependency on libboost. I created a ticket to make it so. Like a captain.

http://tracker.newdream.net/issues/1124

Signature · 1 line
:(){ :|:&};:
author
#4 lore raw

I found it is difficult to update boost on all my rhel5.4 hosts, is there any way to make ceph-0.28.* successfully on rhel5.4 with old boost?

2011/6/1 Tommi Virtanen <[email protected]>:

Quoted 12 lines · Jim Schutt
Quoted 2 lines

FWIW, I believe I saw such errors on RHEL 5 due to it having boost v1.33.1, while Ceph needs v1.34 or newer to get statechart.

It seems we don't have a versioned dependency on libboost. I created a ticket to make it so. Like a captain.

http://tracker.newdream.net/issues/1124

--
:(){ :|:&};:

#5 lore raw
Quoted 3 lines · Simon Tian

I found it is difficult to update boost on all my rhel5.4 hosts, is there any way to make ceph-0.28.* successfully on rhel5.4 with old boost?

My understanding is that the OSD peering refactor made Ceph use boost::statechart heavily, and older versions of libboost might not include that feature, or it might not work quite the same way.

Sam, do you know whether the OSD refactor requires some specific minimum version of libboost? I'd like to get the minimum known good version recorded in autoconf & packaging, as per the ticket..

Signature · 1 line
:(){ :|:&};: