From: miloody@gmail.com (loody)
Subject: [lttng-dev] trace_block_rq_complete duplicate define
Date: Fri, 28 Mar 2014 16:18:10 +0800 [thread overview]
Message-ID: <CANudz+sSf8BOG1ZFJarA4FJN2pz5Qp7u-AXbednyp4cRtgUMzA@mail.gmail.com> (raw)
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'
reply other threads:[~2014-03-28 8:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CANudz+sSf8BOG1ZFJarA4FJN2pz5Qp7u-AXbednyp4cRtgUMzA@mail.gmail.com \
--to=miloody@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox