[Q] Noob Trying to Build AOKP but fail - HTC One S

trying to build aokp but having trouble, can anyone help? plz
*
build/core/tasks/kernel.mk:47: ***************************************************************
host C: mkbootimg <= system/core/mkbootimg/mkbootimg.c
host C: acp <= build/tools/acp/acp.c
host StaticLib: libmincrypt (out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a)
Cannot create temporary file in ./: Read-only file system
host StaticLib: libhost (out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a)
Cannot create temporary file in ./: Read-only file system
prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar: out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a: Read-only file system
prebuilts/tools/gcc-sdk/../../gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/bin/x86_64-linux-ar: out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a: Read-only file system
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libmincrypt_intermediates/libmincrypt.a] Error 1
make: *** Waiting for unfinished jobs....
make: *** [out/host/linux-x86/obj/STATIC_LIBRARIES/libhost_intermediates/libhost.a] Error 1
prebuilts/tools/gcc-sdk/gcc: line 40: 12720 Aborted (core dumped) $MY_TOOL "[email protected]"
make: *** [out/host/linux-x86/obj/EXECUTABLES/mkbootimg_intermediates/mkbootimg.o] Error 134
prebuilts/tools/gcc-sdk/gcc: line 40: 12744 Aborted (core dumped) $MY_TOOL "[email protected]"
make: *** [out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp.o] Error 13

Related

Cyanogenmod 10 libz error[HELP]

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

[HELP] Android kernel compiling error.

Hi every body, I am trying to compile kernel for SamSung Galaxy S5 (SM-G906K).
I always get this error message, i don't know how to solve it. Please help me !
Thank you all!
________________________________________________________
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
[email protected]:~/Kernel2$ make mrproper
/home/vip7009pro/Kernel2/drivers/gpu/gpu_sysfs/Kbuild:29: **** Make sure target file is defined. Check the TARGET and GPU configs in Makefile and Kernel Config. Module won't work without target file. ****
scripts/Makefile.clean:17: /home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile: No such file or directory
make[4]: *** No rule to make target `/home/vip7009pro/Kernel2/drivers/media/isdbt/fc8150/Makefile'. Stop.
make[3]: *** [drivers/media/isdbt/fc8150] Error 2
make[2]: *** [drivers/media/isdbt] Error 2
make[1]: *** [drivers/media] Error 2
make: *** [_clean_drivers] Error 2
_________________________________________

Please Help... "rsCpuIntrinsics_neon_Blur.o"

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??

I am getting this error while trying to port LineageOS

"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.

Build Android problem with androideabi

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.

Categories

Resources