Hi all,<div>I added the lttng-module to my kernel tree with the goal of making it a tristate option.  I added a Kconfig and a few Makefile changes (removed the rules at end).  I am able to compile lttng-module as a module (M), but compiling statically fails at link time with some redefinition errors (log below).</div>
<div><br><div><div>Details:</div><div>target:  powerpc</div><div>kernel config:  mpc85xx_defconfig</div><div>lttng-modules 2.0.1 plus patch</div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>
commit 6bd5e64e29cf1c251632501e45d61be6f16257ba</div></div><div><div>Author: Mathieu Desnoyers <<a href="mailto:mathieu.desnoyers@efficios.com">mathieu.desnoyers@efficios.com</a>></div></div><div><div>Date:   Thu Apr 26 17:40:31 2012 -0400</div>
</div><div><div><br></div></div><div><div>    Fix: update signal instrumentation for 3.4 kernel</div></div><div><div>    </div></div><div><div>    Fix #226</div></div></blockquote><div><div> Any ideas?<div>
<br clear="all"><div><div>  LD      drivers/staging/lttng2/probes/built-in.o</div><div>  LD      drivers/staging/lttng2/built-in.o</div><div>drivers/staging/lttng2/probes/built-in.o:(__tracepoints+0x35c): multiple definition of `__tracepoint_lttng_statedump_network_interface'</div>

<div>drivers/staging/lttng2/lttng-statedump.o:(__tracepoints+0x64): first defined here</div><div>drivers/staging/lttng2/probes/built-in.o:(__tracepoints+0x320): multiple definition of `__tracepoint_lttng_statedump_process_state'</div>

<div>drivers/staging/lttng2/lttng-statedump.o:(__tracepoints+0x14): first defined here</div><div>drivers/staging/lttng2/probes/built-in.o:(__tracepoints+0x2f8): multiple definition of `__tracepoint_lttng_statedump_start'</div>

<div>drivers/staging/lttng2/lttng-statedump.o:(__tracepoints+0x0): first defined here</div><div>drivers/staging/lttng2/probes/built-in.o:(__tracepoints+0x334): multiple definition of `__tracepoint_lttng_statedump_file_descriptor'</div>

<div>drivers/staging/lttng2/lttng-statedump.o:(__tracepoints+0x28): first defined here</div><div>drivers/staging/lttng2/probes/built-in.o:(__tracepoints+0x370): multiple definition of `__tracepoint_lttng_statedump_interrupt'</div>

<div>drivers/staging/lttng2/lttng-statedump.o:(__tracepoints+0x50): first defined here</div><div>drivers/staging/lttng2/probes/built-in.o:(__tracepoints+0x348): multiple definition of `__tracepoint_lttng_statedump_vm_map'</div>

<div>drivers/staging/lttng2/lttng-statedump.o:(__tracepoints+0x3c): first defined here</div><div>drivers/staging/lttng2/probes/built-in.o:(__tracepoints+0x30c): multiple definition of `__tracepoint_lttng_statedump_end'</div>

<div>drivers/staging/lttng2/lttng-statedump.o:(__tracepoints+0x78): first defined here</div><div>make[3]: *** [drivers/staging/lttng2/built-in.o] Error 1</div><div>make[2]: *** [drivers/staging/lttng2] Error 2</div><div>
make[1]: *** [drivers/staging] Error 2</div>
<div>make: *** [drivers] Error 2</div></div><div><br></div><div><br></div><div><br></div><div>Thanks</div><div>Pb</div><div><br></div>-- <br>--<br>Paul Barrette<br><a href="http://ca.linkedin.com/pub/paul-barrette/11/b42/a96" target="_blank">Linked In Profile</a><br>

<a href="http://sitarplayer.net" target="_blank">http://sitarplayer.net</a><br><font face="verdana"><font color="black"><font>Ő</font></font></font>  <br>

<font face="verdana"><font color="black"><font> \\=^%  <br> (*)---(*)</font></font></font> <br>
 <font face="courier new">^^~~^~~~^^^~~^</font><div style="text-align:left"><br></div><br>
</div>
</div></div></div>