[Q] error when building rom - LG G2 Mini

I get these errors when i try to build an aokp rom for my device, an LG G2 mini.
http://hastebin.com/hubogamavu.js
how can i fix it?

tecno789 said:
I get these errors when i try to build an aokp rom for my device, an LG G2 mini.
http://hastebin.com/hubogamavu.js
how can i fix it?
Click to expand...
Click to collapse
This thread will be moved to G2 Mini Q&A, Help & Troubleshooting

sd_shadow said:
This thread will be moved to G2 Mini Q&A, Help & Troubleshooting
Click to expand...
Click to collapse
Ok thanks, sorry for the error

nobody?

I get a system.img as output, is it wrong?

tecno789 said:
I get a system.img as output, is it wrong?
Click to expand...
Click to collapse
no, but also you should have a flashable zip in aokp/out.../

System_F said:
no, but also you should have a flashable zip in aokp/out.../
Click to expand...
Click to collapse
I have to check it.. I didn't see it. Thanks

There isn't

Maybe it needs a flag somewhere

tonight i re-compile the rom and i got this error :
Code:
device/lge/g2m/overlay/frameworks/base/core/res/res/values/config.xml:161: error: Error parsing XML: mismatched tag
make: *** [/home/customer/aokp/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk] Errore 1
make: *** Eliminazione del file "/home/customer/aokp/out/target/common/obj/APPS/framework-res_intermediates/package-export.apk"
make: *** Attesa per i processi non terminati....
#### make failed to build some targets (01:11:01 (hh:mm:ss)) ####
can someone help 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.

[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

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

Compiling Kernel

I tried to compile kernel from official CM github, but I end up with this errors:
Code:
make[1]: Nothing to be done for 'dtbs'.
make[1]: Nothing to be done for 'dtbs'.
GZIP arch/arm64/boot/Image.gz
make[1]: *** No rule to make target 'arch/arm64/boot/dts/msm8956-mtp.dtb', needed by 'arch/arm64/boot/Image.gz-dtb'. Stop.
/home/yaw/android/kenzo/android_kernel_xiaomi_msm8956/arch/arm64/Makefile:84: recipe for target 'Image.gz-dtb' failed
make: *** [Image.gz-dtb] Error 2
Anyone can help me fix this error?
Million Thanks
in your defconfig,disable "build_appended_dtb".
and build dtb seperately.
neonkat said:
in your defconfig,disable "build_appended_dtb".
and build dtb seperately.
Click to expand...
Click to collapse
thanks... it worked...
Now I got "Image" and "dt.img"
but still cannot boot... strange thing is my generated wlan.ko is way bigger (60MB) than other kernel (5MB)
Any help?
aabenroi said:
thanks... it worked...
Now I got "Image" and "dt.img"
but still cannot boot... strange thing is my generated wlan.ko is way bigger (60MB) than other kernel (5MB)
Any help?
Click to expand...
Click to collapse
use anykernel script.(take help from existing kernels)
disable CONFIG_DEBUG_INFO,it will become 5-10 mb.
don't say thanks,this is xda,we have a thanks button,feel free to break that.
neonkat said:
use anykernel script.(take help from existing kernels)
disable CONFIG_DEBUG_INFO,it will become 5-10 mb.
don't say thanks,this is xda,we have a thanks button,feel free to break that.
Click to expand...
Click to collapse
:good: okay... pressed the button
wlan.ko looks fine now... but the Image still not boot (I've tried anykernel in both @ktomov and @Umang96 kernel)
Is there something I need to change again ?

Error while building a ROM for mido

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

Categories

Resources