vlc compile error for iOS?
Posted: 15 Aug 2012 12:46
cd ffmpeg && CC="xcrun clang" CXX="xcrun clang++" LD="xcrun ld" AR="xcrun ar" RANLIB="xcrun ranlib" STRIP="xcrun strip" PATH="/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/bin:/Users/lsg/MobileVLC/ImportedSources/vlc/extras/tools/build/bin:/Users/lsg/mobilevlc/ImportedSources/vlc/extras/tools/build/bin:/Users/lsg/mobilevlc/ImportedSources/vlc/contrib/i686-apple-darwin11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/Users/lsg/mobilevlc/ImportedSources/vlc/extras/package/ios/resources" CPPFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -arch i386 -miphoneos-version-min=5.0 -m32 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -I/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/include" CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -arch i386 -miphoneos-version-min=5.0 -m32 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -I/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/include" CXXFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -arch i386 -miphoneos-version-min=5.0 -m32 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -I/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/include" LDFLAGS="-syslibroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/ -arch i386 -m32 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -L/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/lib" ./configure \
--extra-cflags="-DHAVE_LRINTF --std=gnu99 -DHAVE_STDINT_H" \
--extra-ldflags="-syslibroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/ -arch i386 -m32 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -L/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/lib" --cc="xcrun clang" --disable-doc --disable-decoder=libvpx --disable-decoder=bink --enable-libgsm --enable-libopenjpeg --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-asm --disable-filters --disable-encoders --disable-muxers --enable-small --optflags=-O2 --enable-cross-compile --arch=x86 --arch=i386 --target-os=darwin --enable-memalign-hack --enable-pic --as="xcrun as" --disable-decoder=snow --enable-pthreads \
--prefix="/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11" --enable-static --disable-shared
--extra-cflags="-DHAVE_LRINTF --std=gnu99 -DHAVE_STDINT_H" \
--extra-ldflags="-syslibroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk/ -arch i386 -m32 -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.1.sdk -miphoneos-version-min=5.0 -L/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11/lib" --cc="xcrun clang" --disable-doc --disable-decoder=libvpx --disable-decoder=bink --enable-libgsm --enable-libopenjpeg --disable-debug --disable-avdevice --disable-devices --disable-avfilter --disable-asm --disable-filters --disable-encoders --disable-muxers --enable-small --optflags=-O2 --enable-cross-compile --arch=x86 --arch=i386 --target-os=darwin --enable-memalign-hack --enable-pic --as="xcrun as" --disable-decoder=snow --enable-pthreads \
--prefix="/Users/lsg/MobileVLC/ImportedSources/vlc/contrib/i686-apple-darwin11" --enable-static --disable-shared