Page 1 of 1

Compile VLC for Android with x264 package,help

Posted: 18 Oct 2011 04:00
by upgrade_007
i want to use vlc to play h.264 video,
so i edit the distro.mak file adding .x264 package
when i compile it then an error appear

Code: Select all

Resolving deltas: 100% (11926/11926), done. (cd x264; CC="arm-linux-androideabi-gcc --sysroot=/home/wjh/android/android-ndk-r5b/platforms/android-9/arch-arm" CXX="arm-linux-androideabi-g++ --sysroot=/home/wjh/android/android-ndk-r5b/platforms/android-9/arch-arm" LD="arm-linux-androideabi-ld" RANLIB="arm-linux-androideabi-ranlib" AR="arm-linux-androideabi-ar" STRIP="arm-linux-androideabi-strip" ./configure --host=arm-eabi --enable-pic --disable-avs --disable-lavf --disable-ffms --prefix="/home/wjh/code/vlc-android/extras/contrib/hosts/arm-eabi" && make && make install) Unknown system unknown-eabi, edit the configure make[1]: *** [.x264] Error 1 make[1]: Leaving directory `/home/wjh/code/vlc-android/extras/contrib/build-src' make: *** [using-src] Error 2
Unknown system unknown-eabi, edit the configure , how can i do?
thank you for your help
next is /vlc-android/extras/contrib/config.mak file

Code: Select all

ARCH = armel ANDROID_NDK = /home/wjh/android/android-ndk-r5b PATH = /home/wjh/android/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/jdk1.7.0/bin:/home/wjh/android/android-sdk-linux_x86/tools:/home/wjh/android/android-sdk-linux_x86/platform-tools:/home/wjh/android/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin HAVE_LINUX=1 HAVE_NEON=1 HAVE_ANDROID=1 BUILD = i686-linux-gnu HOST = arm-eabi SRCDIR = /home/wjh/code/vlc-android/extras/contrib PREFIX = /home/wjh/code/vlc-android/extras/contrib/hosts/arm-eabi VLCROOTDIR = /home/wjh/code/vlc-android/extras/contrib/../.. CC = arm-linux-androideabi-gcc --sysroot=/home/wjh/android/android-ndk-r5b/platforms/android-9/arch-arm CXX = arm-linux-androideabi-g++ --sysroot=/home/wjh/android/android-ndk-r5b/platforms/android-9/arch-arm LD = arm-linux-androideabi-ld RANLIB = arm-linux-androideabi-ranlib AR = arm-linux-androideabi-ar STRIP = arm-linux-androideabi-strip

Re: Compile VLC for Android with x264 package,help

Posted: 20 Oct 2011 02:56
by upgrade_007
does anybody know the error mean?
and why my vlc can't play h.264 codec,is it because i didn't compile x.264 package?

thank you for you help

Re: Compile VLC for Android with x264 package,help

Posted: 28 Oct 2011 05:11
by upgrade_007
i known the answer.

host=arm-eabi-linux