CEPH filesystem development
 help / color / mirror / Atom feed
* Linking libraries into librados
@ 2015-02-15  5:15 Rafael Shuker
  2015-02-16 13:08 ` Wido den Hollander
  0 siblings, 1 reply; 2+ messages in thread
From: Rafael Shuker @ 2015-02-15  5:15 UTC (permalink / raw)
  To: ceph-devel

Hey guys,

This is my first time posting to this list, and I am a newbie in Ceph
development.

I am trying to write new functions into librados.cc and call external
libraries from that very function.

My problem is that I can't get my head around this build system when
using ./run-make-check.sh and adding a new <some-library-path>.a to
the src/librados/Makefile.am is giving me a headache.

I have successfully adjusted librados.cc and librados.h to do some
what I wanted, but whenever I reference a function in my external
library I get a undefined reference exception during compilation. I
have assumed that this is because I am not linking the library
correctly and would like to know what the correct way to link a .a
library for librados.cc.

TLDR: What is the correct way to add a library for librados.cc?

Thank you all for your help, please tell me if I can provide any more
information.

Cheers

Rafa.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-02-16 13:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-15  5:15 Linking libraries into librados Rafael Shuker
2015-02-16 13:08 ` Wido den Hollander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox