[Q] Error when building CM7 - Android Q&A, Help & Troubleshooting

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

Related

[Q] Error while Building Rom from source

I am building rom from source and i am stuck with this problem. Any ideas on this would be appreciated.
make: *** No rule to make target `out/target/product/p500/obj/lib/libQcomUI.so', needed by `out/target/product/p500/obj/SHARED_LIBRARIES/libgui_intermediates/LINKED/libgui.so'. Stop.
Click to expand...
Click to collapse
just copy mentioned lib"libQcomUI.so" into vendor/lge/p500/propriotary/libs
that file present in the libs folder of system in any rom.

Cannot get JB to compile

I've attempted to build two different sources, one modified ICS AOSP and another from straight up JB AOSP. Both err on me.
JB spits out the following:
make: *** No rule to make target `out/target/product/devicetest/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/export_includes', needed by `out/target/product/devicetest/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
target thumb C: wpa_cli <= external/wpa_supplicant_8/wpa_supplicant/src/utils/edit.c
Click to expand...
Click to collapse
I'd prefer to get JB working, but would be satisfied with ICS for now.
I debugged a few other issues but cannot figure out these...
Help is appreciated.
I figured out a long while back my ICS problem was just the old GCC compiler was needed. ICS works great.
JB on the other hand still gives me fits.
I have no clue what's up with:
* No rule to make target `out/target/product/fundevice/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/export_includes', needed by `out/target/product/fundevice/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
make: * Waiting for unfinished jobs...
Click to expand...
Click to collapse
Any thoughts?
Everything is present in the hardware and external directories... Don't know what's going on.
Did you got solution? I'm facing same problem. Compiling Slim Bean for Beni.
Code:
Import includes file: /home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/EXECUTABLES/wfd_intermediates/import_includes
Export includes file: frameworks/av/media/libstagefright/wifi-display/Android.mk -- /home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/EXECUTABLES/wfd_intermediates/export_includes
Import includes file: /home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/EXECUTABLES/wpa_cli_intermediates/import_includes
make: *** No rule to make target `/home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/export_includes', needed by `/home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
The-Superman said:
Did you got solution? I'm facing same problem. Compiling Slim Bean for Beni.
Code:
Import includes file: /home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/EXECUTABLES/wfd_intermediates/import_includes
Export includes file: frameworks/av/media/libstagefright/wifi-display/Android.mk -- /home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/EXECUTABLES/wfd_intermediates/export_includes
Import includes file: /home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/EXECUTABLES/wpa_cli_intermediates/import_includes
make: *** No rule to make target `/home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/STATIC_LIBRARIES/lib_driver_cmd_wext_intermediates/export_includes', needed by `/home/rish/Android/slim_bean-4.2.2/out/target/product/beni/obj/EXECUTABLES/wpa_supplicant_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Click to expand...
Click to collapse
I ended up finding working 4.2 source for the same chipset and copying the wpa suppicant folders over into my AOSP source.
crypted said:
I ended up finding working 4.2 source for the same chipset and copying the wpa suppicant folders over into my AOSP source.
Click to expand...
Click to collapse
eh? Can you elaborate more?
Where to define wpa_supplicant?
The-Superman said:
eh? Can you elaborate more?
Where to define wpa_supplicant?
Click to expand...
Click to collapse
I don't recall where it is, but I think it's in /framework/ somewhere. The files will be different per device.
so if anyone found fix
pls share
crypted said:
...
Click to expand...
Click to collapse
# root said:
...
Click to expand...
Click to collapse

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

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