[lttng-dev] Problem compiling lttng-modules

Bernd Hufmann Bernd.Hufmann at ericsson.com
Wed Dec 7 09:57:33 EST 2011


Hello

I tried to compile the lttng-modules (LTTng2.0) from source code on 
Ubuntu 10.10 running in a virtual machine (VMware). When I execute make 
I get a compilation error (see end of email). Could some have a look and 
let me know how this problem can be fixed? Thank you very much.

Here are the machine details:
Linux Ubuntu32bits 2.6.35-31-generic #62-Ubuntu SMP Tue Nov 8 14:00:30 
UTC 2011 i686 GNU/Linux

git details:
master, commit db73a0c4f7393aa8159b32aacef43d27eb62ecf1

Best Regards
Bernd


make -C /lib/modules/2.6.35-31-generic/build 
M=/home/toside/git/lttng-modules modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-31-generic'
CC [M] /home/toside/git/lttng-modules/lttng-syscalls.o
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../ltt-tracer.h:24,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-types.h:21,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-events.h:12,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/define_trace.h:105,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h:839,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_integers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:59:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../wrapper/trace-clock.h: 
In function ‘get_trace_clock’:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../wrapper/trace-clock.h:66: 
warning: #warning "LTTng: Using mainline kernel monotonic clock. NMIs 
will not be traced, and expect significant performance degradation 
compared to the LTTng trace clocks. Integration of the LTTng 0.x trace 
clocks into LTTng 2.0 is planned in a near future."
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_pointers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:62:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h: 
At top level:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: its scope is only this definition or declaration, which is 
probably not what you want
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/syscalls_pointers.h:8,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-events.h:86,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/define_trace.h:105,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1671,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_pointers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:62:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1449: 
error: conflicting types for ‘trace_sys_prlimit64’
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1449: 
note: previous definition of ‘trace_sys_prlimit64’ was here
make[2]: *** [/home/toside/git/lttng-modules/lttng-syscalls.o] Error 1
make[1]: *** [_module_/home/toside/git/lttng-modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-31-generic'
make: *** [default] Error 2
toside at Ubuntu32bits:~/git/lttng-modules$ sudo make
make -C /lib/modules/2.6.35-31-generic/build 
M=/home/toside/git/lttng-modules modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-31-generic'
CC [M] /home/toside/git/lttng-modules/lttng-syscalls.o
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../ltt-tracer.h:24,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-types.h:21,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-events.h:12,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/define_trace.h:105,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h:839,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_integers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:59:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../wrapper/trace-clock.h: 
In function ‘get_trace_clock’:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../wrapper/trace-clock.h:66: 
warning: #warning "LTTng: Using mainline kernel monotonic clock. NMIs 
will not be traced, and expect significant performance degradation 
compared to the LTTng trace clocks. Integration of the LTTng 0.x trace 
clocks into LTTng 2.0 is planned in a near future."
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_pointers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:62:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h: 
At top level:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: its scope is only this definition or declaration, which is 
probably not what you want
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/syscalls_pointers.h:8,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-events.h:86,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/define_trace.h:105,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1671,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_pointers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:62:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1449: 
error: conflicting types for ‘trace_sys_prlimit64’
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1449: 
note: previous definition of ‘trace_sys_prlimit64’ was here
make[2]: *** [/home/toside/git/lttng-modules/lttng-syscalls.o] Error 1
make[1]: *** [_module_/home/toside/git/lttng-modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-31-generic'
make: *** [default] Error 2
toside at Ubuntu32bits:~/git/lttng-modules$ sudo make clean
make -C /lib/modules/2.6.35-31-generic/build 
M=/home/toside/git/lttng-modules clean
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-31-generic'
CLEAN /home/toside/git/lttng-modules/.tmp_versions
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-31-generic'
toside at Ubuntu32bits:~/git/lttng-modules$ make
make -C /lib/modules/2.6.35-31-generic/build 
M=/home/toside/git/lttng-modules modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-31-generic'
CC [M] /home/toside/git/lttng-modules/ltt-ring-buffer-client-discard.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/ltt-ring-buffer-client-discard.c:12:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/ltt-ring-buffer-client-overwrite.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/ltt-ring-buffer-client-overwrite.c:12:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/ltt-ring-buffer-metadata-client.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/ltt-ring-buffer-metadata-client.c:12:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/ltt-ring-buffer-client-mmap-discard.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from 
/home/toside/git/lttng-modules/ltt-ring-buffer-client-mmap-discard.c:12:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] 
/home/toside/git/lttng-modules/ltt-ring-buffer-client-mmap-overwrite.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from 
/home/toside/git/lttng-modules/ltt-ring-buffer-client-mmap-overwrite.c:12:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/ltt-ring-buffer-metadata-mmap-client.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from 
/home/toside/git/lttng-modules/ltt-ring-buffer-metadata-mmap-client.c:12:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/ltt-events.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/ltt-events.c:20:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/ltt-events.c:20:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/ltt-debugfs-abi.o
In file included from /home/toside/git/lttng-modules/ltt-debugfs-abi.c:36:
/home/toside/git/lttng-modules/wrapper/poll.h:12: warning: #warning 
"poll_wait_set_exclusive() is defined as no-op. Thundering herd effect 
can be noticed with large number of consumer threads."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/ltt-debugfs-abi.c:39:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/ltt-probes.o
CC [M] /home/toside/git/lttng-modules/ltt-context.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/ltt-context.c:17:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/ltt-context.c:17:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-pid.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-pid.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-pid.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-procname.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-procname.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-procname.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-prio.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-prio.c:17:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-prio.c:17:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-nice.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-nice.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-nice.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-vpid.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-vpid.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-vpid.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-tid.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-tid.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-tid.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-vtid.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-vtid.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-vtid.c:16:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-ppid.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-ppid.c:17:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-ppid.c:17:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-context-vppid.o
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-vppid.c:17:
/home/toside/git/lttng-modules/wrapper/trace-clock.h: In function 
‘get_trace_clock’:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
In file included from /home/toside/git/lttng-modules/ltt-tracer.h:24,
from /home/toside/git/lttng-modules/lttng-context-vppid.c:17:
/home/toside/git/lttng-modules/wrapper/trace-clock.h:66: warning: 
#warning "LTTng: Using mainline kernel monotonic clock. NMIs will not be 
traced, and expect significant performance degradation compared to the 
LTTng trace clocks. Integration of the LTTng 0.x trace clocks into LTTng 
2.0 is planned in a near future."
CC [M] /home/toside/git/lttng-modules/lttng-calibrate.o
CC [M] /home/toside/git/lttng-modules/lttng-syscalls.o
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../ltt-tracer.h:24,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-types.h:21,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-events.h:12,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/define_trace.h:105,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_integers.h:839,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_integers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:59:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../wrapper/trace-clock.h: 
In function ‘get_trace_clock’:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../wrapper/trace-clock.h:66: 
warning: #warning "LTTng: Using mainline kernel monotonic clock. NMIs 
will not be traced, and expect significant performance degradation 
compared to the LTTng trace clocks. Integration of the LTTng 0.x trace 
clocks into LTTng 2.0 is planned in a near future."
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_pointers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:62:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h: 
At top level:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: its scope is only this definition or declaration, which is 
probably not what you want
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
In file included from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/syscalls_pointers.h:8,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/lttng-events.h:86,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/define_trace.h:105,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1671,
from 
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/syscalls_pointers.h:8,
from /home/toside/git/lttng-modules/lttng-syscalls.c:62:
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1443: 
warning: ‘struct rlimit64’ declared inside parameter list
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/../../../probes/../instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1449: 
error: conflicting types for ‘trace_sys_prlimit64’
/home/toside/git/lttng-modules/instrumentation/syscalls/headers/x86-32-syscalls-3.1.0-rc6_pointers.h:1449: 
note: previous definition of ‘trace_sys_prlimit64’ was here
make[2]: *** [/home/toside/git/lttng-modules/lttng-syscalls.o] Error 1
make[1]: *** [_module_/home/toside/git/lttng-modules] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-31-generic'
make: *** [default] Error 2




More information about the lttng-dev mailing list