[FFmpeg-user] Compile error when building for iOS

Mahmut Akcay mahakcay at gmail.com
Mon Apr 11 17:18:17 CEST 2011


I'm having the following problem when cross-compiling for iOS 4.2 :
AS libavcodec/arm/dsputil_vfp.o
CC libavcodec/arm/fft_fixed_init_arm.o
AS libavcodec/arm/fft_fixed_neon.o
Too many arguments to macro movrel at
/usr/local/bin/gas-preprocessor.plline 255, <ASMFILE> line 174.
make: *** [libavcodec/arm/fft_fixed_neon.o] Error 255

Below is the config params I'm using:
./configure --enable-cross-compile --arch=arm --target-os=darwin
--cc='/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch
armv7'
--sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
--cpu=cortex-a8 --enable-pic --disable-shared --enable-static
--disable-ffmpeg --disable-ffserver --disable-ffplay --disable-encoders
--enable-extra-warnings --disable-debug

I'm using the latest version of gas-preprocessor.pl
fromhttps://github.com/yuvi/gas-preprocessor.

Any help?

Thanks in advance.
mahmut


More information about the ffmpeg-user mailing list