Android5.0 编译出错,哪位大神帮帮我

mkdir -p out/target/product/generic/obj/STATIC_LIBRARIES/third_party_webrtc_modules_audioproc_debug_proto_gyp_intermediates; cp out/target/product/generic/obj/GYP/shared_intermediates/protoc_out/webrtc/audio_processing/debug.pb.cc out/target/product/generic/obj/STATIC_LIBRARIES/third_party_webrtc_modules_audioproc_debug_proto_gyp_intermediates/debug.pb.cc
host Executable: third_party_libvpx_libvpx_obj_int_extract_arm_host_gyp (out/host/linux-x86/obj32/EXECUTABLES/third_party_libvpx_libvpx_obj_int_extract_arm_host_gyp_intermediates/libvpx_obj_int_extract)
target thumb C++: third_party_webrtc_modules_rtp_rtcp_gyp <= external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/rtp_header_parser.cc
/home/rock/android-5.0.0_r2/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/../lib/gcc/x86_64-linux/4.6/../../../../x86_64-linux/bin/ld: error: out/host/linux-x86/obj32/EXECUTABLES/third_party_libvpx_libvpx_obj_int_extract_arm_host_gyp_intermediates/third_party/libvpx/source/libvpx/build/make/obj_int_extract.o: file is empty
/home/rock/android-5.0.0_r2/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/bin/../sysroot/usr/lib/../lib32/Scrt1.o(.text+0x28): error: undefined reference to 'main'
collect2: ld returned 1 exit status
make: *** [out/host/linux-x86/obj32/EXECUTABLES/third_party_libvpx_libvpx_obj_int_extract_arm_host_gyp_intermediates/libvpx_obj_int_extract] 错误 1
make: *** 正在等待未完成的任务....

哪位大神可以帮帮我。

1个回答

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

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问