[FFmpeg-devel] ffmpeg configure for ARM Linux

Ashfaque ashfaque at iwavesystems.com
Tue Jun 5 13:10:49 CEST 2012


Still I am struggling to cross compile ffmpeg for ARM platform(config.log file is attached).
Below is the configuration option I am using.

./configure \
    --prefix=$DIST_DIR \
    --cc=/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-linux-gcc \
    --extra-ldflags=-L/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/lib \
    --disable-bzlib \
    --disable-doc \
    --enable-ffmpeg \
    --disable-ffplay \
    --disable-ffserver \
    --enable-cross-compile --arch=arm --target-os=darwin \
    /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/arm-linux-gcc \
    --extra-ldflags='-arch arm --sysroot
    /opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/lib' \
    --extra-cflags='-pipe -Os -gdwarf-2 --sysroot
    -m${thumb_opt:-no-thumb} -mthumb-interwork' 

On running above configuration I am getting below error. Please help me to fix this.

/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.


-----Original Message----- 
From: Michael Niedermayer 
Sent: Tuesday, June 05, 2012 4:09 PM 
To: FFmpeg development discussions and patches 
Subject: Re: [FFmpeg-devel] ffmpeg configure for ARM Linux 

ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.h
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120605/8583e97b/attachment.h>

More information about the ffmpeg-devel mailing list