vlc-android compiling problem

VLC for Android and Chrome OS specific usage questions
ReadyXuMin
Blank Cone
Blank Cone
Posts: 19
Joined: 22 Aug 2011 13:20

vlc-android compiling problem

Postby ReadyXuMin » 29 Oct 2011 07:26

I find another vlc git tree for android.
git://git.videolan.org/vlc-ports/android.git
I follow this http://wiki.videolan.org/AndroidCompile
but I got problem:

make[6]: Entering directory `/home/xumin/android/vlc/android/modules/stream_filter/dash'
CXX libstream_filter_dash_plugin_la-HTTPConnection.lo
In file included from ../../../../extras/package/android/../../../modules/stream_filter/dash/http/HTTPConnection.h:35,
from ../../../../extras/package/android/../../../modules/stream_filter/dash/http/HTTPConnection.cpp:28:
../../../../extras/package/android/../../../include/vlc_fixups.h:283: error: previous declaration of 'int vlc_poll(pollfd*, unsigned int, int)' with 'C++' linkage
../../../../extras/package/android/../../../include/vlc_network.h:170: error: conflicts with new declaration with 'C' linkage
make[6]: *** [libstream_filter_dash_plugin_la-HTTPConnection.lo] Error 1
make[6]: Leaving directory `/home/xumin/android/vlc/android/modules/stream_filter/dash'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/home/xumin/android/vlc/android/modules/stream_filter/dash'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/xumin/android/vlc/android/modules/stream_filter'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/xumin/android/vlc/android/modules/stream_filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/xumin/android/vlc/android/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/xumin/android/vlc/android'
make: *** [all] Error 2
Building Android
rm -rf vlc-android/libs
rm -rf vlc-android/obj
rm -rf vlc-android/bin
rm -f vlc-android/jni/libvlcjni.h
rm -f vlc-android/local.properties
=== Building libvlcjni with neon ===
make[1]: Entering directory `/home/xumin/android/vlc-android'
Compile thumb : vlcjni <= libvlcjni.c
Compile thumb : vlcjni <= aout.c
Compile thumb : vlcjni <= thumbnailer.c
SharedLibrary : libvlcjni.so
arm-linux-androideabi-g++: ../vlc/android/lib/.libs/libvlc.a: No such file or directory
make[1]: *** [/home/xumin/android/vlc-android/obj/local/armeabi/libvlcjni.so] Error 1
make[1]: Leaving directory `/home/xumin/android/vlc-android'
make: *** [vlc-android/libs/armeabi/libvlcjni.so] Error 2



Anyone who can help?

diggity_55
New Cone
New Cone
Posts: 2
Joined: 31 Oct 2011 18:21

Re: vlc-android compiling problem

Postby diggity_55 » 31 Oct 2011 18:23

I have the same error. I'm compiling in Ubuntu 11.10 in a Virtualbox VM.

ReadyXuMin
Blank Cone
Blank Cone
Posts: 19
Joined: 22 Aug 2011 13:20

Re: vlc-android compiling problem

Postby ReadyXuMin » 01 Nov 2011 17:42

error: previous declaration of 'int vlc_poll(pollfd*, unsigned int, int)' with 'C++' linkage
../../../../extras/package/android/../../../include/vlc_network.h:170: error: conflicts with new declaration with 'C' linkage

that's the problem.
now I compiled libvlcjni.so
It doesn't work on X8 (armv6) I'll try it on other phone tomorrow.

diggity_55
New Cone
New Cone
Posts: 2
Joined: 31 Oct 2011 18:21

Re: vlc-android compiling problem

Postby diggity_55 » 01 Nov 2011 18:49

How did you get it to compile?

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: vlc-android compiling problem

Postby Jean-Baptiste Kempf » 02 Nov 2011 00:16

Update the git, I fixed it.
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.

SamS
New Cone
New Cone
Posts: 1
Joined: 05 Nov 2011 11:11

Re: vlc-android compiling problem

Postby SamS » 05 Nov 2011 11:29

Hi,
I try to compile VLC for Android 2.3 I follow VLC How to for Android
And get the following error:

I use Ubuntu 11.10
make[4]: *** [posix/thread.lo] Error 1
make[4]: Leaving directory `/android/android/vlc/android/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/android/android/vlc/android/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/android/android/vlc/android/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/android/android/vlc/android'
make: *** [all] Error 2
Building Android
rm -rf vlc-android/libs
rm -rf vlc-android/obj
rm -rf vlc-android/bin
rm -f vlc-android/jni/libvlcjni.h
rm -f vlc-android/local.properties
No VLC modules found in vlc/android/modules
make: *** [vlc-android/jni/libvlcjni.h] Error 1
Thanks, Sam

risho
New Cone
New Cone
Posts: 2
Joined: 02 Dec 2011 02:38

Re: vlc-android compiling problem

Postby risho » 02 Dec 2011 02:49

Code: Select all

find: `vlc/android/modules': No such file or directory No VLC modules found in vlc/android/modules make: *** [vlc-android/jni/libvlcjni.h] Error 1
i'm getting the same error... i'm running linux mint 12. I'm also trying to compile for 2.3 with neon enabled.

I installed all of the dev programs listed on the android compile page, build-essential, and apt-get build-dep vlc and it still won't compile.


there is a modules folder at */vlc/modules but not at vlc/android/modules, so it's like its looking for it in the wrong place maybe.

Code: Select all

3dnow codec lua mux video_chroma access common.am Makefile.am notify video_filter access_output control Makefile.in packetizer video_output altivec demux media_library services_discovery visualization arm_neon genmf meta_engine sse2 audio_filter gui misc stream_filter audio_mixer LIST mmx stream_out audio_output list.sh mmxext text_renderer
that's the output of ls */android/vlc/modules

so then I tried

VLC_MODULES=~/android/vlc/ VLC_BUILD_DIR=~/android/vlc make

and got

Code: Select all

No VLC modules found in /home/anonymous/android/vlc/modules make: *** [vlc-android/jni/libvlcjni.h] Error 1
and ideas?

risho
New Cone
New Cone
Posts: 2
Joined: 02 Dec 2011 02:38

Re: vlc-android compiling problem

Postby risho » 02 Dec 2011 03:06

after rooting around in the install.sh i think i found the problem.

running the configure.sh from ~/android/vlc/extras/package/android

i get this output

configure: error: Update live555 or pass --disable-live555 to disable RTSP input support.

so then I changed the script to say --disable-live555 instead of disable and now I'm stuck at

configure: error: "Could not find IOMX headers"

~/android/vlc/extras/package/android $ sh configure.sh

Code: Select all

configure: WARNING: unrecognized options: --disable-gl, --disable-gles1, --disable-gles2 checking build system type... x86_64-unknown-linux-gnu checking host system type... arm-eabi-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-eabi-linux-strip... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking for style of include used by make... GNU checking for arm-eabi-linux-gcc... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm accepts -g... yes checking for /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm option to accept ISO C89... none needed checking dependency style of /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm... gcc3 checking for /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm option to accept ISO C99... -std=gnu99 checking how to run the C preprocessor... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 and cc understand -c and -o together... yes checking whether we are using the GNU C++ compiler... yes checking whether /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm accepts -g... yes checking dependency style of /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm... gcc3 checking how to run the C preprocessor... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 -E checking for arm-eabi-linux-gcc... no checking for arm-eabi-linux-objcc... no checking for arm-eabi-linux-objc... no checking for arm-eabi-linux-cc... no checking for arm-eabi-linux-CC... no checking for gcc... gcc configure: WARNING: using cross tools not prefixed with host triplet checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... gcc3 checking dependency style of gcc... (cached) gcc3 checking for egrep... (cached) /bin/grep -E checking whether make sets $(MAKE)... (cached) yes checking dependency style of /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99... gcc3 checking for desktop-file-validate... desktop-file-validate checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for 3rd party libraries path... /home/anonymous/android/vlc/extras/contrib/hosts/arm-linux-androideabi checking for an Android system... yes checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld checking if the linker (/home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-nm checking the name lister (/home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to arm-eabi-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld option to reload object files... -r checking for arm-eabi-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for arm-eabi-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for arm-eabi-linux-ar... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-ar checking for archiver @FILE support... @ checking for arm-eabi-linux-strip... (cached) /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-strip checking for arm-eabi-linux-ranlib... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-ranlib checking command to parse /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-nm output from /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 object... ok checking for sysroot... no checking for arm-eabi-linux-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 option to produce PIC... -fPIC -DPIC checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 static flag -static works... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 supports -c -o file.o... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 supports -c -o file.o... (cached) yes checking whether the /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 linker (/home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... cross checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... no checking whether to build static libraries... yes checking how to run the C++ preprocessor... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -E checking for ld used by /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld checking if the linker (/home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld) is GNU ld... yes checking whether the /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm linker (/home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld) supports shared libraries... yes checking for /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm option to produce PIC... -fPIC -DPIC checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm PIC flag -fPIC -DPIC works... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm static flag -static works... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm supports -c -o file.o... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm supports -c -o file.o... (cached) yes checking whether the /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm linker (/home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for arm-eabi-linux-windres... no checking for windres... no checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for ld used by GCC... /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld checking if the linker (/home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-linux-androideabi/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... no, consider installing GNU libiconv checking for GNU gettext in libintl... no checking whether to use NLS... no checking for iconv... (cached) no, consider installing GNU libiconv checking for pthread_cancel... no checking for buggy GNU/libc versions... not present checking for shared objects suffix... .so checking whether nanosleep is declared... yes checking for daemon... yes checking for fcntl... yes checking for fstatvfs... no checking for fork... yes checking for getenv... yes checking for getpwuid_r... no checking for if_nameindex... no checking for if_nametoindex... yes checking for isatty... yes checking for lstat... yes checking for memalign... yes checking for mmap... yes checking for openat... yes checking for pread... yes checking for posix_fadvise... no checking for posix_madvise... no checking for setlocale... yes checking for stricmp... no checking for strnicmp... no checking for uselocale... no checking for atof... no checking for atoll... yes checking for dirfd... yes checking for fdopendir... yes checking for flockfile... yes checking for fsync... yes checking for getdelim... no checking for getpid... yes checking for gmtime_r... yes checking for inet_pton... yes checking for lldiv... yes checking for localtime_r... yes checking for nrand48... yes checking for rewind... yes checking for setenv... yes checking for strcasecmp... yes checking for strcasestr... yes checking for strdup... yes checking for strlcpy... yes checking for strncasecmp... yes checking for strndup... yes checking for strnlen... yes checking for strsep... yes checking for strtof... no checking for strtok_r... yes checking for strtoll... yes checking for swab... no checking for tdestroy... no checking for fdatasync... no checking for working strcoll... no checking for accept4... no checking for pipe2... no checking for eventfd... no checking for vmsplice... no checking for sched_getaffinity... no checking for library containing poll... none required checking for struct pollfd... yes checking for library containing connect... none required checking for socklen_t in sys/socket.h... yes checking for struct sockaddr_storage... yes checking for library containing getaddrinfo... none required checking for getopt_long... yes checking for cos in -lm... yes checking for lrintf in -lm... yes checking for library containing dlopen... none required checking for library containing pthread_rwlock_init... no checking for clock_nanosleep in -lrt... no checking for nanosleep... yes checking for sem_init in -lrt... no checking for strncasecmp in strings.h... yes checking search.h usability... no checking search.h presence... no checking for search.h... no checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for strings.h... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking xlocale.h usability... no checking xlocale.h presence... no checking for xlocale.h... no checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for sys/stat.h... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netinet/udplite.h usability... no checking netinet/udplite.h presence... no checking for netinet/udplite.h... no checking sys/eventfd.h usability... no checking sys/eventfd.h presence... no checking for sys/eventfd.h... no checking for net/if.h... yes checking for sys/mount.h... yes checking machine/param.h usability... no checking machine/param.h presence... no checking for machine/param.h... no checking sys/shm.h usability... no checking sys/shm.h presence... no checking for sys/shm.h... no checking linux/version.h usability... yes checking linux/version.h presence... yes checking for linux/version.h... yes checking linux/dccp.h usability... yes checking linux/dccp.h presence... yes checking for linux/dccp.h... yes checking scsi/scsi.h usability... no checking scsi/scsi.h presence... no checking for scsi/scsi.h... no checking linux/magic.h usability... yes checking linux/magic.h presence... yes checking for linux/magic.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for ssize_t... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for arm-eabi-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for MINIZIP... no checking unzip.h usability... no checking unzip.h presence... no checking for unzip.h... no checking for ntohl in sys/param.h... no checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wall... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wextra... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wsign-compare... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wundef... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wpointer-arith... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wbad-function-cast... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wwrite-strings... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wmissing-prototypes... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Wvolatile-register-var... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -Werror-implicit-function-declaration... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -pipe... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm accepts -Wall... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm accepts -Wextra... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm accepts -Wsign-compare... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm accepts -Wundef... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm accepts -Wpointer-arith... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-g++ --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm accepts -Wvolatile-register-var... yes checking valgrind/valgrind.h usability... no checking valgrind/valgrind.h presence... no checking for valgrind/valgrind.h... no checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -fvisibility=hidden... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -ffast-math... yes checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 accepts -funroll-loops... yes checking __attribute__ ((aligned ())) support... 64 checking for __attribute__((packed))... yes checking execinfo.h usability... no checking execinfo.h presence... no checking for execinfo.h... no checking for backtrace... no checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 groks 3D Now! inline assembly... no checking if /home/anonymous/android-ndk-r5b//toolchains/arm-linux-androideabi-4.4.3/prebuilt/*-x86/bin//arm-linux-androideabi-gcc --sysroot=/home/anonymous/android-ndk-r5b//platforms/android-9/arch-arm -std=gnu99 groks NEON inline assembly... -mfpu=neon checking for LIBPROXY... no checking for DC1394... no configure: WARNING: Library libraw1394 >= 2.0.1 libdc1394-2 >= 2.1.0 needed for dc1394 was not found checking libsmbclient.h usability... no checking libsmbclient.h presence... no checking for libsmbclient.h... no checking for Linux DVB version 5... no checking for DVBPSI... no checking gme/gme.h usability... no checking gme/gme.h presence... no checking for gme/gme.h... no checking for OGG... yes checking ebml/EbmlVersion.h usability... yes checking ebml/EbmlVersion.h presence... yes checking for ebml/EbmlVersion.h... yes checking for libebml version >= 1.0.0... yes checking matroska/KaxVersion.h usability... yes checking matroska/KaxVersion.h presence... yes checking for matroska/KaxVersion.h... yes checking for libmatroska version >= 1.0.0... yes checking matroska/KaxAttachments.h usability... yes checking matroska/KaxAttachments.h presence... yes checking for matroska/KaxAttachments.h... yes checking for main in -lebml_pic... no checking for main in -lebml... yes checking mpc/mpcdec.h usability... no checking mpc/mpcdec.h presence... no checking for mpc/mpcdec.h... no checking mpcdec/mpcdec.h usability... no checking mpcdec/mpcdec.h presence... no checking for mpcdec/mpcdec.h... no checking media/stagefright/OMXClient.h usability... no checking media/stagefright/OMXClient.h presence... no checking for media/stagefright/OMXClient.h... no configure: error: "Could not find IOMX headers"
any ideas?

EDIT: k so after some gross editing i disabled IOMX and got the configure file to finish and now I'm in the process of compiling it. if somehow this monster manages to still run I'll be amazed.

EDIT2: no such luck, i just got confused and lost myself. I'm gunna try to compile it using the how to instead of the install.sh, because it seems to be really broken at this point.

EDIT3: I'm about to start pulling my hair out. I'm about at the point where I'm thinking this is impossible to compile.

So I went back and looked through the install.sh and the HOWTO (i'm thinking the howto is deprecated) and I've made it all the way through and gotten to the part where it tells me to compile it VLC_BUILD_DIR=/path/to/builddir and when I put in the build dir it outputs

Code: Select all

anonymous@anonymous-lmd ~/android $ VLC_BUILD_DIR=~/android/vlc/builddir/ make === Building bvlcjni with neon === make[1]: Entering directory `/home/anonymous/android/vlc-android' Compile thumb : vlcjni <= libvlcjni.c Compile thumb : vlcjni <= aout.c Compile thumb : vlcjni <= thumbnailer.c SharedLibrary : libvlcjni.so /home/anonymous/android-ndk-r5b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld: cannot find -lmedia collect2: ld returned 1 exit status make[1]: *** [/home/anonymous/android/vlc-android/obj/local/armeabi/libvlcjni.so] Error 1 make[1]: Leaving directory `/home/anonymous/android/vlc-android' make: *** [vlc-android/libs/armeabi/libvlcjni.so] Error 2
I'm thinking there's something else I have to do to compile jni before I can do the complete make back in the root of the git, but i can't quite figure it out.

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: vlc-android compiling problem

Postby funman » 03 Dec 2011 21:52

I'm about to start pulling my hair out. I'm about at the point where I'm thinking this is impossible to compile.
Well yeah
VLC on android is incomplete, unfinished, buggy, slow, it doesn't even compile.

Why are so much people trying to build it anyway? There's not much to be seen at the moment, but the forum is filled with people failing to build it.

Just don't waste your time on it, when I get my hands on an android device I will set up an automatic buildbot to make nightly builds; so you won't have to build VLC yourself.

You'll be able to fetch the nightly build directly on your phone so you can enjoy the incomplete, unfinished, slow and buggy VLC.

vlcfalak
New Cone
New Cone
Posts: 1
Joined: 09 Dec 2011 15:52

Re: vlc-android compiling problem

Postby vlcfalak » 09 Dec 2011 15:55

I did little effort to solve this types of problem here VLC player Android

some_birdie
Blank Cone
Blank Cone
Posts: 11
Joined: 26 Jun 2011 18:31
Operating System: Win, Linux, Android

Re: vlc-android compiling problem

Postby some_birdie » 18 Apr 2012 12:05

VLC on android is incomplete, unfinished, buggy, slow, it doesn't even compile.

Why are so much people trying to build it anyway?
How actual these words are?
Is Android version of VLC buggy and slow today?

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: vlc-android compiling problem

Postby Jean-Baptiste Kempf » 20 Apr 2012 18:31

Try it :)
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 for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 5 guests