I've searched the forums for this error yet have found no solution. I've been trying to build CM7 for my Droid and jt1134's AOSP Froyo for Fascinate but I've been getting this error every time. I googled it and only found someone posting the same error on pastebin. I was hoping someone around here could help me out. I'm running Mac OSX 10.6.6.
Code:
In file included from external/v8/src/macro-assembler.h:87,
from external/v8/src/jsregexp.h:31,
from external/v8/src/ast.h:33,
from external/v8/src/compiler.h:31,
from external/v8/src/api.cc:33:
external/v8/src/arm/assembler-arm-inl.h: In constructor ‘v8::internal::Operand::Operand(const char*)’:
external/v8/src/arm/assembler-arm-inl.h:165: error: cast from ‘const char*’ to ‘int32_t’ loses precision
external/v8/src/arm/assembler-arm-inl.h: In constructor ‘v8::internal::Operand::Operand(const v8::internal::ExternalReference&)’:
external/v8/src/arm/assembler-arm-inl.h:172: error: cast from ‘v8::internal::byte*’ to ‘int32_t’ loses precision
make: *** [out/host/darwin-x86/obj/EXECUTABLES/mksnapshot_intermediates/src/assembler.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/darwin-x86/obj/EXECUTABLES/mksnapshot_intermediates/src/api.o] Error 1
I honestly have no idea what to do. Any help?
Hello. When i try compile my kernel i got some errors
I'm using theese commands:
Code:
make ARCH=arm iconiaa500_defconfig
with no problems it says 'configuration written to .config' then i cant find that file.
whet i try to compile it with this command
Code:
make ARCH=arm CROSS_COMPILE=/home/myhomedir./A500-kernel/toolchains/arm-2009q3/bin/arm-none-eabi- -j3
then at the end i get something like:
Code:
drivers/usb/host/ehci-hub.c:130: warning: 'ehci_adjust_port_wakeup_flags' defined but not used
drivers/usb/host/ehci-lpm.c:20: warning: 'ehci_lpm_set_da' defined but not used
drivers/usb/host/ehci-lpm.c:40: warning: 'ehci_lpm_check' defined but not used
net/mac80211/tx.c: In function 'ieee80211_subif_start_xmit':
net/mac80211/tx.c:1753: warning: unused variable 'mppath'
arch/arm/boot/compressed/piggy.lzo.S: Assembler messages:
arch/arm/boot/compressed/piggy.lzo.S:4: Error: file not found: arch/arm/boot/compressed/piggy.lzo
make[2]: *** [arch/arm/boot/compressed/piggy.lzo.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [arch/arm/boot/compressed/vmlinux] Error 2
make: *** [zImage] Error 2
make: *** Waiting for unfinished jobs....
anyone knows whats problem? thanks for spending some time. Sorry for bad english.
I was try many guides include nethams and sp3dev's
HTML:
http://forum.xda-developers.com/showthread.php?t=1158260&page=24
HTML:
http://forum.xda-developers.com/showthread.php?t=1158260&page=9
I'm using astarasikov-iconia-gnu-kernel source.
Sorry for bad English.
Tautvaldas said:
Hello. When i try compile my kernel i got some errors
Sorry for bad English.
Click to expand...
Click to collapse
You may want to post this in the main Android Dev thread.
where? Questions and Answers? maybe.
Never mind, thanks, no need it anymore, I've got it, fixed all problems and found solutions. thanks.
One more question. If i set initrd files location in kernel config, can i unpack initramfs.cpio from my compiled kernel zImage after compile it. I tryed unpack .config file from zImage, it works fine, but i want unpack initramfs if it possible?
I'm building kernel on Ubuntu 14.04
To build kernel...
1. make mrproper (delete config files..)
2. make menuconfig (create new config files..)
3. mp dev (compile and build kernel)
and, after mp dev
CHK include/generated/utsrelease.h
Using /root/shield-open-source_1/kernel as source for kernel
/root/shield-open-source_1/kernel is not clean, please run 'make mrproper'
in the '/root/shield-open-source_1/kernel' directory.
make[2]: *** [prepare3] Error 1
make[2]: *** Waiting for unfinished jobs....
UPD include/generated/utsrelease.h
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory `/root/shield-open-source_1/kernel'
dmake: *** [/root/shield-open-source_1/out/target/product/t210/obj/KERNEL/arch/arm64/boot/Image] Error 2
make: *** Waiting for unfinished jobs....
I changed menuconfig ex) randconfig, defconfig etc...
but this >please run 'make mrproper'< message always appear!
plz help what should I do..
Remove your .config file from your root directory. That's normally what will cause that error. You need a clean unmodified file tree.
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)
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