Error while building a ROM for mido - Xiaomi Redmi Note 4 Questions & Answers

I was building RR MM based getting error .. cloned kernel source .. here's​ log file .. https://pastebin.com/DQA0CATR
Help will be appreciated [emoji4]
Edit 1 : solved that issue now getting another error .. n here's log file : https://pastebin.com/mK0yPsc2
Sent from my Redmi Note 4 using Tapatalk

make: *** No rule to make target 'kernel/xiaomi/msm8953/arch/arm64/configs/lineageos_mido_defconfig', needed by '/home/arbaz/RR/out/target/product/mido/obj/KERNEL_OBJ/.config'. Stop.

diedmaster said:
make: *** No rule to make target 'kernel/xiaomi/msm8953/arch/arm64/configs/lineageos_mido_defconfig', needed by '/home/arbaz/RR/out/target/product/mido/obj/KERNEL_OBJ/.config'. Stop.
Click to expand...
Click to collapse
yepp dont know what does this error means

needed by '/home/arbaz/RR/out/target/product/mido/obj/KERNEL_OBJ/.config
does not exist or is not configurated

Related

[Q] Error when building CM7

Anyone seen this error before? It has me stumped!
Code:
make: *** No rule to make target `device/htc/lexikon/prebuilt/kernel', needed by `out/target/product/lexikon/recovery.img'. Stop.
MandaNick said:
Anyone seen this error before? It has me stumped!
Code:
make: *** No rule to make target `device/htc/lexikon/prebuilt/kernel', needed by `out/target/product/lexikon/recovery.img'. Stop.
Click to expand...
Click to collapse
You have no prebuilt kernel in your device tree.
But I do have the zImage file there in "device/htc/lexikon/prebuilt/kernel" Do I need to name it "kernel"?
MandaNick said:
But I do have the zImage file there in "device/htc/lexikon/prebuilt/kernel" Do I need to name it "kernel"?
Click to expand...
Click to collapse
Yes

Error while compiling

Getting this error while compiling JB from Code Aurora sources.
Code:
make: *** No rule to make target `out/host/linux-x86/bin/checksparse.py', needed by `out/target/product/msm7627a/obj/PACKAGING/target_files_intermediates/msm7627a-target_files-eng.arun.zip'. Stop.
make: *** Waiting for unfinished jobs....
Any help would be appreciated..
arunmcops said:
Getting this error while compiling JB from Code Aurora sources.
Code:
make: *** No rule to make target `out/host/linux-x86/bin/checksparse.py', needed by `out/target/product/msm7627a/obj/PACKAGING/target_files_intermediates/msm7627a-target_files-eng.arun.zip'. Stop.
make: *** Waiting for unfinished jobs....
Any help would be appreciated..
Click to expand...
Click to collapse
Double check that you added your device to the Android.mk build target file. For more help on your build error I would suggest checking out this thread dedicated to build errors http://forum.xda-developers.com/showthread.php?t=2059939. As well as these guides to common build basics http://wiki.cyanogenmod.org/w/Doc:_Building_Basics and common build errors http://wiki.cyanogenmod.org/w/Doc:_dealing_with_build_errors.
Sent from my SCH-I535 using xda premium
arunmcops said:
Getting this error while compiling JB from Code Aurora sources.
Code:
make: *** No rule to make target `out/host/linux-x86/bin/checksparse.py', needed by `out/target/product/msm7627a/obj/PACKAGING/target_files_intermediates/msm7627a-target_files-eng.arun.zip'. Stop.
make: *** Waiting for unfinished jobs....
Any help would be appreciated..
Click to expand...
Click to collapse
because the new QRD JB code need checksparse.py when you want a system.img.ext4 for output.
However, qualcomm did not put this file in the source code.
my solution is, edit build/core/Makefile to delete lines containning checksparse.py.
hope it helps

[q] i need help with building cm11 for my device

i have this error when compileing
Code:
Notice file: external/zlib/NOTICE -- /home/josip/cm11/out/target/product/trebon/obj/NOTICE_FILES/src//system/bin/gzip.txt
make: *** No rule to make target `/home/josip/cm11/out/target/product/trebon/obj/STATIC_LIBRARIES/lib_driver_cmd_ath6kl_intermediates/export_includes', needed by `/home/josip/cm11/out/target/product/trebon/obj/EXECUTABLES/hostapd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
has anyone idea what could it be?
yjosipy said:
i have this error when compileing
Code:
Notice file: external/zlib/NOTICE -- /home/josip/cm11/out/target/product/trebon/obj/NOTICE_FILES/src//system/bin/gzip.txt
make: *** No rule to make target `/home/josip/cm11/out/target/product/trebon/obj/STATIC_LIBRARIES/lib_driver_cmd_ath6kl_intermediates/export_includes', needed by `/home/josip/cm11/out/target/product/trebon/obj/EXECUTABLES/hostapd_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
has anyone idea what could it be?
Click to expand...
Click to collapse
Have same issue with me, seems a cache problem....
haky 86 said:
Have same issue with me, seems a cache problem....
Click to expand...
Click to collapse
Well i found out that my laptop is too slow and processor has to kill pocess that is needed to compile a rom and till i get something new i cant make anything.
Good luck
Sent from my GT-I9300 using XDA Free mobile app

Slim rom build error help me

im getting this error while compile slimrom for grand 2 ms013g
build/core/binary.mk:619: recipe for target '/home/aditya/slim/out/target/product/ms013g/obj/EXECUTABLES/verifier_test_intermediates/ui.o' failed
make: *** [/home/aditya/slim/out/target/product/ms013g/obj/EXECUTABLES/verifier_test_intermediates/ui.o] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:10:17 (hh:mm:ss)) ####
Looks like building verifier_test failed (it's in bootable/recovery). The real error message is further up in your output.
_that said:
Looks like building verifier_test failed (it's in bootable/recovery). The real error message is further up in your output.
Click to expand...
Click to collapse
so how to fix it
adityaupreti said:
so how to fix it
Click to expand...
Click to collapse
- Read error message
- If you don't understand it, try searching the internet for at least 2 hours
- Fix bug
- Rebuild

Help Build Lineageos for Xiaomi Redmi Pro

Can someone please help me?
I'm having trouble while to compile my build.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/neverson/android/system'
What this error means and how can I fix it? Just for the context I have system.prop file. And I also tried disable ninja using export USE_NINJA=false. but the error remains.
You device tree?
thinhx2 said:
You device tree?
Click to expand...
Click to collapse
Here is my device tree
https://drive.google.com/open?id=0B0M07vEulBG8eGE3c2hUaUVhcTA
Dersaun said:
Here is my device tree
https://drive.google.com/open?id=0B0M07vEulBG8eGE3c2hUaUVhcTA
Click to expand...
Click to collapse
You can upload to github.
Hi,
Here is my device tree in github
https://github.com/Dersaun/android_device_Xiaomi_omega
your device tree is not complete
Dersaun said:
Can someone please help me?
I'm having trouble while to compile my build.
Starting build with ninja
ninja: Entering directory `.'
ninja: error: '/system.prop', needed by '/home/neverson/android/system/out/target/product/omega/obj/ETC/system_build_prop_intermediates/build.prop', missing and no known rule to make it
build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
make: Leaving directory '/home/neverson/android/system'
What this error means and how can I fix it? Just for the context I have system.prop file. And I also tried disable ninja using export USE_NINJA=false. but the error remains.
Click to expand...
Click to collapse
Hi sir did u fix this error can u tell me how u fixed this error

Categories

Resources