Problem Compiling Generic Cyanogenmod 13.0 - Android Q&A, Help & Troubleshooting

Problem Compiling arm 64 bit CM-13.0 gives me error:
make: *** No rule to make target `/root/Cyanogenmod-13.0/out/target/product/generic/obj/KERNEL_OBJ/usr', needed by `/root/Cyanogenmod-13.0/out/target/product/generic/obj/SHARED_LIBRARIES/libtinyalsa_intermediates/mixer.o'. Stop.
Click to expand...
Click to collapse

@micaiahmorris ,
Try to create manually folder <KERNEL_OBJ> and <usr> in /root/Cyanogenmod-13.0/out/target/product/generic/obj/.
I had this problem, now it's gone for me.

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.

CM10 error [HELP]

I have thought of every possible way. The last way is to delete the lines but i need ur help to fix it
the error is
Code:
target arm C: libz <= external/zlib/adler32.c
In file included from external/zlib/zlib.h:34:0,
from external/zlib/zutil.h:24,
from external/zlib/adler32.c:9:
external/zlib/zconf.h:395:22: fatal error: limits.h: No such file or directory
compilation terminated.
make: *** [/home/yajnavalkya/cm10/out/target/product/beni/obj/SHARED_LIBRARIES/libz_intermediates/adler32.o] Error 1
you are missin limits.h try repo sync and update your source !
keyur2maru said:
you are missin limits.h try repo sync and update your source !
Click to expand...
Click to collapse
I searched a lot but found nothing
yajnab said:
I searched a lot but found nothing
Click to expand...
Click to collapse
He said to repo sync and then retry...not search, you may have to do a make clean after the repo sync if it still doesn't work
Sent from my SGH-I997 using Tapatalk 2

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 compiling CWM :S

I'm downloaded the sources of cm and cloned @artas182x source (kernel, device and vendor) for compile CWM 6.0.4.7, but i have this error:
Code:
make: *** No rule to make target «/home/eric/source_cm11/out/target/product/p760/obj/KERNEL_OBJ/usr», necessary for «/home/eric/source_cm11/out/target/product/p760/obj/STATIC_LIBRARIES/libminui_intermediates/events.o». Stop.
How to fix this error?
Polloos said:
I'm downloaded the sources of cm and cloned @artas182x source (kernel, device and vendor) for compile CWM 6.0.4.7, but i have this error:
Code:
make: *** No rule to make target «/home/eric/source_cm11/out/target/product/p760/obj/KERNEL_OBJ/usr», necessary for «/home/eric/source_cm11/out/target/product/p760/obj/STATIC_LIBRARIES/libminui_intermediates/events.o». Stop.
How to fix this error?
Click to expand...
Click to collapse
I have the error when i build cm11. what should i do?

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