[lttng-dev] Error building lttng 2.10.5 on Fedora 27

Jonah Benton jonah at jonah.com
Tue May 8 16:31:07 EDT 2018


Hi folks,

Looking forward to taking lttng for a spin.

I'm on:

[jbenton at localhost lttng-modules-2.10.5]$ uname -a
Linux localhost.localdomain 4.16.5-200.fc27.x86_64 #1 SMP Fri Apr 27
19:05:44 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Following along:

https://lttng.org/docs/v2.10/#doc-fedora

I'm failing to build:

[jbenton at localhost lttng-modules-2.10.5]$ make clean
make -C /lib/modules/4.16.5-200.fc27.x86_64/build
M=/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5 clean
make[1]: Entering directory '/usr/src/kernels/4.16.5-200.fc27.x86_64'
make[1]: Leaving directory '/usr/src/kernels/4.16.5-200.fc27.x86_64'

[jbenton at localhost lttng-modules-2.10.5]$ make
make -C /lib/modules/4.16.5-200.fc27.x86_64/build
M=/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5 CONFIG_LTTNG=m
CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m modules
make[1]: Entering directory '/usr/src/kernels/4.16.5-200.fc27.x86_64'
  CC [M]
/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5/lttng-ring-buffer-client-discard.o
...
  CC [M]
/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5/probes/lttng-probe-sched.o
  CC [M]
/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5/probes/lttng-probe-irq.o
  CC [M]
/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5/probes/lttng-probe-timer.o
In file included from
/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5/probes/../probes/define_trace.h:100:0,
                 from
/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5/probes/../instrumentation/events/lttng-module/timer.h:332,
                 from
/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5/probes/lttng-probe-timer.c:43:
/home/jbenton/src/local/ksoftirq/lttng-modules-2.10.5/probes/../probes/lttng-tracepoint-event-impl.h:142:6:
error: conflicting types for ‘trace_hrtimer_start’
 void trace_##_name(_proto);
      ^

Thoughts?

Thanks!

Jonah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20180508/94ce0216/attachment.html>


More information about the lttng-dev mailing list