Hi!
All I have done is downloaded entire cm11 repo. Used Local Manifest in TamsuiCM11 repo. Cloned FXP specific Device Tree
Ran brunch nanhu.... ok
First I got error so I rename kernel defconfig to cm_nanhu_defconfig!
Ok So I fixed First Error!
Now I get This Error:
/home/ultragamerhd/cm11/kernel/sony/msm7x27a/arch/arm/mach-msm/board-msm7627a-camera.c:303:21: error: 'msm_act_main_cam_i2c_info' undeclared here (not in a function)
/home/ultragamerhd/cm11/kernel/sony/msm7x27a/arch/arm/mach-msm/board-msm7627a-camera.c:590:16: error: 'gpio_conf_ov9726' undeclared here (not in a function)
make[3]: *** [arch/arm/mach-msm/board-msm7627a-camera.o] Error 1
make[2]: *** [arch/arm/mach-msm] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ultragamerhd/cm11/kernel/sony/msm7x27a'
make: *** [TARGET_KERNEL_BINARIES] Error 2
ANY SOLUTION?
UltraGamerHD said:
Hi!
All I have done is downloaded entire cm11 repo. Used Local Manifest in TamsuiCM11 repo. Cloned FXP specific Device Tree
Ran brunch nanhu.... ok
First I got error so I rename kernel defconfig to cm_nanhu_defconfig!
Ok So I fixed First Error!
Now I get This Error:
/home/ultragamerhd/cm11/kernel/sony/msm7x27a/arch/arm/mach-msm/board-msm7627a-camera.c:303:21: error: 'msm_act_main_cam_i2c_info' undeclared here (not in a function)
/home/ultragamerhd/cm11/kernel/sony/msm7x27a/arch/arm/mach-msm/board-msm7627a-camera.c:590:16: error: 'gpio_conf_ov9726' undeclared here (not in a function)
make[3]: *** [arch/arm/mach-msm/board-msm7627a-camera.o] Error 1
make[2]: *** [arch/arm/mach-msm] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/ultragamerhd/cm11/kernel/sony/msm7x27a'
make: *** [TARGET_KERNEL_BINARIES] Error 2
ANY SOLUTION?
Click to expand...
Click to collapse
ANYONE>>>>>>
Related
Try to patch network toplogy from sakindia github.
but got the following error.
In file included from include/linux/topology.h:35:0,
from include/linux/gfp.h:7,
from include/linux/kmod.h:22,
from include/linux/module.h:13,
from drivers/net/wireless/bcmdhd/include/linuxver.h:42,
from drivers/net/wireless/bcmdhd/dhd_linux.c:29:
/home/dhruvin/Kernel/3/arch/arm/include/asm/topology.h: In function 'topology_register_notifier':
/home/dhruvin/Kernel/3/arch/arm/include/asm/topology.h:41:53: error: no return statement in function returning non-void [-Werror=return-type]
/home/dhruvin/Kernel/3/arch/arm/include/asm/topology.h: In function 'topology_unregister_notifier':
/home/dhruvin/Kernel/3/arch/arm/include/asm/topology.h:42:55: error: no return statement in function returning non-void [-Werror=return-type]
cc1: all warnings being treated as errors
make[4]: *** [drivers/net/wireless/bcmdhd/dhd_linux.o] Error 1
make[3]: *** [drivers/net/wireless/bcmdhd] Error 2
make[2]: *** [drivers/net/wireless] Error 2
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
so i guess its a lack of defining topology_register_notifier.
help me.. which identifier is need to be add in which header file?
I build the ROM from source , but to automatically compile the kernel is always wrong.
/home/work/cm10.1/kernel/samsung/exynos5410/include/linux/kconfig.h:46:1: fatal error: drivers/gud//build_tag.h: No such file or directory
compilation terminated.
make[4]: *** [drivers/gud/MobiCoreDriver/logging.o] error 1
make[3]: *** [drivers/gud] error 2
make[2]: *** [drivers] error 2
make[1]: *** [sub-make] error 2
make: *** [TARGET_KERNEL_BINARIES] error 2
Who could help me ?
smallcsduck said:
I build the ROM from source , but to automatically compile the kernel is always wrong.
/home/work/cm10.1/kernel/samsung/exynos5410/include/linux/kconfig.h:46:1: fatal error: drivers/gud//build_tag.h: No such file or directory
compilation terminated.
make[4]: *** [drivers/gud/MobiCoreDriver/logging.o] error 1
make[3]: *** [drivers/gud] error 2
make[2]: *** [drivers] error 2
make[1]: *** [sub-make] error 2
make: *** [TARGET_KERNEL_BINARIES] error 2
Who could help me ?
Click to expand...
Click to collapse
It looks like you don't follow the kernel building process. Have a look at Sony's guide for building android kernels.
developer.sonymobile.com/knowledge-base/open-source/open-devices/how-to-build-and-flash-a-linux-kernel/how-to-build-and-flash-a-linux-kernel-for-aosp-supported-devices
Hi!
So I have downloaded the entire CM11 Repo and Used the Local Manifest in TamsuiCM11, cloned android_device_sony_nanhu from the FXP repo and put it in the device/sony folder and renamed in nanhu.
When I try . build/envsetup.sh it's ok
When I try breakfast nanhu it's ok
When I try brunch nanhu - I get error about defconfig!
Here you go:
arch/arm/Kconfig:1601:warning: 'HZ': number is invalid
arch/arm/Kconfig:1602:warning: 'HZ': number is invalid
arch/arm/Kconfig:1603:warning: 'HZ': number is invalid
***
*** Can't find default configuration "arch/arm/configs/cm_nanhu_defconfig"!
***
make[3]: *** [cm_nanhu_defconfig] Error 1
make[2]: *** [cm_nanhu_defconfig] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/usaamah/cm11/kernel/sony/msm7x27a'
make: *** [/home/usaamah/cm11/out/target/product/nanhu/obj/KERNEL_OBJ/.config] Error 2
make: *** Waiting for unfinished jobs....
Any Soulution?
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?
Build CM; "fatal error: soc/qcom/lge/board_lge.h: No such file or directory"
Here is the full error:
/home/android/android/system/kernel/lge/msm8916/drivers/leds/leds-qpnp.c:31:36: fatal error: soc/qcom/lge/board_lge.h: No such file or directory
#include <soc/qcom/lge/board_lge.h>
^
compilation terminated.
make[4]: *** [drivers/leds/leds-qpnp.o] Error 1
make[3]: *** [drivers/leds] Error 2
make[2]: *** [drivers] Error 2
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/home/android/android/system/kernel/lge/msm8916'
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: Leaving directory `/home/android/android/system'
I was building for the LG H631 and it had been building for a few minutes. Any suggestions?
Hi,
Thanks for using XDA Assist.
I guess it's fixed now: http://forum.xda-developers.com/android/software/cyanogenmod-12-1-h631-ms631-10j-10j-t3259281/
Thread closed.