[Q] Error while compiling CM12.1 - Android Q&A, Help & Troubleshooting

Code:
Import includes file: /home/builder/cm12.1/out/target/product/ks01lte/obj/EXECUTABLES/rfc_intermediates/import_includes
make: *** No rule to make target “/home/builder/cm12.1/out/target/product/ks01lte/obj/EXECUTABLES/rild_intermediates/import_includes” Needed by “/home/builder/cm12.1/out/target/product/ks01lte/obj/SHARED_LIBRARIES/libril_intermediates/export_includes”. Stop.
make: *** Waiting for unfinished jobs
Export includes file: external/bluetooth/bluedroid/test/rfcommtest/Android.mk -- /home/builder/cm/out/target/product/ks01lte/obj/EXECUTABLES/rfc_intermediates/export_includes
#### make failed to build some targets (02:48 (mm:ss)) ####
I always encountered this 2min after brunch. I have re-sync for many times, but it won't help.
Any way to solve this ? Thanks!

Related

[Q] Philz Recovery Compile error

I am currently compiling a recovery for my mk802iv with cm12.1 sources and here are some of the last lines of the compile
Code:
Export includes file: bootable/recovery/utilities/Android.mk -- /home/patrick/android/rk3188/cm12.1/out/target/product/rk3188/obj/STATIC_LIBRARIES/libminizip_intermediates/export_includes
Export includes file: bootable/recovery/minadbd/Android.mk -- /home/patrick/android/rk3188/cm12.1/out/target/product/rk3188/obj/STATIC_LIBRARIES/libminadbd_intermediates/export_includes
make: *** No rule to make target '/home/patrick/android/rk3188/cm12.1/out/target/product/rk3188/obj/STATIC_LIBRARIES/libmkyaffs2image_intermediates/export_includes', needed by '/home/patrick/android/rk3188/cm12.1/out/target/product/rk3188/obj/EXECUTABLES/recovery_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: external/busybox/Android.mk -- /home/patrick/android/rk3188/cm12.1/out/target/product/rk3188/obj/STATIC_LIBRARIES/libbusybox_intermediates/export_includes
#### make failed to build some targets (55 seconds) ####
[email protected]:~/android/rk3188/cm12.1$
Any help is appreciated!
C,
hi, goto bootable/recovery [philz]
and in the $TOP makefile [Android]
remove all yaffs unyaffs references
m

'libaudiopolicymanager" error CAF build

Hello all,
Iḿ trying to build Temasek CAF but im stuck at this error:
Code:
make: *** No rule to make target '/home/fsadino/android/temasek-caf/out/target/product/bacon/obj/SHARED_LIBRARIES/libaudiopolicymanager_intermediates/export_includes', needed by '/home/fsadino/android/temasek-caf/out/target/product/bacon/obj/SHARED_LIBRARIES/libaudiopolicyservice_intermediates/import_includes'. Pare.
make: ** Esperando que outros processos terminem.
Import includes file: /home/fsadino/android/temasek-caf/out/target/product/bacon/obj/STATIC_LIBRARIES/libcpustats_intermediates/import_includes
make: Leaving directory '/home/fsadino/android/temasek-caf'
#### make failed to build some targets (03:46 (mm:ss)) ####
When i mka libaudiopolicymanager it fails:
Code:
make: *** No rule to make target 'libaudiopolicymanager'. Pare.
Thanks in advance
Got the solution?
ankurpandeyvns said:
Got the solution?
Click to expand...
Click to collapse
what you expect?

make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp CM12.1

Hi! I ported the Infinix Hot 2 device tree and vendor files to my BLU Energy X 2, but I kept the name the same. That is why it says infinix_d5110. So, I ran make -j8 otatools and it is telling me
Code:
make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp', needed by '/home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.mt6580_intermediates/audio.o'. Stop.
Without modifications to the device tree and vendor, straight from the Infinix Hot 2, this error is not present. In the audio folder, there is only Android.mk, and no file called audio.cpp. It says it is needed by audio.o but when I look in the out directory, that file does not exist.
Terminal:
Code:
make: *** No rule to make target 'device/infinix/d5110_infinix/audio/audio.cpp', needed by '/home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.mt6580_intermediates/audio.o'. Stop.
make: *** Waiting for unfinished jobs....
Export includes file: hardware/libhardware/modules/audio/Android.mk -- /home/nate/cm12.1/out/target/product/d5110_infinix/obj/SHARED_LIBRARIES/audio.primary.default_intermediates/export_includes
#### make failed to build some targets (04:50 (mm:ss)) ####
Please help! Thanks

(Need Help) Error In Compiling Rom

ERROR: /home/johnmike/lineage/external/owasp/sanitizer/src/main/org/owasp/html/HtmlTokenType.java:0: The type java.util.Map$Entry cannot be found in source files, imported jack libs or the classpath
build/core/java.mk:636: recipe for target '/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack' failed
make: *** [/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack] Error 41
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/johnmike/lineage'
#### make failed to build some targets (06:39 (mm:ss)) ####
[email protected]:~/lineage$
Kaneki30 said:
ERROR: /home/johnmike/lineage/external/owasp/sanitizer/src/main/org/owasp/html/HtmlTokenType.java:0: The type java.util.Map$Entry cannot be found in source files, imported jack libs or the classpath
build/core/java.mk:636: recipe for target '/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack' failed
make: *** [/home/johnmike/lineage/out/target/common/obj/JAVA_LIBRARIES/owasp-html-sanitizer_intermediates/classes.jack] Error 41
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/johnmike/lineage'
#### make failed to build some targets (06:39 (mm:ss)) ####
[email protected]:~/lineage$
Click to expand...
Click to collapse
I have the same problem. Could you fix it?

build lineage i9100

Can someone there help me I try to compile rom i9100 more of this error
find: '/home/viperx/android/lineage/out/target/common/obj/SHARED_LIBRARIES/libwifi-hal-mock_intermediates': No such file or directory
build/core/base_rules.mk:183: *** vendor/samsung/galaxys2-common/proprietary: MODULE.TARGET.SHARED_LIBRARIES.libUMP already defined by hardware/samsung/exynos4/hal/libUMP.
make: *** [build/core/ninja.mk:167: /home/viperx/android/lineage/out/build-lineage_i9100.ninja] Error 1
make: Leaving directory '/home/viperx/android/lineage'
#### make failed to build some targets (01:53 (mm:ss)) ####

Categories

Resources