Project

General

Profile

Actions

Bug #1162

closed

lttng-modules failed to build (CentOS 6.8)

Added by Daniel Doron almost 6 years ago. Updated almost 6 years ago.

Status:
Won't fix
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
05/15/2018
Due date:
% Done:

0%

Estimated time:

Description

#machine
Linux Centos68-daniel 2.6.32-642.el6.x86_64 #1 SMP Tue May 10 17:27:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

#version
lttng-modules-2.10.6

#output
[root@Centos68-daniel lttng-modules-2.10.6]# KERNELDIR=/usr/src/kernels/$(uname -r) make
make -C /usr/src/kernels/2.6.32-642.el6.x86_64 M=/root/lttng-modules-2.10.6 CONFIG_LTTNG=m CONFIG_LTTNG_CLOCK_PLUGIN_TEST=m modules
make1: Entering directory `/usr/src/kernels/2.6.32-642.el6.x86_64'
CC [M] /root/lttng-modules-2.10.6/lttng-ring-buffer-client-discard.o
In file included from /root/lttng-modules-2.10.6/wrapper/ringbuffer/backend.h:1,
from /root/lttng-modules-2.10.6/lib/ringbuffer/api.h:26,
from /root/lttng-modules-2.10.6/wrapper/ringbuffer/api.h:1,
from /root/lttng-modules-2.10.6/lttng-ring-buffer-client.h:180,
from /root/lttng-modules-2.10.6/lttng-ring-buffer-client-discard.c:29:
/root/lttng-modules-2.10.6/lib/ringbuffer/backend.h: In function ‘lib_ring_buffer_do_strcpy’:
/root/lttng-modules-2.10.6/lib/ringbuffer/backend.h:172: warning: passing argument 1 of ‘__read_once_size’ discards qualifiers from pointer target type
include/linux/compiler.h:173: note: expected ‘volatile void ’ but argument is of type ‘const char *’
/root/lttng-modules-2.10.6/lib/ringbuffer/backend.h:172: warning: passing argument 2 of ‘__read_once_size’ discards qualifiers from pointer target type
include/linux/compiler.h:173: note: expected ‘void *’ but argument is of type ‘const char *’
In file included from /root/lttng-modules-2.10.6/wrapper/ringbuffer/frontend_api.h:1,
from /root/lttng-modules-2.10.6/lib/ringbuffer/api.h:35,
from /root/lttng-modules-2.10.6/wrapper/ringbuffer/api.h:1,
from /root/lttng-modules-2.10.6/lttng-ring-buffer-client.h:180,
from /root/lttng-modules-2.10.6/lttng-ring-buffer-client-discard.c:29:
/root/lttng-modules-2.10.6/lib/ringbuffer/frontend_api.h:77:1: error: pasting "per_cpu__" and "
" does not give a valid preprocessing token
In file included from /root/lttng-modules-2.10.6/wrapper/ringbuffer/frontend_api.h:1,
from /root/lttng-modules-2.10.6/lib/ringbuffer/api.h:35,
from /root/lttng-modules-2.10.6/wrapper/ringbuffer/api.h:1,
from /root/lttng-modules-2.10.6/lttng-ring-buffer-client.h:180,
from /root/lttng-modules-2.10.6/lttng-ring-buffer-client-discard.c:29:
/root/lttng-modules-2.10.6/lib/ringbuffer/frontend_api.h: In function ‘lib_ring_buffer_put_cpu’:
/root/lttng-modules-2.10.6/lib/ringbuffer/frontend_api.h:77: error: ‘per_cpu__’ undeclared (first use in this function)
/root/lttng-modules-2.10.6/lib/ringbuffer/frontend_api.h:77: error: (Each undeclared identifier is reported only once
/root/lttng-modules-2.10.6/lib/ringbuffer/frontend_api.h:77: error: for each function it appears in.)
/root/lttng-modules-2.10.6/lib/ringbuffer/frontend_api.h:77: error: ‘lib_ring_buffer_nesting’ undeclared (first use in this function)
/root/lttng-modules-2.10.6/lib/ringbuffer/frontend_api.h:77: warning: type defaults to ‘int’ in declaration of ‘type name’
/root/lttng-modules-2.10.6/lib/ringbuffer/frontend_api.h:77: error: invalid type argument of ‘unary ’ (have ‘int’)
make2:
[/root/lttng-modules-2.10.6/lttng-ring-buffer-client-discard.o] Error 1
make1:
[_module_/root/lttng-modules-2.10.6] Error 2
make1: Leaving directory `/usr/src/kernels/2.6.32-642.el6.x86_64'
make: *
* [modules] Error 2

Actions #1

Updated by Michael Jeanson almost 6 years ago

  • Status changed from New to Won't fix

Hi,

Unfortunatly, lttng-modules is only supported on linux >= 2.6.36, upgrading to CentOS7 would work.

Regards,

Michael

Actions

Also available in: Atom PDF