我知道这可能与某些问题重复。但这些线程的答案对我没有帮助。
我正在尝试使用 Bambuser 的 ffmpeg 为 Android 编译 ffmpeg 库。
我下载了客户端版本 1.3.7 至 1.6.0 的存档。 http://bambuser.com/r/opensource/ffmpeg-4f7d2fe-android-2011-03-07.tar.gz来自竹木用户。
我遵循了 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
[email protected] /cdn-cgi/l/email-protection 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 的
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.
in tmp我没有找到任何相关文件夹或文件,如 config.log 所示“ffconf.qflVj27Q.c”。
我正在这样做
1.Ubuntu 11.10
2.OpenJDK 6
3. android-ndk-r5b
NOte:
我只在 eclipse 中安装了 API-10。 (如果重要的话:D)
解决这个问题的办法是什么?