From mboxrd@z Thu Jan 1 00:00:00 1970 From: mjeanson@efficios.com (Michael Jeanson) Date: Wed, 1 Aug 2018 11:06:44 -0400 Subject: [lttng-dev] LTTng undefined reference while building the sample application. In-Reply-To: References: Message-ID: <365f8241-e04e-95b7-881a-f9ffc6d0e555@efficios.com> On 2018-08-01 07:22 AM, Attel Raghavendra wrote: > Hi Team, > > I have new to the LTTng. I am trying to build a sample application to > test the LTTng. > I was able to compile the sample application successfully, however > facing the following linker problems. Please help to resolve the same.   > > xx_app.o:(__tracepoints+0x18): undefined reference to > `__tracepoint_provider_rttLogger' > xx_tpp.o: In function `__tracepoint_provider_check_rttlogger': > xx_tpp.c:(.text+0x271): undefined reference to > `__tracepoint_provider_mismatch_rttLogger' > xx_tpp.c:(.text+0x27b): undefined reference to > `__tracepoint_provider_mismatch_rttLogger' > collect2: error: ld returned 1 exit status > > > Thank you, > Raghu. > Hi Raghu, The correct address to reach the mailing list is: lttng-dev at lists.lttng.org I've CC'd the list so someone can answer your question. Cheers, Michael