I am trying to compile a stock kernel downloaded from the official website for my android device but getting the following error every time even after making modifications to the makefile
HTML:
scripts/Makefile.build:44: arch/arm64/boot/dts/qcom/Makefile: No such
file or directory
make[2]: *** No rule to make target
'arch/arm64/boot/dts/qcom/Makefile'. Stop.
CC drivers/md/linear.o
scripts/Makefile.build:489: recipe for target
'arch/arm64/boot/dts/qcom' failed
make[1]: *** [arch/arm64/boot/dts/qcom] Error 2
arch/arm64/Makefile:118: recipe for target 'dtbs' failed
make: *** [dtbs] Error 2
I have searched for the solution on the internet but that also not worked for me and now I am stuck at this. Please guide me to get through this! Thanks in advanced!!!
Related
hey all,
when I compile the CM10.2, appeared an error and aborted.
and I couldn't find any useful link via google.
error tip is Chinese.
Code:
make: *** 没有规则可以创建“/home/lisong/Android/cm/out/target/product/NX501/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/qdMetaData.o”需要的目标“/home/lisong/Android/cm/out/target/product/NX501/obj/KERNEL_OBJ/usr”。 停止。
make: *** 正在等待未完成的任务....
English version is about:
Code:
make: *** No rule to make target "/home/lisong/Android/cm/out/target/product/NX501/obj/SHARED_LIBRARIES/libqdMetaData_intermediates/qdMetaData.o" needed by "/home/lisong/Android/cm/out/target/product/NX501/obj/KERNEL_OBJ/usr". Stop.
Im getting this error while building cm13 plz someone help
Code:
Warning: there were 3 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Error: Please correct the above warnings first.
build/core/java.mk:536: recipe for target '/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar' failed
make: *** [/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/aditya/cm'
adityaupreti said:
Im getting this error while building cm13 plz someone help
Code:
Warning: there were 3 instances of library classes depending on program classes.
You must avoid such dependencies, since the program classes will
be processed, while the library classes will remain unchanged.
(http://proguard.sourceforge.net/manual/troubleshooting.html#dependency)
Error: Please correct the above warnings first.
build/core/java.mk:536: recipe for target '/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar' failed
make: *** [/home/aditya/cm/out/target/common/obj/APPS/LockClock_intermediates/proguard.classes.jar] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/aditya/cm'
Click to expand...
Click to collapse
Try these
http://review.cyanogenmod.org/129427
and
http://review.cyanogenmod.org/129496
LG g flex
Hi can i get help with my LG g flex at&t.I need to upgrade firmware.to unlocked my phone.i can't put my unlocked code in.Thanks paul
Hi Aditya Have you solved this???
I am also stuck here for G900H
i am getting this error while trying to build the cm13 source.
make: *** No rule to make target `/media/android/CM-13/out/target/common/obj/JAVA_LIBRARIES/tcmiface_intermediates/javalib.jar', needed by `/media/android/CM-13/out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/classes-full-debug.jar'. Stop.
make: *** Waiting for unfinished jobs....
can anyone help me on this.
I'm getting the same error, were you able to resolve this?
Hi everyone I have been wanting to try to compile the kernel for my device from source so that I can add some features to it. first time trying this..
I have fixed all errors up till now but this one has been bothering for a few days:
Code:
In file included from drivers/usb/gadget/android.c:62:0:
./drivers/usb/gadget/function/f_rndis.c: In function 'rndis_alloc_inst':
./drivers/usb/gadget/function/f_rndis.c:1115:10: error: implicit declaration of function 'usb_os_desc_prepare_interf_dir' [-Werror=implicit-function-declaration]
usb_os_desc_prepare_interf_dir(&opts->func_inst.group, 1, descs,
^
cc1: some warnings being treated as errors
scripts/Makefile.build:257: recipe for target 'drivers/usb/gadget/android.o' failed
make[3]: *** [drivers/usb/gadget/android.o] Error 1
scripts/Makefile.build:402: recipe for target 'drivers/usb/gadget' failed
make[2]: *** [drivers/usb/gadget] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/usb' failed
make[1]: *** [drivers/usb] Error 2
Makefile:945: recipe for target 'drivers' failed
make: *** [drivers] Error 2
I'm using linaro 4.9 as crosscompiler btw.
thanks guys, i'm really at my wits ends right now
hi...
i am trying to build my own custom kernel for mido
Im beginner
first i used kud kernel source and now im using lineage os stock kernel source
i got same error while compiling both of the kernel
pls help for this
In file included from drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c:24:0:
include/trace/events/msm_cam.h:19:21: fatal error: msm_isp.h: No such file or directory
#include "msm_isp.h"
^
compilation terminated.
scripts/Makefile.build:257: recipe for target 'drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o' failed
make[6]: *** [drivers/media/platform/msm/camera_v2/isp/msm_isp_util.o] Error 1
make[6]: *** Waiting for unfinished jobs....
CC net/ipv6/addrconf_core.o
scripts/Makefile.build:402: recipe for target 'drivers/media/platform/msm/camera_v2/isp' failed
make[5]: *** [drivers/media/platform/msm/camera_v2/isp] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/media/platform/msm/camera_v2' failed
make[4]: *** [drivers/media/platform/msm/camera_v2] Error 2
make[4]: *** Waiting for unfinished jobs....
https://github.com/ArbitraryFox/ker...adf80bf#diff-ddf45fe604bb6728785f6a0ff5f293e5
Thanks sir