Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: irina.guilman@ericsson.com (Irina Guilman)
Subject: [ltt-dev] Problem using UST 0.13
Date: Wed, 8 Jun 2011 13:33:21 -0400	[thread overview]
Message-ID: <450AE4BEC513614F96969DDA34F359341928DC7BFE@EUSAACMS0701.eamcs.ericsson.se> (raw)
In-Reply-To: <4DEFB199.70706@gmail.com>

If you still have version 12, make sure LDFLAGS points to version 13 libraries. 

-----Original Message-----
From: Yannick Brosseau [mailto:yannick.brosseau@gmail.com] 
Sent: June 8, 2011 1:30 PM
To: ltt-dev at lists.casi.polymtl.ca
Subject: Re: [ltt-dev] Problem using UST 0.13

Hi,

Did you uninstall UST 0.12 before trying 0.13?

On 2011-06-08 12:01, Bernd Hufmann wrote:
> Hello
>
> I've just installed UST 0.13 on my laptop (Ubuntu) and I trying to use it. I took the example (see [1]) from the UST user manual. When I compile and link (see [2])  then I get some error print-outs (see [3]).
> I don't know what is missing. Could someone please help me so that I can use UST 0.13? By the way, with UST 0.12 it works fine.
>
> Best Regards
> Bernd
>
>
> [1] Example program in file ustexample.c #include <ust/marker.h>
>
> int main(int argc, char **argv)
> {
>    int v;
>    char *st;
>
>    /* ... set values of v and st ... */
>
>    /* a marker: */
>    trace_mark(ust, myevent, "firstarg %d secondarg %s", v, st);
>
>    /* a marker without arguments: */
>    trace_mark(ust, myotherevent, MARK_NOARGS);
>
>    return 0;
> }
>
> [2] Compilation
> gcc  -o ustexample -lust ustexample.c
>
> [3] Error
> //usr/local/lib/libust-initializer.o: In function `__ust_marker__destroy':
> /home/eedbhu/git/ust/libust-initializer.c:14: undefined reference to `ust_marker_unregister_lib'
> //usr/local/lib/libust-initializer.o: In function `__ust_marker__init':
> /home/eedbhu/git/ust/libust-initializer.c:14: undefined reference to `ust_marker_register_lib'
> /tmp/ccCco0tC.o:(__ust_markers+0x14): undefined reference to `ust_marker_probe_cb'
> /tmp/ccCco0tC.o:(__ust_markers+0x18): undefined reference to `__ust_marker_empty_function'
> /tmp/ccCco0tC.o:(__ust_markers+0x54): undefined reference to `ust_marker_probe_cb'
> /tmp/ccCco0tC.o:(__ust_markers+0x58): undefined reference to `__ust_marker_empty_function'
> collect2: ld returned 1 exit status
>
>
>
>
>
>
> _______________________________________________
> ltt-dev mailing list
> ltt-dev at lists.casi.polymtl.ca
> http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev


_______________________________________________
ltt-dev mailing list
ltt-dev at lists.casi.polymtl.ca
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev




  reply	other threads:[~2011-06-08 17:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08 16:01 Bernd Hufmann
2011-06-08 16:31 ` Irina Guilman
2011-06-08 19:32   ` Mathieu Desnoyers
2011-06-08 17:30 ` Yannick Brosseau
2011-06-08 17:33   ` Irina Guilman [this message]
2011-06-08 17:52     ` Bernd Hufmann
2011-06-08 17:52       ` Bernd Hufmann
2011-06-08 17:52       ` Bernd Hufmann
2011-06-08 17:59       ` Bernd Hufmann
2011-06-08 17:59         ` Bernd Hufmann
2011-06-08 17:59         ` Bernd Hufmann
2011-06-08 18:20 ` Nils Carlson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=450AE4BEC513614F96969DDA34F359341928DC7BFE@EUSAACMS0701.eamcs.ericsson.se \
    --to=irina.guilman@ericsson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox