[FFmpeg-user] I try to compile VLC, I had a error message about ffmpeg.

Park, Tim fantasyst at gmail.com
Thu May 19 10:45:18 CEST 2011


I try to compile VLC for ios source with iphoneos4.3.
So, I took recent sources in the web site vlc.org today.
And I compiled build_for_iOS.sh.
But I failed to compile it successfully.
I had a error message about ffmpeg.

How can I do?
please, help me.



feelingkyi-macbook:ios feelingk$ sudo ./build_for_iOS.sh -k iphoneos4.3
Password:
Building libvlc for the iOS
/Project/vlc/vlc-new_2/VLC-1.1.0-iOS
/Project/vlc/vlc-new_2/VLC-1.1.0-iOS/extras/package/ios
/Project/vlc/vlc-new_2/VLC-1.1.0-iOS/extras/package/ios
Boostraping contribs
/Project/vlc/vlc-new_2/VLC-1.1.0-iOS/extras/contrib
/Project/vlc/vlc-new_2/VLC-1.1.0-iOS/extras/package/ios
Building contrib for iOS
Forcing distro.mak to use ios.mak

*****************************************************************
* If you need contribs with all debug information, run this     *
* line and compile the libraries on your own.                   *
* CONTRIBS_RELEASE=no ./bootstrap                               *
*****************************************************************

Using 1 processors
cp config.mak src-arm-apple-darwin10-ios/src/../config.mak
ln -sf ../../src/Patches src-arm-apple-darwin10-ios/src
ln -sf ../../src/packages.mak src-arm-apple-darwin10-ios/src
ln -sf ../../src/Makefile src-arm-apple-darwin10-ios/src/Makefile
make -C src-arm-apple-darwin10-ios/src
(cd ffmpeg;
CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2"
CXX="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g++-4.2"
LD="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ld"
RANLIB="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ranlib"
AR="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar"
STRIP="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/strip"
./configure
--prefix=/Project/vlc/vlc-new_2/VLC-1.1.0-iOS/extras/contrib/hosts/arm-apple-darwin10/ios
--extra-cflags="--std=gnu99 -DHAVE_STDINT_H"
--extra-ldflags="-L/Project/vlc/vlc-new_2/VLC-1.1.0-iOS/extras/contrib/hosts/arm-apple-darwin10/ios/lib
-arch armv7
-L/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk/usr/lib
-arch armv7"  --enable-cross-compile
--cc=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2
--arch=arm --disable-debug --enable-gpl --enable-postproc --disable-ffprobe
--disable-ffserver --disable-ffmpeg --disable-ffplay --disable-devices
--disable-protocols --disable-avfilter --disable-network --target-os=darwin
--sysroot=/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.3.sdk
--disable-runtime-cpudetect --enable-neon --cpu=cortex-a8 --disable-shared
--enable-static && make -j1 && make install-libs install-headers)
/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2 is unable
to create an executable file.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-user at mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
make[1]: *** [.ffmpeg] Error 1
make: *** [using-src] Error 2
feelingkyi-macbook:ios feelingk$


More information about the ffmpeg-user mailing list