Error while building linux kernel 2.6.32 code for HTC G2
Hi,
I compiling linux kernel 2.6.32 code for htc G2.I got the following errors.If any one know plz help me to resolve this problem.
$ export ARCH=arm
$ make msm_defconfig ARCH=arm
$ make menuconfig(configures the kernel)
select--> Device Drivers then
> Multiple Device Driver Support then
> Device Mapper Support
$ nano .config
$ make ARCH=arm CROSS_COMPILE=path of android froyo source code prebuilt folder/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
arch/arm/mach-msm/qdsp5/adsp_6225.c: In function 'adsp_init_info':
arch/arm/mach-msm/qdsp5/adsp_6225.c:320: error: 'QDSP_QUEUE_MAX' undeclared (first use in this function)
arch/arm/mach-msm/qdsp5/adsp_6225.c:320: error: (Each undeclared identifier is reported only once
arch/arm/mach-msm/qdsp5/adsp_6225.c:320: error: for each function it appears in.)
make[2]: *** [arch/arm/mach-msm/qdsp5/adsp_6225.o] Error 1
make[1]: *** [arch/arm/mach-msm/qdsp5] Error 2
make: *** [arch/arm/mach-msm] Error 2
Regards,
Suresh
Last edited by samanthapudi; 01-27-2011 at 05:21 AM.
|