[Q] Philz Recovery Compile error - Android Q&A, Help & Troubleshooting

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

Related

[HELP] How to compile android kernel

Hi guys,
I tried to compile an android kernel following the tutorials that are on this forum, but there is something that doesn't works...
I installed the libraries indicated, and downloaded both NDK and Kernel sources, and I extracted it in my home folder.
Then I changed directory in the directory of the kernel and I made the three export indicated in tutorials:
export ARCH=arm
export CROSS_COMPILE=arm-linux-androideabi- (Here I also tried with "export CROSS_COMPILE=arm-eabi-")
export PATH=$PATH:~/android-ndk-r8/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin
Now I choosed a .config file in the arch/arm/configs directory and I used the command:
make *file config*
make menuconfig
And then, when I use the command "make -j2", I have some problems, in fact:
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC scripts/mod/empty.o
arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
make[2]: *** [scripts/mod/empty.o] Error 2
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
Can you tell me where I'm wrong please?
Thanks

[Q] Error while compiling CM12.1

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!

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?

CM 12.0 Build Failed with Error 127

I'm trying to build CM 12.0 for Nexus 9.
I followed instructions from here :
https://wiki.lineageos.org/devices/flounder/build#start-the-build
Only thing I changed is replacing CM-14.1 with CM-13.0 in the following command:
Code:
repo init -u https://github.com/LineageOS/android.git -b cm-14.1
I am getting Error 127. These are the details:
Code:
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/attila/android/cm13/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.6.0-147069776-39fe2d07.aar' failed
make: *** [/home/attila/android/cm13/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.6.0-147069776-39fe2d07.aar] Error 127
make: *** Waiting for unfinished jobs....
Notice file: packages/providers/DataUsageProvider/NOTICE -- /home/attila/android/cm13/out/target/product/flounder/obj/NOTICE_FILES/src//system/priv-app/DataUsageProvider/DataUsageProvider.apk.txt
make: Leaving directory '/home/attila/android/cm13'
#### make failed to build some targets (20:33 (mm:ss)) ####
Not sure What I'm doing wrong. Any help will be greatly appreciated.
pikudroid said:
I'm trying to build CM 12.0 for Nexus 9.
I followed instructions from here :
https://wiki.lineageos.org/devices/flounder/build#start-the-build
Only thing I changed is replacing CM-14.1 with CM-13.0 in the following command:
Code:
repo init -u https://github.com/LineageOS/android.git -b cm-14.1
I am getting Error 127. These are the details:
Code:
vendor/cm/build/core/maven_artifact.mk:42: recipe for target '/home/attila/android/cm13/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.6.0-147069776-39fe2d07.aar' failed
make: *** [/home/attila/android/cm13/out/target/common/obj/JAVA_LIBRARIES/ambientsdk_intermediates/com.cyngn.ambient.ambientsdk-1.6.0-147069776-39fe2d07.aar] Error 127
make: *** Waiting for unfinished jobs....
Notice file: packages/providers/DataUsageProvider/NOTICE -- /home/attila/android/cm13/out/target/product/flounder/obj/NOTICE_FILES/src//system/priv-app/DataUsageProvider/DataUsageProvider.apk.txt
make: Leaving directory '/home/attila/android/cm13'
#### make failed to build some targets (20:33 (mm:ss)) ####
Not sure What I'm doing wrong. Any help will be greatly appreciated.
Click to expand...
Click to collapse
In case someone faces the same problem in future, the error was there because I was missing maven.
Just do
Code:
sudo apt-get install maven

Categories

Resources