[Q] Kernel Compilinng - HTC Pico (Explorer)

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?

Related

[Q] Who could help me for compiling the kernel?

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

[Q] Error Compiling CM11 For Xperia E! QUICK REPLY!

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>>>>>>

Kernel compiling error

kernel compiling with GCC 4.8 google toolcahin:
Got this error during generating bcmdhd module:
CC [M] drivers/net/wireless/bcmdhd/wl_cfgp2p.o
drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_act_frm_search':
drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: error: array subscript is above array bounds [-Werror=array-bounds]
eparams->params.channel_list = htodchanspec(channels);
^
drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: error: array subscript is above array bounds [-Werror=array-bounds]
cc1: all warnings being treated as errors
make[4]: *** [drivers/net/wireless/bcmdhd/wl_cfgp2p.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
Click to expand...
Click to collapse
kernel source : Here
OS: BBQ
I removed -Werror flag too. but i got thise error :
drivers/net/wireless/bcmdhd/wl_cfgp2p.c: In function 'wl_cfgp2p_act_frm_search':
drivers/net/wireless/bcmdhd/wl_cfgp2p.c:769:31: warning: array subscript is above array bounds [-Warray-bounds]
error, forbidden warning: wl_cfgp2p.c:769
make[4]: *** [drivers/net/wireless/bcmdhd/wl_cfgp2p.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
Click to expand...
Click to collapse
Thank you.

[HELP] Android kernel compiling error.

Hi every body, I am trying to compile kernel for SamSung Galaxy S5 (SM-G906K).
I always get this error message, i don't know how to solve it. Please help me !
Thank you all!
________________________________________________________
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
[email protected]:~/Kernel2$ make mrproper
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
_________________________________________

[Completed] Build CM; "fatal error: soc/qcom/lge/board_lge.h: No such file or directory"

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.

Categories

Resources