欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Ubuntu16 编译android源码6.0 rk3288 clang: error: unable to execute command: No such file or directory

程序员文章站 2022-07-15 16:43:23
...
PRODUCT_COPY_FILES device/rockchip/common/fstab.rk30board.bootmode.unknown:root/fstab.rk30board.bootmode.unknown ignored.
PRODUCT_COPY_FILES device/rockchip/common/fstab.rk30board.bootmode.emmc:root/fstab.rk30board.bootmode.emmc ignored.
No private recovery resources for TARGET_DEVICE rk3288
host SharedLib: libc++ (out/host/linux-x86/obj/lib/libc++.so)
host Executable: acp (out/host/linux-x86/obj/EXECUTABLES/acp_intermediates/acp)
clang: error: unable to execute command: No such file or directory
clang: error: linker command failed due to signal (use -v to see invocation)
build/core/host_shared_library_internal.mk:51: recipe for target 'out/host/linux-x86/obj/lib/libc++.so' failed
make: *** [out/host/linux-x86/obj/lib/libc++.so] Error 255

编译时报错

clang: error: unable to execute command: No such file or directory

 

cp /usr/bin/ld.gold prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/bin/ld

 

然后make  update-api