[ltt-dev] linking ust with C++ code

Lior Assouline Lior.Assouline at harmonicinc.com
Thu Oct 6 12:05:36 EDT 2011


Hi All,
I'm trying to link the ust lib with a C++ project and get the following

undefined reference to `ust_marker_probe_cb(ust_marker const*, void*, ...)'
undefined reference to `__ust_marker_empty_function(ust_marker const*, void*, void*, char const*, char**)'

Are these indeed the effect of C to C++ issues ?
Is there a more elegant way to make it work other than wrapping everything with extern "C" ?

Thanks
Lior
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20111006/ade8333a/attachment-0002.htm>


More information about the lttng-dev mailing list