[lttng-dev] trace_block_rq_complete duplicate define

loody miloody at gmail.com
Fri Mar 28 04:18:10 EDT 2014


hi all:
My environment is like below:
1. kernel 3.8.13
2. lttng modules is 2.4.0 ( i also try lttng-modules-2.3.5 but result
is the same)
I will get "trace_block_rq_complete duplicate define" like below:
is there kernel or lttng modules patch I need to fix this compile error?

Thanks for your help in advance,

  CC [M]  /media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes/lttng-probe-block.o
In file included from
/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes/../instrumentation/events/lttng-module/../../../probes/lttng-events.h:157:0,
                 from
/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes/../instrumentation/events/lttng-module/../../../probes/define_trace.h:148,
                 from
/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes/../instrumentation/events/lttng-module/block.h:877,
                 from
/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes/lttng-probe-block.c:41:
/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes/../instrumentation/events/lttng-module/../../../probes/../instrumentation/events/lttng-module/block.h:240:1:
error: conflicting types for 'trace_block_rq_complete'
In file included from
/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes/lttng-probe-block.c:30:0:
include/trace/events/block.h:124:1: note: previous definition of
'trace_block_rq_complete' was here
make[3]: *** [/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes/lttng-probe-block.o]
Error 1
make[2]: *** [/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0/probes]
Error 2
make[1]: *** [_module_/media/sdb1/software/lttng/lttng.arm.ok/lttng-modules-2.4.0]
Error 2
make[1]: Leaving directory
`/media/sdb2/Novatek2/NT72668/fpga.kernel/kernel.3.8/private/VDLinux_3.8.2/linux-3.8.2'



More information about the lttng-dev mailing list