[Q] Building AOSP Error - Noob - YU Yureka Q&A, Help & Troubleshooting

Hey there guys,
I was trying to build pure AOSP for our phone when I ran into this error. Any idea what this may be?
Code:
including ./vendor/yu/tomato/Android.mk ...
PRODUCT_COPY_FILES device/yu/tomato/configs/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml ignored.
No private recovery resources for TARGET_DEVICE tomato
make: *** No rule to make target `out/target/common/obj/JAVA_LIBRARIES/qcmediaplayer_intermediates/classes.jar', needed by `out/target/common/obj/PACKAGING/boot-jars-package-check_intermediates/stamp'. Stop.
make: *** Waiting for unfinished jobs....

Its finally done at http://forum.xda-developers.com/yureka/orig-development/rom-android-source-project-t3097017 Try there...

Related

[SOLVED] Help compiling kernel?

Wondering if someone can help? I'm trying to compile the CM kernel.
I'm running Fedora 20 64-bit and have installed the relevant packages from this post:
http://marcofalchi.blogspot.co.uk/2013/11/fedora-20-compile-cyanogenmod-110-part-1.html
I'm using this guide to build the kernel:
http://forum.xda-developers.com/showthread.php?t=1748297
However no matter what toolchain I use, I get the following error:
Code:
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0,
from arch/arm/mach-msm/perf_trace_counters.c:14:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/exec_domain.o
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
Can anyone shed any light? I've also tried compiling ayysir's kernel with the same result.
Update: Never mind, I copied arch/arm/mach-msm/perf_trace_counters.h to include/trace/ and it worked.
Feels like a bit of a hack and I probably did something wrong, but it compiled and I have a zImage - now to see if it will boot.
dougiebee said:
Wondering if someone can help? I'm trying to compile the CM kernel.
I'm running Fedora 20 64-bit and have installed the relevant packages from this post:
http://marcofalchi.blogspot.co.uk/2013/11/fedora-20-compile-cyanogenmod-110-part-1.html
I'm using this guide to build the kernel:
http://forum.xda-developers.com/showthread.php?t=1748297
However no matter what toolchain I use, I get the following error:
Code:
In file included from arch/arm/mach-msm/perf_trace_counters.h:126:0,
from arch/arm/mach-msm/perf_trace_counters.c:14:
include/trace/define_trace.h:79:43: fatal error: ./perf_trace_counters.h: No such file or directory
compilation terminated.
make[1]: *** [arch/arm/mach-msm/perf_trace_counters.o] Error 1
make[1]: *** Waiting for unfinished jobs....
CC kernel/exec_domain.o
make: *** [arch/arm/mach-msm] Error 2
make: *** Waiting for unfinished jobs....
Can anyone shed any light? I've also tried compiling ayysir's kernel with the same result.
Update: Never mind, I copied arch/arm/mach-msm/perf_trace_counters.h to include/trace/ and it worked.
Feels like a bit of a hack and I probably did something wrong, but it compiled and I have a zImage - now to see if it will boot.
Click to expand...
Click to collapse
For future reference only! Here is the solution: Solution
kostoulhs said:
For future reference only! Here is the solution: Solution
Click to expand...
Click to collapse
OR https://github.com/CyanogenMod/andr...fc90dab#diff-0d7cf45734954beb174f815cd5fd45b7

Compile kernel

Is this guide enough for making kernel for android: http://forum.xda-developers.com/android/software/ultimate-guide-compile-android-kernel-t2871276
Not really.
http://xda-university.com/as-a-developer/getting-started-building-a-kernel-from-source
Even this one you should look at as a advertisement for a good book that is free.
You need to read that book along side with going truth complete source on your git to get to know infrastructure & only after that you can go ahead with device specific not to get stuck to much & truly knowing what are you doing. When you do those two you are ready for costimizing & porting naturally counting on that you have a basic coding knowledge all redy. No shortcuts there.
I have problem.I am using linaro-arm-eabi-4.9.When I execute command -j3 it says:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[1]: 'include/generated/mach-types.h' is up to date.
CC scripts/mod/empty.o
/opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
scripts/Makefile.build:307: recipe for target 'scripts/mod/empty.o' failed
make[2]: *** [scripts/mod/empty.o] Error 2
scripts/Makefile.build:443: recipe for target 'scripts/mod' failed
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:510: recipe for target 'scripts' failed
make: *** [scripts] Error 2
make: *** Waiting for unfinished jobs....
CC kernel/bounds.s
/opt/toolchains/arm-eabi-4.6/bin/arm-eabi-gcc: No such file or directory
Is your PATH set correctly?
/media/sf_gti9301i/GT-I9301I_KK_Opensource/Kernel/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
make[1]: *** [kernel/bounds.s] Error 2
Makefile:990: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
@Pavlex4
You need to set the correct path to the tool chain in the makefile
Best Regards

Error when building cm13

can anyone help me i got this error when building cm13 for the op2:
[email protected]:~/cm$ brunch oneplus2
make: *** No rule to make target '/home/aaron/cm/out/target/product/oneplus2/obj/STATIC_LIBRARIES/libinit_msm_intermediates/libinit_msm.a', needed by '/home/aaron/cm/out/target/product/oneplus2/obj/EXECUTABLES/init_intermediates/LINKED/init'. Stop.
make: *** Waiting for unfinished jobs....
target C: libz <= external/zlib/src/zutil.c

RR for Samsung A5 2016

Xbuilding it...
seems I need some help regarding some files and testing. :highfive:
Dont be impatience . my internet speed is not upto the mark always and its been already 26hr I am syncing source. i hope within few hr more.
Dont ask noob question and dont post thank you in it. make this thread clean.
Update..
Source synced ...
need device code name .. anyone willing for help?
rajit said:
Update..
Source synced ...
need device code name .. anyone willing for help?
Click to expand...
Click to collapse
Come on!
a510f or a5xeltexx
It seems roomservice.xml not their. So i need that too . Need working device manifest ?. ANY DEV ?
rajit said:
It seems roomservice.xml not their. So i need that too . Need working device manifest ?. ANY DEV ?
Click to expand...
Click to collapse
I'm in the Exynos7580 organization on GitHub and unfortunately there is two problem :
- a5xeltexx device/vendor/kernel is not updated since few months
- seriously, I respect that you tried but you need a minimal knowledge in languages, Linux, Android structure and working, etc...
I ported RR on a3xeltexx and I'll MAYBE work on the a5xeltexx later
Also here's the room service for a3xeltexx, just changes repo names by a5xeltexx (look carefully on GitHub) : https://github.com/Stricted/LineageOS_build/blob/master/manifests/a3xeltexx.xml
Also names :
- device/vendor : a5xeltexx
- kernel : a5xelte
- model : A510F
You can contact me on Telegram : @kmx_reserved
I can maybe speed up A5 development but I need testers
Good luck
Wow! How's this project coming? Support for M variant as well?
KMXSLR said:
I'm in the Exynos7580 organization on GitHub and unfortunately there is two problem :
- a5xeltexx device/vendor/kernel is not updated since few months
- seriously, I respect that you tried but you need a minimal knowledge in languages, Linux, Android structure and working, etc...
I ported RR on a3xeltexx and I'll MAYBE work on the a5xeltexx later
Also here's the room service for a3xeltexx, just changes repo names by a5xeltexx (look carefully on GitHub) : https://github.com/Stricted/LineageOS_build/blob/master/manifests/a3xeltexx.xml
Also names :
- device/vendor : a5xeltexx
- kernel : a5xelte
- model : A510F
You can contact me on Telegram : @kmx_reserved
I can maybe speed up A5 development but I need testers
Good luck
Click to expand...
Click to collapse
thnx. after wasting 2day figure local menifest issue and abke to brekfast and brunch..
it seems the tree isn't complete and more over it giving errorr in evry 5 min of build . now got first error after 3.30hr of build and here it is look like..
Code:
device/samsung/exynos7580-common/audio/audio_hw.c:42:10: fatal error: 'linux/videodev2_exynos_media.h' file not found
#include <linux/videodev2_exynos_media.h>
^
1 error generated.
build/core/binary.mk:1087: recipe for target '/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/audio.primary.universal7580_intermediates/audio_hw.o' failed
make: *** [/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/audio.primary.universal7580_intermediates/audio_hw.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/exynos7580-common/audio/ril_interface.c:47:43: warning: unused parameter 'datalen' [-Wunused-parameter]
size_t datalen)
^
1 warning generated.
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.cpp:38:
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.h:57:
hardware/samsung_slsi-cm/exynos/libhwc/../include/exynos_v4l2.h:45:10: fatal error: 'linux/videodev2_exynos_media.h' file not found
#include <linux/videodev2_exynos_media.h>
^
1 error generated.
build/core/binary.mk:986: recipe for target '/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o' failed
make: *** [/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o] Error 1
make: Leaving directory '/home/leno/RR'
#### make failed to build some targets (03:13:38 (hh:mm:ss)) ####
Edit- fixed
rajit said:
thnx. after wasting 2day figure local menifest issue and abke to brekfast and brunch..
it seems the tree isn't complete and more over it giving errorr in evry 5 min of build . now got first error after 3.30hr of build and here it is look like..
Code:
device/samsung/exynos7580-common/audio/audio_hw.c:42:10: fatal error: 'linux/videodev2_exynos_media.h' file not found
#include <linux/videodev2_exynos_media.h>
^
1 error generated.
build/core/binary.mk:1087: recipe for target '/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/audio.primary.universal7580_intermediates/audio_hw.o' failed
make: *** [/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/audio.primary.universal7580_intermediates/audio_hw.o] Error 1
make: *** Waiting for unfinished jobs....
device/samsung/exynos7580-common/audio/ril_interface.c:47:43: warning: unused parameter 'datalen' [-Wunused-parameter]
size_t datalen)
^
1 warning generated.
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.cpp:38:
In file included from hardware/samsung_slsi-cm/exynos/libhwc/ExynosHWC.h:57:
hardware/samsung_slsi-cm/exynos/libhwc/../include/exynos_v4l2.h:45:10: fatal error: 'linux/videodev2_exynos_media.h' file not found
#include <linux/videodev2_exynos_media.h>
^
1 error generated.
build/core/binary.mk:986: recipe for target '/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o' failed
make: *** [/home/leno/RR/out/target/product/a5xeltexx/obj/SHARED_LIBRARIES/hwcomposer.exynos5_intermediates/ExynosHWC.o] Error 1
make: Leaving directory '/home/leno/RR'
#### make failed to build some targets (03:13:38 (hh:mm:ss)) ####
Edit- fixed
Click to expand...
Click to collapse
Mate that sources aren't updated. I builded RR without error few months back but no passes bootlogo.
TheAbraham696 said:
Mate that sources aren't updated. I builded RR without error few months back but no passes bootlogo.
Click to expand...
Click to collapse
still i want to give it a try right now stuck here
Code:
AS init/_vmm.o
/home/leno/RR/kernel/samsung/a5xelte/init/_vmm.S: Assembler messages:
/home/leno/RR/kernel/samsung/a5xelte/init/_vmm.S:41: Error: file not found: init/vmm.elf
/home/leno/RR/kernel/samsung/a5xelte/scripts/Makefile.build:344: recipe for target 'init/_vmm.o' failed
make[3]: *** [init/_vmm.o] Error 1
/home/leno/RR/kernel/samsung/a5xelte/Makefile:841: recipe for target 'init' failed
make[2]: *** [init] Error 2
Makefile:130: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/leno/RR/kernel/samsung/a5xelte'
vendor/cm/build/tasks/kernel.mk:299: recipe for target 'TARGET_KERNEL_BINARIES' failed
make: *** [TARGET_KERNEL_BINARIES] Error 2
make: *** Waiting for unfinished jobs....
# In case value of PACKAGES is empty.
make: Leaving directory '/home/leno/RR'
I'll start working on LineageOS for A5 then I'll work on RR. (Step by step, this is not recommended to release a RR before LOS)
EDIT: I'll need testers that knows how to make a logcat, dmesg and that can send me a list of bugs
KMXSLR said:
I'll start working on LineageOS for A5 then I'll work on RR. (Step by step, this is not recommended to release a RR before LOS)
EDIT: I'll need testers that knows how to make a logcat, dmesg and that can send me a list of bugs
Click to expand...
Click to collapse
I can be a tester if you want. I have telegram too
Wich version are you porting ? 5.8.4 ?
I can help you with testing, just hmu on discord @popi #5513 (i am in your los group)

make error

im porting ubuntu touch on ms013g and when im building system image i getting error
make: *** No rule to make target '/home/shigenta/halium/out/target/product/ms013g/obj/STATIC_LIBRARIES/libinit_msm_intermediates/export_includes', needed by '/home/shigenta/halium/out/target/product/ms013g/obj/EXECUTABLES/init_intermediates/import_includes'. Stop.
make: *** Waiting for unfinished jobs....
Symlink: /home/shigenta/halium/out/target/product/ms013g/recovery/root/sbin/mkfs.exfat -> mount.exfat
make: Leaving directory '/home/shigenta/halium'
Click to expand...
Click to collapse
Help me fix it

Categories

Resources