Commit Graph

9 Commits

Author SHA1 Message Date
Kefu Chai
38f99bc7af examples/librados: link c++ samples against libradospp
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-08 06:52:44 -08:00
Ji You
1803671166 examples/Makefile: add -Wno-unused-parameter to avoid compile error
Signed-off-by: You Ji <youji@ebay.com>
2018-08-15 18:20:17 -07:00
Nathan Cutler
ed76f04c68 example/librados: remove dependency on Boost system library
109e6022be introduced "-lboost_system" into
example/librados/Makefile but the Boost system library is no longer required
to compile and link hello_world.cc.

Fixes: http://tracker.ceph.com/issues/25054
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-21 12:22:49 +02:00
Mahati Chamarthy
5b027155b4 examples: fix link order in librados example Makefile
The library link order in librados example Makefile is incorrect
and as a result 'make' throws an error. This change fixes the order.

Signed-off-by: Mahati Chamarthy <mahati.chamarthy@intel.com>
2017-09-25 19:20:58 +05:30
Logan Blyth
89e36def22 Added libradosstriper example Signed-off-by: Logan Blyth <mrbojangles3@gmail.com> 2017-05-29 15:26:15 -04:00
Jesse Williamson
109e6022be librados examples: link and include from current source tree by default.
Fixes #15100. The Makefile now by default links and includes from the
current source tree's librados and offers another option for building
examples against the system's.

Signed-off-by: Jesse Williamson <nerd.cpp@gmail.com>
2016-03-17 15:31:43 -07:00
youji
19d0a59c79 Fix Makefile in example/librados file.
Signed-off-by: You Ji <jiyou09@gmail.com>
2015-10-19 23:53:27 -07:00
Adam Crume
10a476adfa examples: Add example for the librados C API
Simply copied and modified the C++ API example.

Signed-off-by: Adam Crume <adamcrume@gmail.com>
2014-08-21 10:57:28 -07:00
Greg Farnum
823435ce65 examples: add a librados/hello_world program
This is a simple program with lots of explanatory comments people
can use as a model for using librados.

Signed-off-by: Greg Farnum <greg@inktank.com>
2013-08-19 14:55:09 -07:00