Project

General

Profile

Actions

Bug #1172

closed

lttng-modules 2.10.6 does not compile under CentOS 7.6

Added by Charlie Brady over 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
Start date:
12/05/2018
Due date:
% Done:

0%

Estimated time:

Description

...
CC [M] /home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default/probes
/lttng-probe-timer.o
In file included from /home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/de
fault/probes/../probes/define_trace.h:100:0,
from /home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/de
fault/probes/../instrumentation/events/lttng-module/timer.h:354,
from /home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/de
fault/probes/lttng-probe-timer.c:43:
/home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default/probes/../probes/lttng-tracepoint-event-impl.h:143:6: error: conflicting types for 'trace_timer_start'
void trace_##_name(proto);
^
/home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default/probes/../probes/lttng-tracepoint-event-impl.h:55:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP'
LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(map, name, map, PARAMS, PARAMS)
^
/home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default/probes/../probes/lttng-tracepoint-event-impl.h:97:2: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT_MAP'
LTTNG_TRACEPOINT_EVENT_MAP(name, name, \
^
/home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default/probes/../instrumentation/events/lttng-module/timer.h:75:1: note: in expansion of macro 'LTTNG_TRACEPOINT_EVENT'
LTTNG_TRACEPOINT_EVENT(timer_start,
^
In file included from include/linux/module.h:18:0,
from /home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default/probes/lttng-probe-timer.c:23:
include/linux/tracepoint.h:176:21: note: previous definition of 'trace_timer_start' was here
static inline void trace
##name(proto) \
^
include/linux/tracepoint.h:283:3: note: in expansion of macro '__DECLARE_TRACE'
_DECLARE_TRACE(name, PARAMS, PARAMS, 1, \
^
include/linux/tracepoint.h:415:2: note: in expansion of macro 'DECLARE_TRACE'
DECLARE_TRACE(name, PARAMS, PARAMS)
^
include/trace/events/timer.h:44:1: note: in expansion of macro 'TRACE_EVENT'
TRACE_EVENT(timer_start,
^
make3: * [/home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default/probes/lttng-probe-timer.o] Error 1
make2:
[/home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default/probes] Error 2
make2:
Waiting for unfinished jobs....
make1:
[_module
/home/speech/bradyc/rpms/BUILD/lttng-modules-2.10.6/obj/default] Error 2
make1: Leaving directory `/usr/src/kernels/3.10.0-957.1.3.el7.x86_64'
make: *
* [modules] Error 2

Actions

Also available in: Atom PDF