7

私はこれがいくつかの質問の重複である可能性があることを知っています。しかし、それらのスレッドに対する答えは私を助けていません。

Bambuserのffmpegを使用してAndroid用のffmpegライブラリをコンパイルしようとしています。クライアントバージョン1.3.7から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.Ubuntu11.10 2. OpenJDK 63.android-ndk-r5bで行っ


ます


私はAPI-10のみをEclipseにインストールしています。(重要な場合:D)

これに対する解決策は何でしょうか?

4

2 に答える 2

11

この同じ問題に直面したときに、最終的にセットアップの問題を発見しました... arm-build.sh スクリプトを見て、スクリプトをたどり始めました。「TOOLCHAIN=...」パスに注意してください。

元のパスは次のとおりでした: TOOLCHAIN=echo $NDK/toolchains/arm-linux-androideabi-4.6/prebuilt/*-x86

このパスが存在することを確認したところ、存在しないことに気付きました。その理由は、 64ビットビルドを使用しているためだと思います。

私のパスは実際には次のとおりです: .../toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64

私がやったのは、フォルダーをコピーし、名前を「linux-x86」に変更することでした。今はすべてコンパイル中です。

これが誰かを助けることを願っています!

于 2013-07-25T17:17:09.837 に答える