* [lttng-dev] LTTng undefined reference while building the sample application. [not found] <CAEN7SXPpZKTgHDU91AwwrzdVQeM+fr=06CKmLJqKUn6uiRbZwg@mail.gmail.com> @ 2018-08-01 15:06 ` Michael Jeanson 2018-08-02 6:10 ` Attel Raghavendra 0 siblings, 1 reply; 3+ messages in thread From: Michael Jeanson @ 2018-08-01 15:06 UTC (permalink / raw) [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #1: Type: text/plain, Size: 891 bytes --] 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* [lttng-dev] LTTng undefined reference while building the sample application. 2018-08-01 15:06 ` [lttng-dev] LTTng undefined reference while building the sample application Michael Jeanson @ 2018-08-02 6:10 ` Attel Raghavendra 2018-08-02 15:11 ` Jonathan Rajotte-Julien 0 siblings, 1 reply; 3+ messages in thread From: Attel Raghavendra @ 2018-08-02 6:10 UTC (permalink / raw) Thank you for your help! Raghu On Wed, Aug 1, 2018 at 8:36 PM Michael Jeanson <mjeanson at efficios.com> wrote: > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20180802/8b1c7a1e/attachment.html> ^ permalink raw reply [flat|nested] 3+ messages in thread
* [lttng-dev] LTTng undefined reference while building the sample application. 2018-08-02 6:10 ` Attel Raghavendra @ 2018-08-02 15:11 ` Jonathan Rajotte-Julien 0 siblings, 0 replies; 3+ messages in thread From: Jonathan Rajotte-Julien @ 2018-08-02 15:11 UTC (permalink / raw) Hi Raghu, On Thu, Aug 02, 2018 at 11:40:49AM +0530, Attel Raghavendra wrote: > Thank you for your help! > Raghu > > On Wed, Aug 1, 2018 at 8:36 PM Michael Jeanson <mjeanson at efficios.com> > wrote: > > > 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. Did you have a look at the doc? [1] https://lttng.org/docs/v2.10/#doc-c-application > > > I was able to compile the sample application successfully, however > > > facing the following linker problems. Please help to resolve the same. We will need the complete compile command, linker command used and that you identified the scenario [2] from the doc matching your situation. [2] https://lttng.org/docs/v2.10/#doc-building-tracepoint-providers-and-user-application Also could you give us the version of lttng-tools and lttng-ust installed? Cheers > > > > > > 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. > > > -- Jonathan Rajotte-Julien EfficiOS ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-08-02 15:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CAEN7SXPpZKTgHDU91AwwrzdVQeM+fr=06CKmLJqKUn6uiRbZwg@mail.gmail.com>
2018-08-01 15:06 ` [lttng-dev] LTTng undefined reference while building the sample application Michael Jeanson
2018-08-02 6:10 ` Attel Raghavendra
2018-08-02 15:11 ` Jonathan Rajotte-Julien
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox