Hey,
Has anyone successful compiled ffmpeg with the new xcode 4/iOS SDK 4.3? I had it working fine with SDK 4.2 and the older Xcode, but since upgrading I can't get it to compile. I have gas-processor in my PATH and I use this as my configure line

./configure --prefix=lib --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.3.sdk --cpu=cortex-a8 --enable-pic

It fails when attempting to make a basic executable with gcc

/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7 --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -mcpu=cortex-a8 -c -o /var/folders/oM/oMKq2osuGBO9uVy2kGXERU+++TI/-Tmp-//ffconf.Ij0hMawg.o /var/folders/oM/oMKq2osuGBO9uVy2kGXERU+++TI/-Tmp-//ffconf.L5HQw8gW.c /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -arch armv7 --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -o /var/folders/oM/oMKq2osuGBO9uVy2kGXERU+++TI/-Tmp-//ffconf.wT8w52FF /var/folders/oM/oMKq2osuGBO9uVy2kGXERU+++TI/-Tmp-//ffconf.Ij0hMawg.o
ld: file not found: /usr/lib/system/libcache.dylib for architecture armv7
collect2: ld returned 1 exit status
C compiler test failed.

I don't understand why it's looking in /usr/lib/system for that file instead of the /usr/lib/system under the directory defined by --sysroot... I did a full uninstall of xcode and installed the new one.

Any ideas? Does it need new flags with the new xcode?

Thanks in advance

Malcolm
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to