From: Rutger ter Borg <rutger@terborg.net>
To: ceph-devel@vger.kernel.org
Subject: Re: Question about librados
Date: Tue, 05 Apr 2011 08:44:15 +0200 [thread overview]
Message-ID: <inedo0$3v2$1@dough.gmane.org> (raw)
In-Reply-To: <BANLkTi=-9ESbE5uaMZYBH2X9Q5y-gPtW7w@mail.gmail.com>
On 04/04/2011 06:09 PM, Gregory Farnum wrote:
> On Mon, Apr 4, 2011 at 4:33 AM, Rutger ter Borg<rutger@terborg.net> wrote:
>>
>> Hello,
>>
>> I'm in the progress of evaluating librados as an object store. I'm using
>> Debian's latest packages as of today, and noted that I need to define
>> NO_ATOMIC_OPS to get something compiled that includes librados.hpp.
> Hmmm, that's not right! Can you elaborate? It just doesn't build
> librados.hpp unless you define NO_ATOMIC_OPS? Is there a build error
> at some point?
[snip]
Hello Greg,
thanks for the elaborate answer! With respect to the compile error, I
got this in an empty file with just including rados/librados.hpp
$ g++ ./rados.cpp
In file included from /usr/include/rados/buffer.h:55:0,
from /usr/include/rados/librados.hpp:10,
from ./rados.cpp:6:
/usr/include/rados/atomic.h:25:24: fatal error: atomic_ops.h: No such
file or directory
compilation terminated.
Maybe it has to do with the .deb, apt pulled in librados2,
$ dpkg --status librados-dev
Version: 0.25.2-1
Cheers,
Rutger
next prev parent reply other threads:[~2011-04-05 6:44 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-04 11:33 Question about librados Rutger ter Borg
2011-04-04 16:09 ` Gregory Farnum
2011-04-05 6:44 ` Rutger ter Borg [this message]
2011-04-05 13:42 ` Gregory Farnum
2011-04-05 13:50 ` Rutger ter Borg
2011-04-05 14:07 ` Wido den Hollander
2011-04-05 16:57 ` Tommi Virtanen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='inedo0$3v2$1@dough.gmane.org' \
--to=rutger@terborg.net \
--cc=ceph-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.