Re: Question about librados

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/04/2011 06:09 PM, Gregory Farnum wrote:
On Mon, Apr 4, 2011 at 4:33 AM, Rutger ter Borg<rutger@xxxxxxxxxxx>  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


--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux