[lttng-dev] [PATCH lttng-tools] Link test utilities against urcu-bp
Jon Bernard
jbernard at debian.org
Wed Nov 28 16:08:45 EST 2012
* David Goulet <dgoulet at efficios.com> wrote:
> Hi Jon,
>
> Can you enlighten us on what setup are you using?
>
> This symbol is used by lttng-ust which is linked with -lurcu-bp so
> lttng-tools should not have an issue here.
>
> Are you cross-compiling ?
Nothing unusual, I'm building lttng-tools (version 2.1.8~rc8) from source
against URCU version 0.7.5 and UST version 2.1.0~rc2. During compilation
(configure with no additional parameters), I see the following:
make[3]: Entering directory `tests/tools/streaming'
CC unit_tests.o
CCLD unit_tests
CC gen-ust-events.o
CC tp.o
CCLD gen-ust-events
/usr/bin/ld: tp.o: undefined reference to symbol 'rcu_dereference_sym'
This link error occurs on each of the gen-events targets as there is no explicit
link against urcu-bp. I must have something different, as I'm sure you'd have
noticed this earlier. What additional information might you need?
Cheers
--
Jon
More information about the lttng-dev
mailing list