Page 1 of 1

building VLC for iPhone5/armv7s

Posted: 24 Apr 2013 04:13
by rowa
I got the latest git version of VLC from [url]git://git.videolan.org/vlc-ports/ios.git[/url],
and then patched the build scripts according to this: http://patches.videolan.org/patch/947/,
then I put the "sh buildMobileVLC.sh -v" command on terminal,
several minutes later, build failed, it shows me the message as below:
========================================================

Code: Select all

CompileC build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/VLCMediaThumbnailer.o Sources/VLCMediaThumbnailer.m normal armv7s objective-c com.apple.compilers.llvm.clang.1_0.compiler cd /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit setenv LANG en_US.US-ASCII setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -arch armv7s -fmessage-length=0 -std=c99 -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Wreturn-type -Wno-implicit-atomic-properties -Wno-receiver-is-weak -Wformat -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -miphoneos-version-min=5.1 -iquote /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/MobileVLCKit-generated-files.hmap -I/Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/MobileVLCKit-own-target-headers.hmap -I/Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/MobileVLCKit-all-target-headers.hmap -iquote /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/MobileVLCKit-project-headers.hmap -I/Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/Release-iphoneos/include -I/Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/include -I/Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/DerivedSources/armv7s -I/Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/DerivedSources -F/Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/Release-iphoneos -include /var/folders/_y/xlgjfxd10w3g8sr0b7mdsvy40000gn/C/com.apple.Xcode.501/SharedPrecompiledHeaders/MobileVLCKit_Prefix-dfftupqylxlvsserucvyydvggjkf/MobileVLCKit_Prefix.pch -MMD -MT dependencies -MF /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/VLCMediaThumbnailer.d --serialize-diagnostics /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/VLCMediaThumbnailer.dia -c /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/Sources/VLCMediaThumbnailer.m -o /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7s/VLCMediaThumbnailer.o Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a normal armv7 cd /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit setenv IPHONEOS_DEPLOYMENT_TARGET 5.1 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/git/bin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool -static -arch_only armv7 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/Release-iphoneos -filelist /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/MobileVLCKit.LinkFileList -ObjC /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libavutil.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libavcodec.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libavformat.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libavresample.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libswscale.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libgsm.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libdvbpsi.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libFLAC.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libUsageEnvironment.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libBasicUsageEnvironment.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libgroupsock.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libz.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libliveMedia.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/liblua.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libebml.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libmatroska.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libmodplug.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libogg.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libtheora.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libtheoradec.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libtheoraenc.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libopus.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libpng.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libopenjpeg.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libspeex.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libspeexdsp.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libxml2.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/lib/vlc/libcompat.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/lib/libvlc.a /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/lib/libvlccore.a -framework Foundation -o /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: -dynamic not specified the following flags are invalid: -ObjC /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libavutil.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libavcodec.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libavformat.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libavresample.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libswscale.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libgsm.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libdvbpsi.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libFLAC.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libUsageEnvironment.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libBasicUsageEnvironment.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libgroupsock.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libz.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libliveMedia.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/liblua.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libebml.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libmatroska.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libmodplug.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libogg.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libtheora.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libtheoradec.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libtheoraenc.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libopus.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libpng.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libopenjpeg.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libspeex.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libspeexdsp.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/contribs/lib/libxml2.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/lib/vlc/libcompat.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/lib/libvlc.a (No such file or directory) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: can't open file: /Users/niehaibo/Documents/project/VLC_for_armv7s/ImportedSources/VLCKit/../vlc/install-ios-OS/armv7/lib/libvlccore.a (No such file or directory) Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool failed with exit code 1 ** BUILD FAILED ** The following build commands failed: Libtool build/MobileVLCKit.build/Release-iphoneos/MobileVLCKit.build/Objects-normal/armv7/libMobileVLCKit.a normal armv7 (1 failure)
How to fix this problem ,and run a VLC app on a real iPhone5/armv7s machine?
Please do me favor, thanks!