[lttng-dev] undefined reference to `lttng_probe_register

Ritchie Vickery Ritchie.Vickery at imgtec.com
Wed Mar 12 07:09:08 EDT 2014


Hi,

I'm trying to setup lttng for the first time.

I've made librcu, lttng-ust, lttng-tools and lttng-modules and have instrumented some User code.

I have run the tool to generate the tracepoint code:
$ lttng-gen-tp ustrcv.tp -o ustrcv.h -o ustrcv.c

However, at the point where the user-mode library containing ustrcv.o gets linked, I see the following error:
/usr/local/include/lttng/ust-tracepoint-event.h:779: undefined reference to `lttng_probe_register'

Does anyone have any ideas what I may have missed?


Many thanks,

Ritchie

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140312/2ef28f51/attachment.html>


More information about the lttng-dev mailing list