[FFmpeg-user] Errors when compiling ffmpeg for iPhone

Simon Daniels simondaniels23 at gmail.com
Thu Feb 16 08:25:18 CET 2012

I'm on OS X Lion and I'm trying to compile the armv7 libraries of ffmpeg
for the iPhone. I'm using ffmpeg 0.10.

Here's my configure line:
./configure --disable-doc --disable-ffmpeg --disable-ffplay
--disable-ffserver --disable-ffprobe --enable-cross-compile --arch=arm
--cpu=cortex-a8 --extra-cflags='-arch armv7' --extra-ldflags='-arch armv7
--enable-pic --disable-avdevice --disable-avfilter --disable-zlib

Configure runs fine although it ends with: WARNING: Compiler does not
indicate floating-point ABI, guessing soft.

Here are my make results:
Users-MacBook-Pro:ffmpeg-0.10 user$ make
CC    libavformat/4xm.o
CC    libavformat/a64.o
CC    libavformat/aacdec.o
CC    libavformat/ac3dec.o
CC    libavformat/act.o
CC    libavformat/adtsenc.o
CC    libavformat/adxdec.o
CC    libavformat/aea.o
CC    libavformat/aiffdec.o
CC    libavformat/aiffenc.o
CC    libavformat/allformats.o
CC    libavformat/amr.o
CC    libavformat/anm.o
CC    libavformat/apc.o
CC    libavformat/ape.o
CC    libavformat/apetag.o
CC    libavformat/applehttp.o
CC    libavformat/applehttpproto.o
CC    libavformat/asf.o
CC    libavformat/asfcrypt.o
error: invalid operand in inline asm: 'ldr   ${0:Q}, $1
    ldr   ${0:R}, $2
make: *** [libavformat/asfcrypt.o] Error 1
Users-MacBook-Pro:ffmpeg-0.10 user$

Any ideas? Thanks!

More information about the ffmpeg-user mailing list