Hello everyone!
I am trying to build CyanogenMod 12 for Motorola Milestone 2. I have downloaded CM12 and built a tree of device. When I run build I get error:
Bash:
target thumb C++: libvold <= system/vold/VoldCommand.cpp
arm-linux-androideabi-g++: error: ": No such file or directory
target thumb C++: libvold <= system/vold/NetlinkManager.cpp
make: *** [build/core/binary.mk:616: /home/bars/e/working_directory/out/target/product/milestone2/obj/STATIC_LIBRARIES/libvold_intermediates/VoldCommand.o] Ошибка 1
make: *** Ожидание завершения заданий…
arm-linux-androideabi-g++: error: ": No such file or directory
make: *** [build/core/binary.mk:616: /home/bars/e/working_directory/out/target/product/milestone2/obj/STATIC_LIBRARIES/libvold_intermediates/NetlinkManager.o] Ошибка 1
target thumb C++: libvold <= system/vold/NetlinkHandler.cpp
arm-linux-androideabi-g++: error: ": No such file or directory
make: *** [build/core/binary.mk:616: /home/bars/e/working_directory/out/target/product/milestone2/obj/STATIC_LIBRARIES/libvold_intermediates/NetlinkHandler.o] Ошибка 1
#### make failed to build some targets (03:04 (mm:ss)) ####
Help me please! I can't understand what I need do. Sorry for my English.
I'm not 100% sure about CyanogenMod, but on AOSP builds you have to set CROSS_COMPILE.
Try setting CROSS_COMPILE to the full path to the the gcc prebuilt from AOSP. Or your distro may have one that's compatable. You can try installing gcc/g++ from you package manager and then setting CROSS_COMPILE to that.
Related
I have thought of every possible way. The last way is to delete the lines but i need ur help to fix it
the error is
Code:
target arm C: libz <= external/zlib/adler32.c
In file included from external/zlib/zlib.h:34:0,
from external/zlib/zutil.h:24,
from external/zlib/adler32.c:9:
external/zlib/zconf.h:395:22: fatal error: limits.h: No such file or directory
compilation terminated.
make: *** [/home/yajnavalkya/cm10/out/target/product/beni/obj/SHARED_LIBRARIES/libz_intermediates/adler32.o] Error 1
Hi all,
I just got a Nexus 5 a week or so ago and figured I'd try to build my own ROM. I used the guide here: http://source.android.com/source/building-running.html
Build ran for about an hour, then exited with an error. Here's the last few lines of the log:
Code:
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
Copying: out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/emma_out/lib/classes-jarjar.jar
target Generated: libbcc <= frameworks/compile/libbcc/tools/build/gen-build-info.py
Install: out/host/linux-x86/lib/libLLVM.so
Copying: out/host/common/obj/JAVA_LIBRARIES/apache-xml-hostdex_intermediates/classes.jar
Copying: out/host/common/obj/JAVA_LIBRARIES/conscrypt-hostdex_intermediates/classes.jar
Copying: out/target/common/obj/JAVA_LIBRARIES/guava_intermediates/emma_out/lib/classes-jarjar.jar
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/ActiveDOMObject.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/AnimationEvent.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/Attr.cpp
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/BeforeTextInsertedEvent.cpp
acp: partial write to 'out/host/linux-x86/lib/libLLVM.so' (4096 of 8192)
make: *** [out/host/linux-x86/lib/libLLVM.so] Error 1
make: *** Deleting file `out/host/linux-x86/lib/libLLVM.so'
target thumb C++: third_party_WebKit_Source_core_webcore_dom_gyp <= external/chromium_org/third_party/WebKit/Source/core/dom/BeforeUnloadEvent.cpp
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes. Stop.
Has anyone ran into this sort of issue before?
Thanks in advance
Bensky91 said:
Build ran for about an hour, then exited with an error. Here's the last few lines of the log:
Code:
acp: partial write to 'out/host/linux-x86/lib/libLLVM.so' (4096 of 8192)
Has anyone ran into this sort of issue before?
Thanks in advance
Click to expand...
Click to collapse
Disk's not full is it?
gtj0 said:
Disk's not full is it?
Click to expand...
Click to collapse
Funny you should mention that, I just fixed my problem by resizing my partition. Didn't give enough space to the VM.
Thanks!
Setup my build environment according to this post
http://forum.xda-developers.com/showthread.php?t=2639611
and trying to build this ROM
https://github.com/CarbonDev/android
I got a build error mid way
HTML:
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp: In member function 'void overlay::MdpCtrl::setColor(uint32 _t)':
hardware/qcom/display/msm8974/liboverlay/overlayMdp.cpp:105:13: error: 'struct mdp_overlay' has no member named 'bg _color'
make: *** [/root/carbon/out/target/product/hammerhead/obj/SHARED_LIBRARIES/liboverlay_intermediates/overlayMdp.o] E rror 1
make: *** Waiting for unfinished jobs....
target thumb C++: liboverlay <= hardware/qcom/display/msm8974/liboverlay/overlayMdssRot.cpp
make: *** wait: No child processes. Stop.
I google and got this suggesting
Try switching hardware/qcom/display to cyanogenmod 's version
What file do I edit to change this?
Thanks.
Hi My Brothers...
I try build CM13.0. But all time error...
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S: Assembler messages:
frameworks/rs/cpu_ref/rsCpuIntrinsics_neon_Blur.S:1503: Error: unexpected end of file in irp or irpc
/tmp/rsCpuIntrinsics_neon_Blur-e31cd5.s: Error: local label `"1" (instance number 2 of a fb label)' is not defined
clang: error: assembler command failed with exit code 1 (use -v to see invocation)
build/core/binary.mk:881: recipe for target '/home/mustachedocto/Cyanogenmod/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o' failed
make: *** [/home/mustachedocto/Cyanogenmod/out/target/product/hammerhead/obj/SHARED_LIBRARIES/libRSCpuRef_intermediates/rsCpuIntrinsics_neon_Blur.o] Error 1
make: *** Waiting for unfinished jobs....
target thumb C++: libRSCpuRef <= frameworks/rs/cpu_ref/rsCpuRuntimeMath.cpp
make: *** wait: No child processes. Stop.
#### make failed to build some targets (25:24 (mm:ss)) ####
Please help my m8 How to fix??
"ebtables is disabled on this build"
/bin/bash: prebuilts/python/linux-x86/2.7.5//bin/python: No such file or directory
build/core/base_rules.mk:559: warning: overriding recipe for target '/root/android/system/out/target/product/manta/root/res/images/charger/battery_fail.png'
build/core/base_rules.mk:559: warning: ignoring old recipe for target '/root/android/system/out/target/product/manta/root/res/images/charger/battery_fail.png'
find: ‘dummy’: No such file or directory
PRODUCT_COPY_FILES device/samsung/manta/audio_effects.conf:system/etc/audio_effects.conf ignored.
No private recovery resources for TARGET_DEVICE manta
build/core/tasks/kernel.mk:358: warning: overriding recipe for target '/root/android/system/out/target/product/manta/kernel'
build/core/Makefile:46: warning: ignoring old recipe for target '/root/android/system/out/target/product/manta/kernel'
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: libcompiler_rt-extras <= external/compiler-rt/lib/builtins/mulodi4.c
host C++: libc++_static <= external/libcxx/src/algorithm.cpp
host C++: libc++_static <= external/libcxx/src/bind.cpp
prebuilts/clang/linux-x86/host/3.6/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:825: /root/android/system/out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 127
make: *** Waiting for unfinished jobs....
prebuilts/clang/linux-x86/host/3.6/bin/clang: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
make: *** [build/core/binary.mk:825: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/lib/builtins/mulodi4.o] Error 127
prebuilts/clang/linux-x86/host/3.6/bin/clang++prebuilts/clang/linux-x86/host/3.6/bin/clang++: : error while loading shared librarieserror while loading shared libraries: : libncurses.so.5libncurses.so.5: : cannot open shared object filecannot open shared object file: : No such file or directoryNo such file or directory
make: *** [build/core/binary.mk:730: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/algorithm.o] Error 127
make: *** [build/core/binary.mk:730: /root/android/system/out/host/linux-x86/obj/STATIC_LIBRARIES/libc++_static_intermediates/src/bind.o] Error 127
make: Leaving directory '/root/android/system'
#### make failed to build some targets (38 seconds) ####
I have no idea what to do, I'm on Arch Linux.