Error for ffmpeg in Compile MobileVLC
Posted: 19 May 2011 15:52
Hello,everyone.
when I compliled MobileVLC with this (MAC OS:10.6.6/Xcode 4):
$ ./buildMobileVLC.sh -k iphoneos4.3
It appeared:
[info] Preparing build dirs
[info] Building
[info] Building vlc
[info] Building libvlc for the iOS
[info] Using armv7 with SDK version 4.3
[info] Building contrib for iOS in '/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-builddir-ios-arm-apple-darwin10'
make[1]: *** [.ffmpeg] Error 1
make: *** [using-src] Error 2
In the file of "./ImportedSources/vlc/contrib-builddir-ios-arm-apple-darwin10/build-src/ffmpeg/config.log",It appeared:
check_ld
check_cc
BEGIN /tmp/ffconf.sVEaqpvP.c
1 int main(void){ return 0; }
END /tmp/ffconf.sVEaqpvP.c
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -I/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -arch armv7 -miphoneos-version-min=3.2 -mno-thumb -DNDEBUG -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -arch armv7 -miphoneos-version-min=3.2 -mno-thumb -isystem /users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/include --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -I/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -arch armv7 -miphoneos-version-min=3.2 -mno-thumb -DNDEBUG -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -arch armv7 -miphoneos-version-min=3.2 -mno-thumb -isystem /users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/include --std=gnu99 -DHAVE_STDINT_H -mcpu=cortex-a8 -c -o /tmp/ffconf.SoDW8d1k.o /tmp/ffconf.sVEaqpvP.c
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -L/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib -arch armv7 -L/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib -arch armv7 --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -o /tmp/ffconf.vhnFUWts /tmp/ffconf.SoDW8d1k.o
ld: warning: directory not found for option '-L/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib'
ld: warning: directory not found for option '-L/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib'
ld: file not found: /usr/lib/system/libcache.dylib for architecture armv7
collect2: ld returned 1 exit status
C compiler test failed.
What's wrong with this? who can help me?
when I compliled MobileVLC with this (MAC OS:10.6.6/Xcode 4):
$ ./buildMobileVLC.sh -k iphoneos4.3
It appeared:
[info] Preparing build dirs
[info] Building
[info] Building vlc
[info] Building libvlc for the iOS
[info] Using armv7 with SDK version 4.3
[info] Building contrib for iOS in '/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-builddir-ios-arm-apple-darwin10'
make[1]: *** [.ffmpeg] Error 1
make: *** [using-src] Error 2
In the file of "./ImportedSources/vlc/contrib-builddir-ios-arm-apple-darwin10/build-src/ffmpeg/config.log",It appeared:
check_ld
check_cc
BEGIN /tmp/ffconf.sVEaqpvP.c
1 int main(void){ return 0; }
END /tmp/ffconf.sVEaqpvP.c
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -I/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -arch armv7 -miphoneos-version-min=3.2 -mno-thumb -DNDEBUG -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -arch armv7 -miphoneos-version-min=3.2 -mno-thumb -isystem /users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/include --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -I/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/include -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -arch armv7 -miphoneos-version-min=3.2 -mno-thumb -DNDEBUG -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -arch armv7 -miphoneos-version-min=3.2 -mno-thumb -isystem /users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/include --std=gnu99 -DHAVE_STDINT_H -mcpu=cortex-a8 -c -o /tmp/ffconf.SoDW8d1k.o /tmp/ffconf.sVEaqpvP.c
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 -L/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib -arch armv7 -L/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib -L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib -arch armv7 --sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk -o /tmp/ffconf.vhnFUWts /tmp/ffconf.SoDW8d1k.o
ld: warning: directory not found for option '-L/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib'
ld: warning: directory not found for option '-L/users/macbook/chinaihs/mobilevlc/ImportedSources/vlc/contrib-ios-arm-apple-darwin10/lib'
ld: file not found: /usr/lib/system/libcache.dylib for architecture armv7
collect2: ld returned 1 exit status
C compiler test failed.
What's wrong with this? who can help me?