[FFmpeg-user] problems of compile Android variant
jintonglei
jintonglei at gmail.com
Wed Nov 30 06:58:27 CET 2011
>> Hello,
>> I tried to compile ffmpeg for Android but fail, it said:
>> mips-linux-gnu-gcc is unable to create an executable file.
>> C compiler test failed.
>>
>> And the configuration is:
>> ./configure --arch=mips --cross-prefix=mips-linux-gnu-
>> --extra-ldflags=-static extra-cflags=-static --enable-cross-compile
>> --target-os=linux
> --disable-static --enable-shared --
> sysroot=${ANDROID_NDK}/platforms/android-8/arch-arm --arch=arm --target-
> os=linux --cross-prefix=${ANDROID_NDK}/toolchains/arm-linux-
> androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi- --disable-
> symver --cc="/usr/bin/ccache ${ANDROID_NDK}/toolchains/arm-linux-
> androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc" --
> enable-small
> There are also some minor modifications needed to the source, but those are
> for ARM assembler and so shouldn't be needed for you.
thanks a lot!
But it still complain "...is unable to create an executable file. C compiler test failed", no matter on arm-abi or mips-abi.
Any more tips?
------------------
jintonglei
2011-11-30
More information about the ffmpeg-user
mailing list