[SOLVED] Building Error - Android Q&A, Help & Troubleshooting

Hi XDA friends!
I'm building pac-rom for trltexx but I'm always ending with this error:
Code:
ln: failed to access ‘/home/mone/android/pac-rom/out/target/product/trltexx/pac_trltexx-ota-3cf4b0d877.zip’: No such file or directory
build/core/Makefile:1757: recipe for target 'bacon' failed
make: *** [bacon] Error 1
Any advice?
Looks like the all process goes well but it doesn't create "pac_trltexx-ota-3cf4b0d877.zip" and my build ends in a very hated (and soo red ) "make failed to build some targets"

_mone said:
Hi XDA friends!
I'm building pac-rom for trltexx but I'm always ending with this error:
Code:
ln: failed to access ‘/home/mone/android/pac-rom/out/target/product/trltexx/pac_trltexx-ota-3cf4b0d877.zip’: No such file or directory
build/core/Makefile:1757: recipe for target 'bacon' failed
make: *** [bacon] Error 1
Any advice?
Looks like the all process goes well but it doesn't create "pac_trltexx-ota-3cf4b0d877.zip" and my build ends in a very hated (and soo red ) "make failed to build some targets"
Click to expand...
Click to collapse
+1

Solved editing build/core/makefile

Related

[Q] Error trying to build kernel for Xperia U

Hi!
I'm getting this error when I try to compile kernel from this source:
Code:
CC drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado: No such file or directory
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado": No such file or directory
make[4]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o] Error 1
make[3]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali] Error 2
make[2]: *** [drivers/gpu/mali] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I don't know what to do, I'm using Google 4.6 toolchain and also tried with CyanogenMod 4.4.3 toolchain, but I get the same error
What can I do?
Thanks!
PS: @etch04 can you help me?
Anyone?
Error trying to build kernel for Xperia Go
Hello, have you found a solution? I have same problem with kernel for xperia go
My source is latest XperiaSTE for go at github
Garcia98 said:
Hi!
I'm getting this error when I try to compile kernel from this source:
Code:
CC drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado: No such file or directory
arm-linux-androideabi-gcc: error: no: No such file or directory
arm-linux-androideabi-gcc: error: versionado": No such file or directory
make[4]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali/common/mali_kernel_utilization.o] Error 1
make[3]: *** [drivers/gpu/mali/mali400ko/driver/src/devicedrv/mali] Error 2
make[2]: *** [drivers/gpu/mali] Error 2
make[1]: *** [drivers/gpu] Error 2
make: *** [drivers] Error 2
I don't know what to do, I'm using Google 4.6 toolchain and also tried with CyanogenMod 4.4.3 toolchain, but I get the same error
What can I do?
Thanks!
PS: @etch04 can you help me?
Click to expand...
Click to collapse
f5bud said:
Hello, have you found a solution? I have same problem with kernel for xperia go
My source is latest XperiaSTE for go at github
Click to expand...
Click to collapse
I think that was a setup problem while preparing the environment in my PC, I don't know, I haven't had this error again.
Garcia98 said:
I think that was a setup problem while preparing the environment in my PC, I don't know, I haven't had this error again.
Click to expand...
Click to collapse
Yes, after reloaded a new lubuntu it's work !!!

Slim rom build error help me

im getting this error while compile slimrom for grand 2 ms013g
build/core/binary.mk:619: recipe for target '/home/aditya/slim/out/target/product/ms013g/obj/EXECUTABLES/verifier_test_intermediates/ui.o' failed
make: *** [/home/aditya/slim/out/target/product/ms013g/obj/EXECUTABLES/verifier_test_intermediates/ui.o] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:10:17 (hh:mm:ss)) ####
Looks like building verifier_test failed (it's in bootable/recovery). The real error message is further up in your output.
_that said:
Looks like building verifier_test failed (it's in bootable/recovery). The real error message is further up in your output.
Click to expand...
Click to collapse
so how to fix it
adityaupreti said:
so how to fix it
Click to expand...
Click to collapse
- Read error message
- If you don't understand it, try searching the internet for at least 2 hours
- Fix bug
- Rebuild

[Help!] Building Cyanogemod from source final error

I'm building Cyanogenmod 11 for my device at the end of making the ota zip I've been getting this error
Code:
build/core/Makefile:1496: recipe for target '/home/gopinadh/cm11/out/target/product/w138_wkt_241/cm_w138_wkt_241-ota-ef28a0e788.zip' failed
make: *** [/home/gopinadh/cm11/out/target/product/w138_wkt_241/cm_w138_wkt_241-ota-ef28a0e788.zip] Error 1
I've made some screenshots of this at attachments
please help me with this....
GOPINADH said:
I'm building Cyanogenmod 11 for my device at the end of making the ota zip I've been getting this error
Code:
build/core/Makefile:1496: recipe for target '/home/gopinadh/cm11/out/target/product/w138_wkt_241/cm_w138_wkt_241-ota-ef28a0e788.zip' failed
make: *** [/home/gopinadh/cm11/out/target/product/w138_wkt_241/cm_w138_wkt_241-ota-ef28a0e788.zip] Error 1
I've made some screenshots of this at attachments
please help me with this....
Click to expand...
Click to collapse
Please Help!

Sony - Xperia - SGP611 - Custom Rom build error

Hi there all,
I have been trying for about a week to get a custom android 5 built for a client for their Xperia Z3 tablet i have followed all the instructions on the Sony website and am running Ubuntu 16, after getting the repositories and required sony Vendor files i finally get to the make -j4 command, this starts to run until it hits an error saying that there is no vendor file for scorpion_windy and then breaks the make process, my question is can i download this resource separately, and also if not how can i choose what files the make command uses can i not just skip the scorpion_windy file?
I am a complete noob and any assistance in this regard would be much appreciated!
Thanks in advance
The info on this thread is what I used http://forum.xda-developers.com/z3-...torial-stock-android-marshmallow-6-0-t3409486 It worked fine on LinuxMint KDE.
SGP611 Build errors
Hi There,
I appreciate the input, but i am attempting to compile the aosp archive, once i complete the setup and finally get to make -j4 the process runs along until it gives me an error regarding the file healthd and the specific error of battery monitor error, i have tried to do this in kit kat, jellybean and marshmallow now have all the sony device files followed the instructions here
developer.sonymobile.com/open-devices/aosp-build-instructions/how-to-build-aosp-marshmallow-for-unlocked-xperia-devices/
But no dice im pretty confused and frustrated at this point any thoughts would be very much appreciated
Can you post a copy of the error from the terminal console?
iancornelius said:
Can you post a copy of the error from the terminal console?
Click to expand...
Click to collapse
Hi There,
Thank you for your reply here is the error im getting
...
including ./vendor/sony/yukon-seagull/proprietary/Android.mk ...
including ./vendor/sony/yukon-tianchi/proprietary/Android.mk ...
No private recovery resources for TARGET_DEVICE scorpion_windy
make: *** No rule to make target 'external/openssl/flavor.mk'. Stop.
#### make failed to build some targets (01:02 (mm:ss)) ####
very frustrating when you learning
Ok so i cleaned my entire system and re synced my repos, and got much further in the process follwing the instructions exactly and now i get this error
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:50:56 (hh:mm:ss)
Any help would be much appreciated!
Monkybomb said:
Ok so i cleaned my entire system and re synced my repos, and got much further in the process follwing the instructions exactly and now i get this error
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
libnativehelper/JniInvocation.cpp:165: error: unsupported reloc 43
clang: error: linker command failed with exit code 1 (use -v to see invocation)
build/core/host_shared_library_internal.mk:44: recipe for target 'out/host/linux-x86/obj32/lib/libnativehelper.so' failed
make: *** [out/host/linux-x86/obj32/lib/libnativehelper.so] Error 1
make: *** Waiting for unfinished jobs....
#### make failed to build some targets (01:50:56 (hh:mm:ss)
Any help would be much appreciated!
Click to expand...
Click to collapse
I've recently built Nougat for my device and came across no errors and followed the guide to the single letter. Have you done everything it has asked to? Most importantly the first part regarding openjdk-8 and the other libraries to be installed.

Ninja Error While Building ROM

I am trying to build a ROM for a new device, as soon as i go for brunch command it gives me following error -
Starting build with ninja
ninja: Entering directory `.'
ninja: error: 'librecovery_updater_mofd', needed by '/home/rahul/android/system/out/target/product/Z00XS/obj/EXECUTABLES/recovery_intermediates/adb_install.o', 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/rahul/android/system'
Click to expand...
Click to collapse

Categories

Resources