Compile VLC for Android on Ubuntu error,help

*nix specific usage questions
upgrade_007
New Cone
New Cone
Posts: 9
Joined: 27 Sep 2011 05:26

Compile VLC for Android on Ubuntu error,help

Postby upgrade_007 » 27 Sep 2011 07:10

my os is ubuntu,ndk is android-ndk-r5b, android-sdk is 2.3
this is my build step:
1.cd ~/code
2.git clone git://git.videolan.org/vlc/vlc-android.git
3.cd vlc-android/extras/contrib/
4.export ANDROID_NDK=/usr/local/android-ndk-r5b
5../bootstrap -t arm-eabi -d android

when i do the 5 step , there's a error .

[contrib] No install dir specified, using '/home/wjh/android/vlc-android/extras/contrib/hosts/arm-eabi'
[contrib] *****************************************************************
[contrib] * If you need contribs with all debug information, run this *
[contrib] * line and compile the libraries on your own. *
[contrib] * CONTRIBS_RELEASE=no ./bootstrap *
[contrib] *****************************************************************
[contrib] Using 1 processor(s)

this error means what?
i have not find 'arm-eabi' folder. i git source from git://git.videolan.org/vlc/vlc-android.git ,
ndk is installed.
if echo PATH , PATH=/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

Can anyone help me? thanks very much

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: Compile VLC for Android on Ubuntu error,help

Postby XilasZ » 27 Sep 2011 13:41

It's not an error, just an info. It just tells you in which folder the contrib will be built, perfectly normal.
if the folder doesn't exists, il will be created at the next step (make).

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: Compile VLC for Android on Ubuntu error,help

Postby Jean-Baptiste Kempf » 27 Sep 2011 22:10

You should not use this repo, anyway.
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.

upgrade_007
New Cone
New Cone
Posts: 9
Joined: 27 Sep 2011 05:26

Re: Compile VLC for Android on Ubuntu error,help

Postby upgrade_007 » 28 Sep 2011 07:24

Thank you very much!
I just do the next step " make " then have another error

Code: Select all

wjh@ubuntu:~/android/vlc-android/extras/contrib$ make make -C build-src tools make[1]: Entering directory `/home/wjh/android/vlc-android/extras/contrib/build-src' make[1]: Nothing to be done for `tools'. make[1]: Leaving directory `/home/wjh/android/vlc-android/extras/contrib/build-src' make -C build-src make[1]: Entering directory `/home/wjh/android/vlc-android/extras/contrib/build-src' (cd taglib; 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" CPPFLAGS="-I/home/wjh/android/vlc-android/extras/contrib/hosts/arm-eabi/include -DNDEBUG -D__STDC_VERSION__=199901L -I/home/wjh/android/android-ndk-r5b/sources/cxx-stl/gnu-libstdc++/include -I/home/wjh/android/android-ndk-r5b/sources/cxx-stl/gnu-libstdc++/libs/armeabi/include -isystem /home/wjh/android/vlc-android/extras/contrib/hosts/arm-eabi/include -I/home/wjh/android/android-ndk-r5b/platforms/android-9/arch-arm/usr/include" cmake . -DCMAKE_TOOLCHAIN_FILE=../../toolchain.cmake -DCMAKE_INSTALL_PREFIX=/home/wjh/android/vlc-android/extras/contrib/hosts/arm-eabi -DENABLE_STATIC:BOOL=ON -DWITH_ASF:BOOL=ON -DWITH_MP4:BOOL=ON && make && make install) /bin/sh: cmake: Permission denied make[1]: *** [.tag] Error 127 make[1]: Leaving directory `/home/wjh/android/vlc-android/extras/contrib/build-src' make: *** [using-src] Error 2
what does these error mean ? Can ererybody known

dellwust
New Cone
New Cone
Posts: 8
Joined: 28 Sep 2011 03:50

Re: Compile VLC for Android on Ubuntu error,help

Postby dellwust » 28 Sep 2011 12:11

you must install cmake tool

upgrade_007
New Cone
New Cone
Posts: 9
Joined: 27 Sep 2011 05:26

Re: Compile VLC for Android on Ubuntu error,help

Postby upgrade_007 » 05 Oct 2011 04:22

THANK YOU EVERYBODY.
I HAVE BUILDED IT SUCCESSFULL

evazquez
New Cone
New Cone
Posts: 4
Joined: 17 Apr 2013 22:21

Re: Compile VLC for Android on Ubuntu error,help

Postby evazquez » 22 Apr 2013 23:50

Hello, i follow this instructions but when a run the make instruction, i get the follow error:

Code: Select all

evazquez:contrib evazquez$ make make -C build-src tools make[1]: Nothing to be done for `tools'. make -C build-src (cd zlib; CC="arm-linux-androideabi-gcc --sysroot=/Applications/android/android-ndk/platforms/android-9/arch-arm" CXX="arm-linux-androideabi-g++ --sysroot=/Applications/android/android-ndk/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 --prefix=/Users/emanem/Documents/workspace/VLC/vlc-android/extras/contrib/hosts/arm-eabi --static && make install) Building static library libz.a version 1.2.5 with arm-linux-androideabi-gcc --sysroot=/Applications/android/android-ndk/platforms/android-9/arch-arm. Checking for off64_t... No. Checking for fseeko... No. Checking for unistd.h... No. Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf(). Checking for snprintf() in stdio.h... No. WARNING: snprintf() not found, falling back to sprintf(). zlib can build but will be open to possible buffer-overflow security vulnerabilities. Checking for return value of sprintf()... No. WARNING: apparently sprintf() does not return a value. zlib can build but will be open to possible string-format security vulnerabilities. arm-linux-androideabi-gcc --sysroot=/Applications/android/android-ndk/platforms/android-9/arch-arm -I/Users/emanem/Documents/workspace/VLC/vlc-android/extras/contrib/hosts/arm-eabi/include -DNDEBUG -D__STDC_VERSION__=199901L -I/Applications/android/android-ndk/sources/cxx-stl/gnu-libstdc++/include -I/Applications/android/android-ndk/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include -isystem /Users/emanem/Documents/workspace/VLC/vlc-android/extras/contrib/hosts/arm-eabi/include -I/Applications/android/android-ndk/platforms/android-9/arch-arm/usr/include -DNO_FSEEKO -DNO_snprintf -DHAS_sprintf_void -I/Users/emanem/Documents/workspace/VLC/vlc-android/extras/contrib/hosts/arm-eabi/include -DNDEBUG -D__STDC_VERSION__=199901L -I/Applications/android/android-ndk/sources/cxx-stl/gnu-libstdc++/include -I/Applications/android/android-ndk/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include -isystem /Users/emanem/Documents/workspace/VLC/vlc-android/extras/contrib/hosts/arm-eabi/include -I/Applications/android/android-ndk/platforms/android-9/arch-arm/usr/include -c -o adler32.o adler32.c make[2]: arm-linux-androideabi-gcc: No such file or directory make[2]: *** [adler32.o] Error 1 make[1]: *** [.zlib] Error 2 make: *** [using-src] Error 2
What is my error?? what i doing wrong??

Thank you

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: Compile VLC for Android on Ubuntu error,help

Postby Jean-Baptiste Kempf » 23 Apr 2013 14:51

Your toolchain is not working.
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.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests