* compile error for ceph-0.28.*.tar.gz
@ 2011-05-31 6:23 Simon Tian
2011-05-31 17:24 ` Tommi Virtanen
0 siblings, 1 reply; 6+ messages in thread
From: Simon Tian @ 2011-05-31 6:23 UTC (permalink / raw)
To: ceph-devel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compile error for ceph-0.28.*.tar.gz
2011-05-31 6:23 compile error for ceph-0.28.*.tar.gz Simon Tian
@ 2011-05-31 17:24 ` Tommi Virtanen
2011-05-31 17:52 ` Jim Schutt
0 siblings, 1 reply; 6+ messages in thread
From: Tommi Virtanen @ 2011-05-31 17:24 UTC (permalink / raw)
To: Simon Tian; +Cc: ceph-devel
On Tue, May 31, 2011 at 02:23:10PM +0800, Simon Tian wrote:
> 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
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..
--
:(){ :|:&};:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compile error for ceph-0.28.*.tar.gz
2011-05-31 17:24 ` Tommi Virtanen
@ 2011-05-31 17:52 ` Jim Schutt
2011-05-31 18:48 ` Tommi Virtanen
0 siblings, 1 reply; 6+ messages in thread
From: Jim Schutt @ 2011-05-31 17:52 UTC (permalink / raw)
To: Tommi Virtanen; +Cc: Simon Tian, ceph-devel
Tommi Virtanen wrote:
> On Tue, May 31, 2011 at 02:23:10PM +0800, Simon Tian wrote:
>> 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
>
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compile error for ceph-0.28.*.tar.gz
2011-05-31 17:52 ` Jim Schutt
@ 2011-05-31 18:48 ` Tommi Virtanen
2011-06-01 9:46 ` Simon Tian
0 siblings, 1 reply; 6+ messages in thread
From: Tommi Virtanen @ 2011-05-31 18:48 UTC (permalink / raw)
To: Jim Schutt; +Cc: Simon Tian, ceph-devel
On Tue, May 31, 2011 at 11:52:35AM -0600, Jim Schutt wrote:
> 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
--
:(){ :|:&};:
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compile error for ceph-0.28.*.tar.gz
2011-05-31 18:48 ` Tommi Virtanen
@ 2011-06-01 9:46 ` Simon Tian
2011-06-01 15:42 ` Tommi Virtanen
0 siblings, 1 reply; 6+ messages in thread
From: Simon Tian @ 2011-06-01 9:46 UTC (permalink / raw)
To: Tommi Virtanen; +Cc: Jim Schutt, ceph-devel
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 <tommi.virtanen@dreamhost.com>:
> On Tue, May 31, 2011 at 11:52:35AM -0600, Jim Schutt wrote:
>> 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
>
> --
> :(){ :|:&};:
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: compile error for ceph-0.28.*.tar.gz
2011-06-01 9:46 ` Simon Tian
@ 2011-06-01 15:42 ` Tommi Virtanen
0 siblings, 0 replies; 6+ messages in thread
From: Tommi Virtanen @ 2011-06-01 15:42 UTC (permalink / raw)
To: Simon Tian, Sam Just; +Cc: Jim Schutt, ceph-devel
On Wed, Jun 01, 2011 at 05:46:30PM +0800, Simon Tian wrote:
> 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..
--
:(){ :|:&};:
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-01 15:42 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-31 6:23 compile error for ceph-0.28.*.tar.gz Simon Tian
2011-05-31 17:24 ` Tommi Virtanen
2011-05-31 17:52 ` Jim Schutt
2011-05-31 18:48 ` Tommi Virtanen
2011-06-01 9:46 ` Simon Tian
2011-06-01 15:42 ` Tommi Virtanen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.