[ltt-dev] Compilation error of trace_clock for PowerPC (ppc32)

srikanth krishnakar skrishnakar at gmail.com
Wed Apr 29 02:39:27 EDT 2009


Hi Mathieu,

Testing with latest LTTng verison 2.6.29-lttng-0.122  for kernel
linux-2.6.29 gives following compile error for PowerPC architecture :

---------------------------
LTTng : 2.6.29-lttng-0.122
Kernel : Linux-2.6.29
Arch: PPC_32
Toolchain: ppc_440
---------------------------

In file included from include/linux/trace-clock.h:13,
                 from include/linux/ltt-tracer.h:22,
                 from kernel/marker.c:29:
linux-2.6.29-lttng/arch/powerpc/include/asm/trace-clock.h: In function
‘trace_clock_read32’:
linux-2.6.29-lttng/arch/powerpc/include/asm/trace-clock.h:18: error:
implicit declaration of function ‘get_tbl’
linux-2.6.29-lttng/arch/powerpc/include/asm/trace-clock.h: In function
‘trace_clock_read64’:
linux-2.6.29-lttng/arch/powerpc/include/asm/trace-clock.h:23: error:
implicit declaration of function ‘get_tb’
make[1]: *** [kernel/marker.o] Error 1
make: *** [kernel] Error 2

This error is first seen in :

*2.6.29-rc8-lttng-0.112

Continues till 2.6.29-lttng-0.122
*

As per your earlier request I am attaching the default .config used while
compilation.


Can you please submit a fix for this error ???

Regards
Srikanth Krishnakar
**********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090429/e4e96b22/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lttng-2.6.29-config
Type: application/octet-stream
Size: 31437 bytes
Desc: not available
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20090429/e4e96b22/attachment-0003.obj>


More information about the lttng-dev mailing list