Error while executing build.sh in ffmpeg-android

♀尐吖头ヾ 提交于 2020-01-05 07:49:10

问题


I downloaded ffmpeg-android from the link : http://bambuser.com/opensource

I followed the steps given in the file README available in that downloaded folder.

I tried compiling ffmpeg with both android NDK r5 and r6, but got the same error which is as below:

 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.

Cygwin Version: 1.7.9

Please someone help me in resolving it.


回答1:


I got the same error message, but on Ubuntu 64-bit. The NDK is compiled for 32-bit, so I had to install ia32-libs. Got it working by installing:

sudo apt-get install ia32-libs

If that doesn't help, you could also try making sure that Android SDK and Java is installed.



来源:https://stackoverflow.com/questions/7469722/error-while-executing-build-sh-in-ffmpeg-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!