Bambuser ffmpeg – “arm-linux-androideabi-gcc无法创建可执行
我知道这可能是一些问题的重复.但这些线程的答案并没有帮助我.
我正在尝试使用Bambuser的ffmpeg为android编译ffmpeg库. 我按照REAME中的指示进行操作. arm-linux-androideabi-gcc is unable to create an executable file. C compiler test failed. If you think configure made a mistake,make sure you are using the latest version from SVN. If the latest version fails,report the problem to the ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solving the problem. 这是ffmpeg的config.log的最后几行 mktemp is /bin/mktemp check_ld check_cc BEGIN /tmp/ffconf.qflVj27Q.c 1 int main(void){ return 0; } END /tmp/ffconf.qflVj27Q.c arm-linux-androideabi-gcc --sysroot=/home/chaitanya/android/android-ndk-r5b/platforms/android-8/arch-arm -c -o /tmp/ffconf.gc6um0Ki.o /tmp/ffconf.qflVj27Q.c arm-linux-androideabi-gcc: error trying to exec 'cc1': execvp: No such file or directory C compiler test failed. 在tmp中我找不到任何相关文件夹或文件,如config.log所示“ffconf.qflVj27Q.c”. 我这样做 注意: 这可能是什么解决方案? 解决方法
当我遇到同样的问题时,我终于发现了我的设置问题…看看arm-build.sh脚本,我开始关注脚本.注意“TOOLCHAIN = …”路径.
最初的路径是: 当我去验证这条路存在时,我注意到它没有. 我的道路实际上是: 我最终做的是复制文件夹,并将其重命名为“linux-x86”,现在所有人都在编译. 希望这有助于某人! (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |