Commit Graph

12 Commits

Author SHA1 Message Date
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
109e6022beb0920f2a4746bd8c541e975494f251 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
Kefu Chai
bd36f13163 doc: fix the links to http://ceph.com/docs
they should point to http://docs.ceph.com/docs/master/.. instead

Fixes: http://tracker.ceph.com/issues/19090
Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-03-15 16:40:07 +08: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
Michal Jarzabek
2fea3a56a6 examples/librados/hello_world.cc:missing semicolon
Signed-off-by: Michal Jarzabek <stiopa@gmail.com>
2015-09-26 14:45:22 +01:00
Brad Hubbard
26bcb362f4 Examples: hello_world.cc, content displayed after read is not null terminated.
Copy contents of bufferlist to a string before sending to stdout since a
bufferlist is not null terminated.

Fixes: #7822
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
2015-09-15 18:58:44 +10:00
Jiaying Ren
ca285d4d57 Fix typos in librados example code
Signed-off-by: Jiaying Ren <mikulely@gmail.com>
2015-06-17 23:47:09 +08: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