[FFmpeg-user] FFmpeg configure script, iOS 4.3, XCode 3.2.6

Leo Izen leo.izen at gmail.com
Sat Apr 2 15:42:27 CEST 2011


On Fri, Apr 1, 2011 at 8:46 PM, Brent Murata <brent at thegoodnite.com> wrote:

> Hello,
>
> I'm having problems with the FFmpeg configure scripts, iOS 4.3, and XCode
> 3.2.6.  I am a novice when it comes to gcc, so please forgive my questions.
>  FYI, it seems that iOS 4.1, XCode 3.2.6 works ok.
>
> I've tried the built in configure scripts without success.  At the command
> prompt I enter:
>
> ./configure
> --cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc --as='
>
> gas-preprocessor.pl/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc
> '
>
> --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk
> --enable-cross-compile --target-os=darwin --cpu=arm1176jzf-s --arch=arm
> --extra-cflags='-arch armv6' --extra-ldflags='-arch armv6'
>
> I have the FFmpeg git snapshot from 3/31/2011.
>
> I've placed the gas-preprocessor.pl file in /usr/local/bin/
>
> The error message is:  ld: file not found: /usr/lib/system/libcache.dylib
> for architecture armv6
>
> Config.log is attached.
>
> I've read online that when using version 3.2.6 and version 4.0 of XCode we
> should be using -isysroot instead of --sysroot.  I tried this without
> success.
>

1. Try adding --extra-cflags='--sysroot ...' and --extra-ldflags='-isysroot
...'
According to this page: http://www.doitscared.com/?p=521 that's what you
should do.

2. Will this new FFmpeg be on Cydia, or is it a private build for an App
Store App?


>
> Any advice / help would be much appreciated.
>
> Thanks,
> Brent Murata
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>


More information about the ffmpeg-user mailing list