【发布时间】:2012-09-13 14:00:56
【问题描述】:
我知道这可能与某些问题重复。但这些线程的答案对我没有帮助。
我正在尝试使用 Bambuser 的 ffmpeg 为 android 编译 ffmpeg 库。
我从 bambuser 下载了Archive for client versions 1.3.7 to 1.6.0. 。
我按照 REAME 中的说明进行操作。
在运行 ./build.sh 时遇到以下错误
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”。
我正在这样做
1. Ubuntu 11.10
2.OpenJDK 6
3. android-ndk-r5b
注意:
我只在 Eclipse 中安装了 API-10。 (如果重要的话:D)
有什么办法可以解决这个问题?
【问题讨论】:
-
找到解决方案了吗?
-
在 Windows 中面临同样的问题
-
@AZone 你在 windows 中找到解决方案了吗?
标签: android gcc ffmpeg ubuntu-11.10 android-ndk-r5