Page 1 of 1

Need help to compile vlc-android under ubuntu 11.04

Posted: 06 May 2011 21:21
by yinglcs
Hi,

I am trying to compile vlc-android under ubuntu 11.04.
I have followed the HOWTO. But i get the following error when I perform this step. I have set the path correctly.

Code: Select all

- Build the JNI interface for libvlc VLC_BUILD_DIR=path_to_vlc_builddir VLC_CONTRIB=path_to_vlc_contribs make
I have set the path correctly

Code: Select all

=== Building libvlcjni === make[1]: Entering directory `/home/ying/vlc-android/extras/package/android/vlc-android' SharedLibrary : libvlcjni.so /home/ying/vlc-android/builddir/modules/misc/dummy/.libs/libdummy_plugin.a(libdummy_plugin_la-decoder.o): In function `CloseDecoder': /home/ying/vlc-android/builddir/modules/misc/dummy/../../../../modules/misc/dummy/decoder.c:159: multiple definition of `CloseDecoder' /home/ying/vlc-android/builddir/modules/misc/stats/.libs/libstats_plugin.a(libstats_plugin_la-decoder.o):/home/ying/vlc-android/builddir/modules/misc/stats/../../../../modules/misc/stats/decoder.c:106: first defined here /home/ying/vlc-android/builddir/modules/misc/dummy/.libs/libdummy_plugin.a(libdummy_plugin_la-decoder.o): In function `OpenDecoder': /home/ying/vlc-android/builddir/modules/misc/dummy/../../../../modules/misc/dummy/decoder.c:120: multiple definition of `OpenDecoder' /home/ying/vlc-android/builddir/modules/misc/stats/.libs/libstats_plugin.a(libstats_plugin_la-decoder.o):/home/ying/vlc-android/builddir/modules/misc/stats/../../../../modules/misc/stats/decoder.c:45: first defined here collect2: ld returned 1 exit status make[1]: *** [/home/ying/vlc-android/extras/package/android/vlc-android/obj/local/armeabi/libvlcjni.so] Error 1 make[1]: Leaving directory `/home/ying/vlc-android/extras/package/android/vlc-android' make: *** [vlc-android/libs/armeabi/libvlcjni.so] Error 2
Thank you for any pointers.

Re: Need help to compile vlc-android under ubuntu 11.04

Posted: 06 May 2011 21:29
by Jean-Baptiste Kempf
Remove stats from the libjnivlc.h

Re: Need help to compile vlc-android under ubuntu 11.04

Posted: 06 May 2011 21:37
by yinglcs
There is no file name 'libjnivlc.h' under my vlc-android directory (which I created via git clone).

~/vlc-android (master) $ find . -name libjnivlc.h
~/vlc-android (master) $