----- Original Message ----- > From: "Ritchie Vickery" <ritchie.vick...@imgtec.com> > To: lttng-dev@lists.lttng.org > Sent: Wednesday, March 12, 2014 7:09:08 AM > Subject: [lttng-dev] undefined reference to `lttng_probe_register
> 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? You probably forgot to link the tracepoint probe against liblttng-ust. See lttng-ust(3) manpage for details. Thanks, Mathieu > Many thanks, > Ritchie > _______________________________________________ > lttng-dev mailing list > lttng-dev@lists.lttng.org > http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev -- Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com
_______________________________________________ lttng-dev mailing list lttng-dev@lists.lttng.org http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev