当前位置: 首页 > 工具软件 > android lib > 使用案例 >

Android 源码编译 libc++.so

姚永年
2023-12-01

系统 Ubuntu16.04TLS

Android源码 5.1.0_r1

clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [/aosp/out/host/linux-x86/obj/lib/libc++.so] Error 1

make时报错。


解决办法:

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


 类似资料: