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
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
Thanks a lot!