Can anyone help?

From: l10n-boun...@moblin.org [mailto:l10n-boun...@moblin.org] On Behalf Of 
Rathi, Somya
Sent: Friday, April 23, 2010 1:37 PM
To: l...@moblin.org
Cc: Rathi, Somya
Subject: [Moblin L10n] issues in compiling kernel module

I am trying to add a kernel module to the IVI-kernel. I am getting following 
error in compiling one of the kernel src file.


compile with KDIR=/lib/modules/2.6.31.6-44.1.moblin2-ivi/build/

make  -C /lib/modules/2.6.31.6-44.1.moblin2-ivi/build/ 
M=/home/moblin/somya/can104-102/can4linux-3.5.2 TARGET=CAN104 modules

make[1]: Entering directory `/usr/src/kernels/2.6.31.6-44.1.moblin2-ivi'

  CC [M]  /home/moblin/somya/can104-102/can4linux-3.5.2/core.o

In file included from include/linux/init.h:4,

                 from /home/moblin/somya/can104-102/can4linux-3.5.2/core.c:231:

include/linux/compiler.h:58: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'struct'

/home/moblin/somya/can104-102/can4linux-3.5.2/core.c: In function 'can_init':

/home/moblin/somya/can104-102/can4linux-3.5.2/core.c:486: warning: label 
'out_class' defined but not used

make[2]: *** [/home/moblin/somya/can104-102/can4linux-3.5.2/core.o] Error 1

make[1]: *** [_module_/home/moblin/somya/can104-102/can4linux-3.5.2] Error 2

make[1]: Leaving directory `/usr/src/kernels/2.6.31.6-44.1.moblin2-ivi'

make: *** [all] Error 2




I am using gcc version 4.3.2 [gcc-4_3-branch revision 141291] (Moblin Linux).  
Kernel version is :  ivi-2.6.31.6-17.1. Please help me resolve this issue.
_______________________________________________
L10n mailing list
l...@moblin.org
http://lists.moblin.org/listinfo/l10n
_______________________________________________
Moblin dev Mailing List
dev@moblin.org

To manage or unsubscribe from this mailing list visit:
http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org 
once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to