• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

eroor while compiling G2 phone Kernel..any clue??

nargis

Lurker
Jan 27, 2011
1
0
While Compiling kernel G2 phome kernel source code downloaded from HTC site,I am getting following errors..please guide


In file included from arch/arm/mach-versatile/include/mach/gpio.h:1,
from /home/bhuvan/Desktop/vision-MR-2.6.32-g9ab3677/arch/arm/include/asm/gpio.h:5,
from drivers/i2c/chips/mt9t013.c:29:
include/asm-generic/gpio.h: In function 'gpio_get_value_cansleep':
include/asm-generic/gpio.h:171: error: implicit declaration of function 'gpio_get_value'
include/asm-generic/gpio.h: In function 'gpio_set_value_cansleep':
include/asm-generic/gpio.h:177: error: implicit declaration of function 'gpio_set_value'
In file included from drivers/i2c/chips/mt9t013.c:33:
drivers/i2c/chips/msm_iomap.h:51:28: error: msm_iomap-7xxx.h: No such file or directory
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_sensor_init':
drivers/i2c/chips/mt9t013.c:459: error: implicit declaration of function 'gpio_request'
drivers/i2c/chips/mt9t013.c:461: error: implicit declaration of function 'gpio_direction_output'
drivers/i2c/chips/mt9t013.c:474: error: implicit declaration of function 'gpio_free'
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_camif_pad_reg_reset':
drivers/i2c/chips/mt9t013.c:600: error: 'MSM_MDC_BASE' undeclared (first use in this function)
drivers/i2c/chips/mt9t013.c:600: error: (Each undeclared identifier is reported only once
drivers/i2c/chips/mt9t013.c:600: error: for each function it appears in.)
drivers/i2c/chips/mt9t013.c: In function 'mt9t013_ioctl':
drivers/i2c/chips/mt9t013.c:689: error: 'MSM_MDC_BASE' undeclared (first use in this function)
drivers/i2c/chips/mt9t013.c:709: error: 'MSM_CLK_CTL_BASE' undeclared (first use in this function)
make[3]: *** [drivers/i2c/chips/mt9t013.o] Error 1
make[2]: *** [drivers/i2c/chips] Error 2
make[1]: *** [drivers/i2c] Error 2
make: *** [drivers] Error 2

 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones