Loading...

android-kernel@googlegroups.com

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

[android-kernel] android-msm-2.6.35 compilation errors bertoe Mon Feb 13 14:00:36 2012

I'm having trouble building the android-msm-2.6.35 branch.

Trying to build kernel for Nexus One, pulled the config.gz from /proc

I'm building on Ubuntu 10.04 (64-bit)
$ export ARCH=arm
$ export CROSS_COMPILE=arm-eabi-
$ export PATH=$PATH:~/android/prebuilt/linux-x86/toolchain/arm-
eabi-4.4.0/bin
$ make menuconfig
$ make

Here are the errors I'm getting:
======================================================================================

CC      drivers/input/misc/capella_cm3602.o
drivers/input/misc/capella_cm3602.c: In function
'capella_cm3602_irq_handler':
drivers/input/misc/capella_cm3602.c:57: warning: unused variable 'val'
drivers/input/misc/capella_cm3602.c: In function
'capella_cm3602_setup':
drivers/input/misc/capella_cm3602.c:108: error: implicit declaration
of function 'request_irq'
drivers/input/misc/capella_cm3602.c:110: error: 'IRQF_TRIGGER_RISING'
undeclared (first use in this function)
drivers/input/misc/capella_cm3602.c:110: error: (Each undeclared
identifier is reported only once
drivers/input/misc/capella_cm3602.c:110: error: for each function it
appears in.)
drivers/input/misc/capella_cm3602.c:110: error: 'IRQF_TRIGGER_FALLING'
undeclared (first use in this function)
drivers/input/misc/capella_cm3602.c:120: error: implicit declaration
of function 'set_irq_wake'
drivers/input/misc/capella_cm3602.c:131: error: implicit declaration
of function 'free_irq'
make[3]: *** [drivers/input/misc/capella_cm3602.o] Error 1
make[2]: *** [drivers/input/misc] Error 2
make[1]: *** [drivers/input] Error 2
make: *** [drivers] Error 2

======================================================================================

Any assistance would be appreciated. Am I missing something? Thanks!

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