Need help to compile vlc-android under ubuntu 11.04

*nix specific usage questions
yinglcs
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Dec 2006 17:04

Need help to compile vlc-android under ubuntu 11.04

Postby yinglcs » 06 May 2011 21:21

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 06 May 2011 21:29

Remove stats from the libjnivlc.h
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.

yinglcs
Blank Cone
Blank Cone
Posts: 48
Joined: 06 Dec 2006 17:04

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

Postby yinglcs » 06 May 2011 21:37

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) $


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

Who is online

Users browsing this forum: No registered users and 3 guests