Checking errors when compiling VLC

VLC for Android and Chrome OS specific usage questions
eronwilson
New Cone
New Cone
Posts: 4
Joined: 02 Oct 2012 12:16
Operating System: Windows:cygwin
Location: Shanghai,China

Checking errors when compiling VLC

Postby eronwilson » 02 Oct 2012 12:49

Hello there!
I compiled VLC for Android following the officiel compileURLhttp://wiki.videolan.org/AndroidCompile], but it failed each time.
The error I encounter right now is this one, when running « sh compile.sh»:

Code: Select all

checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-cygwin checking host system type... arm-unknown-linux-androideabi checking for arm-linux-androideabi-gcc... arm-linux-androideabi-gcc --sysroot=/cygdrive/D/Android_NDK/android-ndk-r8b/platforms/android-9/arch-arm checking whether the C compiler works... no configure: error: in `/home/luoyan/android/vlc/contrib/android/a52dec': configure: error: C compiler cannot create executables See `config.log' for more details ../../contrib/src/a52/rules.mak:23: recipe for target `.a52' failed make: *** [.a52] Error 77
So I opened`config.log' for more details,The errors in `config.log' are:

Code: Select all

configure:2477: checking for a BSD-compatible install configure:2545: result: /usr/bin/install -c configure:2556: checking whether build environment is sane configure:2606: result: yes configure:2655: checking for arm-linux-androideabi-strip configure:2682: result: arm-linux-androideabi-strip configure:2747: checking for a thread-safe mkdir -p configure:2786: result: /usr/bin/mkdir -p configure:2799: checking for gawk configure:2815: found /usr/bin/gawk configure:2826: result: gawk configure:2837: checking whether make sets $(MAKE) configure:2859: result: yes configure:2942: checking whether to enable maintainer-specific portions of Makefiles configure:2951: result: no configure:2968: checking build system type configure:2982: result: i686-pc-cygwin configure:3002: checking host system type configure:3015: result: arm-unknown-linux-androideabi configure:3044: checking for arm-linux-androideabi-gcc configure:3071: result: arm-linux-androideabi-gcc --sysroot=/cygdrive/D/Android_NDK/android-ndk-r8b/platforms/android-9/arch-arm configure:3340: checking for C compiler version configure:3349: arm-linux-androideabi-gcc --sysroot=/cygdrive/D/Android_NDK/android-ndk-r8b/platforms/android-9/arch-arm --version >&5 ./configure: line 3351: arm-linux-androideabi-gcc: command not found configure:3360: $? = 127 configure:3349: arm-linux-androideabi-gcc --sysroot=/cygdrive/D/Android_NDK/android-ndk-r8b/platforms/android-9/arch-arm -v >&5 ./configure: line 3351: arm-linux-androideabi-gcc: command not found configure:3360: $? = 127 configure:3349: arm-linux-androideabi-gcc --sysroot=/cygdrive/D/Android_NDK/android-ndk-r8b/platforms/android-9/arch-arm -V >&5 ./configure: line 3351: arm-linux-androideabi-gcc: command not found configure:3360: $? = 127 configure:3349: arm-linux-androideabi-gcc --sysroot=/cygdrive/D/Android_NDK/android-ndk-r8b/platforms/android-9/arch-arm -qversion >&5 ./configure: line 3351: arm-linux-androideabi-gcc: command not found configure:3360: $? = 127 configure:3380: checking whether the C compiler works configure:3402: arm-linux-androideabi-gcc --sysroot=/cygdrive/D/Android_NDK/android-ndk-r8b/platforms/android-9/arch-arm -g -mfpu=vfpv3-d16 -mcpu=cortex-a9 -mthumb -mfloat-abi=softfp -I/cygdrive/D/Android_NDK/android-ndk-r8b/sources/cxx-stl/gnu-libstdc++/4.4.3/include -I/cygdrive/D/Android_NDK/android-ndk-r8b/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/include -DNDEBUG -I/home/luoyan/android/vlc/contrib/arm-linux-androideabi/include -g -g -mfpu=vfpv3-d16 -mcpu=cortex-a9 -mthumb -mfloat-abi=softfp -I/cygdrive/D/Android_NDK/android-ndk-r8b/sources/cxx-stl/gnu-libstdc++/4.4.3/include -I/cygdrive/D/Android_NDK/android-ndk-r8b/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/include -DNDEBUG -I/home/luoyan/android/vlc/contrib/arm-linux-androideabi/include -L/home/luoyan/android/vlc/contrib/arm-linux-androideabi/lib conftest.c >&5 ./configure: line 3404: arm-linux-androideabi-gcc: command not found configure:3406: $? = 127 configure:3444: result: no
Does someone have any idea please?
Thanks a lot!
real sincere programmer

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Checking errors when compiling VLC

Postby Jean-Baptiste Kempf » 02 Oct 2012 13:47

Use linux.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

eronwilson
New Cone
New Cone
Posts: 4
Joined: 02 Oct 2012 12:16
Operating System: Windows:cygwin
Location: Shanghai,China

Re: Checking errors when compiling VLC

Postby eronwilson » 04 Oct 2012 06:21

Thanks a lot
real sincere programmer


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: MrAmm and 31 guests