[lttng-dev] Error building lttng 2.10.5 on Fedora 27
Michael Jeanson
mjeanson at efficios.com
Wed May 9 13:31:37 EDT 2018
On 2018-05-08 04:31 PM, Jonah Benton wrote:
> 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
Hi,
Support for linux 4.16 requires patches that are no yet in a stable 2.10
release. You can get them from the git repo in the stable-2.10 branch or
wait for the 2.10.6 release which should happen before the end of the week.
Cheers,
Michael
More information about the lttng-dev
mailing list