[ltt-dev] 2.6.35-lttng-0.232 compiler issue on x86_64 machine
srikanth krishnakar
skrishnakar at gmail.com
Fri May 27 15:27:46 EDT 2011
Hello Mathieu,
LTTng version : 2.6.35.7-lttng-0.232
Kernel Version : Linux-2.6.35.9
Host machine: x86_64 GNU/Linux
I am trying compile LTTng patched kernel on x86_64 machine, and I am getting
the following compile error:
1. make localmodconfig
2. make menuconfig
3. make ARCH=arm CC=arm-linux-gnueabi- uImage
----------------------------------------8<------------------------------------------------
scripts/mod/modpost.c: In function ‘get_markers’:
scripts/mod/modpost.c:1601:12: warning: ignoring return value of ‘asprintf’,
declared with attribute warn_unused_result
scripts/mod/modpost.c: In function ‘add_marker’:
scripts/mod/modpost.c:2021:10: warning: ignoring return value of ‘asprintf’,
declared with attribute warn_unused_result
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
Generating include/generated/mach-types.h
CC kernel/bounds.s
GEN include/generated/bounds.h
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/module.h:25,
from include/linux/device.h:23,
from include/linux/dma-mapping.h:4,
from arch/arm/kernel/asm-offsets.c:15:
include/trace/events/module.h:18: error: expected ')' before 'struct'
include/trace/events/module.h:37: error: expected ')' before 'struct'
include/trace/events/module.h:79: error: expected ')' before 'struct'
include/trace/events/module.h:86: error: expected ')' before 'struct'
include/trace/events/module.h:94: error: expected ')' before 'char'
In file included from include/linux/device.h:23,
from include/linux/dma-mapping.h:4,
from arch/arm/kernel/asm-offsets.c:15:
include/linux/module.h: In function '__module_get':
include/linux/module.h:487: error: implicit declaration of function
'trace_module_get'
HOSTLD scripts/mod/modpost
----------------------------------------8<------------------------------------------------
Any hint would be appreciated.
Thanks.
--
"The Good You Do, The Best You GET"
Regards
Srikanth Krishnakar
**********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110528/adedcf30/attachment-0002.htm>
More information about the lttng-dev
mailing list