[lttng-dev] issue when installing LTTng on ubuntu

Alexandre Montplaisir alexmonthy at voxpopuli.im
Mon Jul 8 13:09:03 EDT 2013


Hi,

On 13-06-26 06:01 PM, tarek slaymia wrote:
> hi all, when installing lttng on ubuntu12.04 an issue is displayed related
> to lttng-modules-dkms module.
>
> Title of displayed message :
> lttng-modules-dkms 2.0.2-0ubuntu1 : lttng-modules kernel module failed to
> build.
>
> in file included from
> /var/lib/dkms/lttng-modules/2.0.2/build/probes/../instrumentation/event/lttng-module/../../..probes/lttng-events.h:98:0
> /var/lib/dkms/lttng-modules/2.0.2/build/probes/../instrumentation/event/lttng-module/../../..probes/define_trace.h:117
> /var/lib/dkms/lttng-modules/2.0.2/build/probes/../instrumentation/event/lttng-module/signal.h:165
> /var/lib/dkms/lttng-modules/2.0.2/build/probes/lttng-probe-signal.c:38:
> /var/lib/dkms/lttng-modules/2.0.2/build/probes/../instrumentation/event/lttng-module/signal.h:61:1:erreur:conflicting
> types
>
> Environment:
> - on ubuntu 12.04.2 LTS - release amd64
> - Linux 3.5.0-23-genericx86_64

When 12.04 came out, it came with kernel 3.2, and lttng-modules 2.0.2
was tested with that kernel. Newer revisions of 12.04 come with a more
recent kernel (see [1]). It's possible that the compatibility was broken
since. I don't have a 12.04 install to test it here, but if that's the
case, that bug should be reported to Ubuntu.

In the meanwhile, your best bet is to use the latest version of LTTng.
You can install the whole toolchain from the LTTng Stable PPA [2].

Cheers,
Alexandre


[1] https://wiki.ubuntu.com/Kernel/LTSEnablementStack
[2] https://launchpad.net/~lttng/+archive/ppa

>
> BR
>




More information about the lttng-dev mailing list