[Q] building cyanogenmod gingerbread

Search This thread

zoevas

Member
Feb 3, 2014
7
0
I am trying to build the kernel from source.
I followed the instructions from http://oldwiki.cyano...nel_from_source .
I did:

git clone git://github.com/CyanogenMod/cm-kernel.git
cd cm-kernel
git branch -a
git checkout supersonic-2.6.34


export PATH=$PATH:/home/zoi/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin

make ARCH=arm CROSS_COMPILE=/home/zoi/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi- supersonic_defconfig

make -j4 ARCH=arm

and the zimage in the /arch/arm/boot folder is not created. The building process just stops :with error
2.c: In function 'msm_v4l2_video_dev_init':
drivers/media/video/msm/msm_v4l2.c:713: error: 'VID_TYPE_CAPTURE' undeclared (first use in this function)
drivers/media/video/msm/msm_v4l2.c:713: error: (Each undeclared identifier is reported only once
drivers/media/video/msm/msm_v4l2.c:713: error: for each function it appears in.)
make[4]: *** [drivers/media/video/msm/msm_v4l2.o] Error 1
make[3]: *** [drivers/media/video/msm] Error 2
make[2]: *** [drivers/media/video] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [drivers] Error 2

Am i doing something wrong?