* [lttng-dev] pkg-config --libs does not include -lurcu-bp
@ 2012-04-03 8:45 Stefan Hajnoczi
2012-04-03 12:47 ` Yannick Brosseau
2012-04-03 12:51 ` Mathieu Desnoyers
0 siblings, 2 replies; 4+ messages in thread
From: Stefan Hajnoczi @ 2012-04-03 8:45 UTC (permalink / raw)
It's necessary to link against -lurcu-bp when using LTTng UST but on
Debian testing with libust-dev 0.16-1 I get the following from
pkg-config:
$ pkg-config --libs ust
-lust
I see /ust/lib/pkgconfig/ust.pc already contains Requires.private:
liburcu-bp but that isn't reflected in the --libs output. Does it
need to be updated?
Thanks,
Stefan
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lttng-dev] pkg-config --libs does not include -lurcu-bp
2012-04-03 8:45 [lttng-dev] pkg-config --libs does not include -lurcu-bp Stefan Hajnoczi
@ 2012-04-03 12:47 ` Yannick Brosseau
2012-04-03 12:51 ` Mathieu Desnoyers
1 sibling, 0 replies; 4+ messages in thread
From: Yannick Brosseau @ 2012-04-03 12:47 UTC (permalink / raw)
On 2012-04-03 04:45, Stefan Hajnoczi wrote:
> It's necessary to link against -lurcu-bp when using LTTng UST but on
> Debian testing with libust-dev 0.16-1 I get the following from
> pkg-config:
>
> $ pkg-config --libs ust
> -lust
>
> I see /ust/lib/pkgconfig/ust.pc already contains Requires.private:
> liburcu-bp but that isn't reflected in the --libs output. Does it
> need to be updated?
>
Normally, you should not need to add -lurcu-bp to link with LTTng-UST.
(Which is why it's not in the pkg-config)
Which version of lttng-ust are you using?
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lttng-dev] pkg-config --libs does not include -lurcu-bp
2012-04-03 8:45 [lttng-dev] pkg-config --libs does not include -lurcu-bp Stefan Hajnoczi
2012-04-03 12:47 ` Yannick Brosseau
@ 2012-04-03 12:51 ` Mathieu Desnoyers
2012-04-03 20:59 ` Jon Bernard
1 sibling, 1 reply; 4+ messages in thread
From: Mathieu Desnoyers @ 2012-04-03 12:51 UTC (permalink / raw)
Hi Stefan,
I think Debian did not switch to LTTng 2.0 yet, am I correct ? It would
be good to do the switch pretty soon, as 0.x is being less and less
supported. All the packages have been created and integrated into the
Ubuntu 12.04 LTS universe.
I remember we ensured, in UST 0.x, that the libust.so is itself linked
against liburcu-bp, so the latter does not need to be explicitely
specified on the compiler/linker command line. I would recommend to
gradually deprecate the 0.x toolchain in favor of 2.0 though.
Thanks,
Mathieu
* Stefan Hajnoczi (stefanha at gmail.com) wrote:
> It's necessary to link against -lurcu-bp when using LTTng UST but on
> Debian testing with libust-dev 0.16-1 I get the following from
> pkg-config:
>
> $ pkg-config --libs ust
> -lust
>
> I see /ust/lib/pkgconfig/ust.pc already contains Requires.private:
> liburcu-bp but that isn't reflected in the --libs output. Does it
> need to be updated?
>
> Thanks,
> Stefan
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lttng-dev] pkg-config --libs does not include -lurcu-bp
2012-04-03 12:51 ` Mathieu Desnoyers
@ 2012-04-03 20:59 ` Jon Bernard
0 siblings, 0 replies; 4+ messages in thread
From: Jon Bernard @ 2012-04-03 20:59 UTC (permalink / raw)
* Mathieu Desnoyers <mathieu.desnoyers at efficios.com> wrote:
> Hi Stefan,
>
> I think Debian did not switch to LTTng 2.0 yet, am I correct ? It would
> be good to do the switch pretty soon, as 0.x is being less and less
> supported. All the packages have been created and integrated into the
> Ubuntu 12.04 LTS universe.
Yes, that is correct. 2.0 is not yet in Debian, I hope to update those packages
very soon.
--
Jon
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-03 20:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-03 8:45 [lttng-dev] pkg-config --libs does not include -lurcu-bp Stefan Hajnoczi
2012-04-03 12:47 ` Yannick Brosseau
2012-04-03 12:51 ` Mathieu Desnoyers
2012-04-03 20:59 ` Jon Bernard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox