Loading...

android-kernel@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[android-kernel] Kernel compilation error Amit kumar Bag Mon Feb 06 10:03:30 2012

Hi All,

I am tring to build android gingerbread kernel for snowball board. I
followed the below step to compile.
1.make menuconfig  for enabling the module in the kernel.
2. export CROSS_COMPILE=<path>android-toolchain-eabi/bin (path of the
binary located in my machine)
3.. make

But I got one error after make as below.

drivers/mfd/tc35892.c: In function ‘tc35892_irq_init’:
drivers/mfd/tc35892.c:197:3: error: implicit declaration of function
‘set_irq_noprobe’
make[2]: *** [drivers/mfd/tc35892.o] Error 1
make[1]: *** [drivers/mfd] Error 2
make: *** [drivers] Error 2


In the file tc35892.c the macro #ifdef CONFIG_ARM is not set so control
goes to else part and give the error set_irq_noprobe is not define.
May be if the macro CONFIG_ARM is set then the error can be removed.

Can anyone tell me how to set the macro to remove the error.

Thanks,
Amit Bag

-- 
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-kernel