[FFmpeg-devel] ffmpeg configure for ARM Linux

Ashfaque ashfaque at iwavesystems.com
Tue Jun 5 08:17:17 CEST 2012

Hi All,

I am trying to configure FFMPEG for linux 2.6.35 ( Cross compiling for ARM embedded platform ).

Below are the configuration options.
./configure \
    --prefix=$DIST_DIR \
    --extra-ldflags=-L/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/lib/gcc \
    --disable-bzlib \
    --disable-doc \
    --disable-ffmpeg \
    --disable-ffplay \
    --disable-ffserver \
    --enable-cross-compile --arch=arm --target-os=darwin \
    --cc=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-linux-gcc \
    /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-linux-gcc-4.4.4' \    
--extra-cflags='/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/arm-fsl-linux-gnueabi/include' \
    --extra-ldflags='/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/lib/gcc' \    

I am getting below errors.

/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-linux-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 Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org 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.

Please let me know whether the configuration options are correct.
Any links where I can find the correct configurations for cross compiling to ARM platform.

Thanks & Regards,

More information about the ffmpeg-devel mailing list