[FFmpeg-user] problem in configuration of ffmpeg in mac

Avinash Kashyap avinashkashyap at globussoft.com
Sat Jun 1 07:44:44 CEST 2013

   i try to configure ffmpeg library in macos. i want to use library in my app for converting flv video to mp4 format.
for configuration of ffmpeg i am using the following commands 
./configure \
--prefix=armv7 \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--enable-avresample \
--enable-cross-compile \
--sysroot="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk" \
--target-os=darwin \
--cc="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc" \
--extra-cflags="-arch armv7 -mfpu=neon -miphoneos-version-min=6.0" \
--extra-ldflags="-arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk -miphoneos-version-min=6.0" \
--arch=arm \
--cpu=cortex-a9 \
--enable-pic \
but its give error
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc is unable to create an executable file.C compiler test failed.also installed macports and  download gas-preprocessor.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log.zip
Type: application/zip
Size: 22627 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20130601/1b11ed77/attachment.zip>
-------------- next part --------------

i also attached the log file.
Please reply ASAP.

Thanks & Regards
Avinash kashyap

More information about the ffmpeg-user mailing list