[lttng-dev] lib_ring_buffer_align error bit-field '<anonymous>' width not an integer constant

kumar s skumar.m226 at gmail.com
Tue Dec 3 03:20:02 EST 2013


Hello,

When trying to build lttng modules i am getting this error. Cross compiler
for mips and Arch = mips is used in makefile.

Linux kernel version 2.6.32.27


make -C
/home/shkumar/Development_Merge/NewOCT/OCTEON_SDK/octeon_sdk/OCTEON-SDK/linux/kernel_2.6/linux
M=/home/shkumar/lttng-tools/lttngmod/lttng-modules modules ARCH=mips
CROSS_COMPILE=mips64-octeon-linux-gnu-
make[1]: Entering directory
`/home/shkumar/Development_Merge/NewOCT/OCTEON_SDK/octeon_sdk/OCTEON-SDK/linux/kernel_2.6/linux'
  CC [M]
 /home/shkumar/lttng-tools/lttngmod/lttng-modules/lttng-ring-buffer-client-discard.o
In file included from
/home/shkumar/lttng-tools/lttngmod/lttng-modules/wrapper/ringbuffer/config.h:1,
                 from
/home/shkumar/lttng-tools/lttngmod/lttng-modules/lttng-tracer-core.h:35,
                 from
/home/shkumar/lttng-tools/lttngmod/lttng-modules/lttng-tracer.h:39,
                 from
/home/shkumar/lttng-tools/lttngmod/lttng-modules/lttng-ring-buffer-client-discard.c:24:
/home/shkumar/lttng-tools/lttngmod/lttng-modules/wrapper/ringbuffer/../../lib/ringbuffer/config.h:
In function 'lib_ring_buffer_align':
/home/shkumar/lttng-tools/lttngmod/lttng-modules/wrapper/ringbuffer/../../lib/ringbuffer/config.h:266:
error: bit-field '<anonymous>' width not an integer constant
make[2]: ***
[/home/shkumar/lttng-tools/lttngmod/lttng-modules/lttng-ring-buffer-client-discard.o]
Error 1
make[1]: *** [_module_/home/shkumar/lttng-tools/lttngmod/lttng-modules]
Error 2
make[1]: Leaving directory
`/home/shkumar/Development_Merge/NewOCT/OCTEON_SDK/octeon_sdk/OCTEON-SDK/linux/kernel_2.6/linux'
make: *** [default] Error 2

How do i fix this?

Skumar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20131203/32bcfb6f/attachment.html>


More information about the lttng-dev mailing list