Very simple example of a VLC Android application

VLC for Android and Chrome OS specific usage questions
gregoiregentil
Blank Cone
Blank Cone
Posts: 27
Joined: 30 Jan 2013 07:48

Very simple example of a VLC Android application

Postby gregoiregentil » 30 Jan 2013 08:36

Hello,

I have managed to compile VLC for Android. I would like to integrate VLC in an existing Android application. Is there a tutorial or an example of a very simple java class that can just play a movie? No subtitle, no file selection/browsing, no control, "nothing", just a videoview and the hard-coded movie path. Obviously, I understand that I will have to import the jni part of the VLC Android application. But what are the bare minimum java classes that need to be imported too and is there an example of a super simple class that loads and plays a file?

Thanks in advance.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Very simple example of a VLC Android application

Postby edwardw » 31 Jan 2013 14:07

The bare minimum would be a call to LibVLC.readMedia() to load a file.

jomateix
New Cone
New Cone
Posts: 7
Joined: 24 Jan 2013 09:56

Re: Very simple example of a VLC Android application

Postby jomateix » 31 Jan 2013 15:40

Hi,

could you explain what would be the minimum includes/steps in an android eclipse project to be able to use the LibVLC.readMedia() method ?
I am kinda lost, i tried vlcj jar libs (I know its not a vlc mantained project sry for asking here ) but i get "The library 'jna-3.5.1.jar' contains native libraries that will not run on the device", since vlc is cplus plus code I get it can get difficult to use it in a eclipse project despite having android ndk tools and full acces to vlc source code..

Thank you very much for your help and time.

gregoiregentil
Blank Cone
Blank Cone
Posts: 27
Joined: 30 Jan 2013 07:48

Re: Very simple example of a VLC Android application

Postby gregoiregentil » 01 Feb 2013 02:54

@edwardw: I have done the following:

- Compile vlc Android

- Create a new Android application through Eclipse

- Copy over the jni folder. Slightly modify Android.mk so that it can be compiled through Eclipse

- Copy over:
org/videolan/vlc/Util.java
org/videolan/vlc/Aout.java
org/videolan/vlc/EventManager.java
org/videolan/vlc/VLCApplication.java
org/videolan/vlc/LibVlcException.java
org/videolan/vlc/LibVLC.java

- Patch those files so that the application compiles:

Code: Select all

--- org/videolan/vlc/Util.java 2013-01-31 14:43:33.577597635 -0800 +++ org/videolan/vlc/Util.java 2013-01-31 17:23:44.391539000 -0800 @@ -199,9 +199,9 @@ } public static void setItemBackground(View v, int position) { - v.setBackgroundResource(position % 2 == 0 - ? R.drawable.background_item1 - : R.drawable.background_item2); +// v.setBackgroundResource(position % 2 == 0 +// ? R.drawable.background_item1 +// : R.drawable.background_item2); } public static int convertPxToDp(int px) { --- org/videolan/vlc/VLCApplication.java 2013-01-31 14:43:33.577597635 -0800 +++ org/videolan/vlc/VLCApplication.java 2013-01-31 17:24:21.131721185 -0800 @@ -66,7 +66,7 @@ super.onLowMemory(); Log.w(TAG, "System is running low on memory"); - BitmapCache.getInstance().clear(); +// BitmapCache.getInstance().clear(); } /**
- create a very simple VideoPlayerActivity:

Code: Select all

package org.videolan.vlc; import org.videolan.vlc.LibVLC; import org.videolan.vlc.LibVlcException; import android.app.Activity; import android.graphics.PixelFormat; import android.os.Bundle; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceHolder.Callback; import android.view.SurfaceView; import android.view.View; public class VideoPlayerActivity extends Activity { private static final String TAG = "VideoPlayerActivity"; private SurfaceView mSurface; private SurfaceHolder mSurfaceHolder; private LibVLC mLibVLC; @Override public void onPause() { super.onPause(); } @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); mSurface = (SurfaceView) findViewById(R.id.vvMain); mSurfaceHolder = mSurface.getHolder(); mSurfaceHolder.setFormat(PixelFormat.RGBX_8888); mSurfaceHolder.addCallback(mSurfaceCallback); try { LibVLC.useIOMX(this); mLibVLC = LibVLC.getInstance(); } catch (LibVlcException e) { Log.d(TAG, "LibVLC initialisation failed"); return; } toggleVideo(); } private void toggleVideo() { if (mLibVLC.isPlaying()) { mSurface.setVisibility(View.INVISIBLE); mLibVLC.pause(); } else { mSurface.setVisibility(View.VISIBLE); mLibVLC.readMedia("rtsp://192.168.11.2:8554/test"); } } private final SurfaceHolder.Callback mSurfaceCallback = new Callback() { @Override public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { mLibVLC.attachSurface(holder.getSurface(), VideoPlayerActivity.this, width, height); } @Override public void surfaceCreated(SurfaceHolder holder) { } @Override public void surfaceDestroyed(SurfaceHolder holder) { mLibVLC.detachSurface(); } }; }
- Run it on the device:
V/VLC/LibVLC(16036): Initializing LibVLC
D/VLC (16036): [0x5d678bd4]: main libvlc VLC media player - 2.1.0-git Rincewind
D/VLC (16036): [0x5d678bd4]: main libvlc Copyright © 1996-2012 the VideoLAN team
D/VLC (16036): [0x5d678bd4]: main libvlc revision 1.3.0-git-4830-g48f5f71
D/VLC (16036): [0x5d678bd4]: main libvlc configured with ../configure '--host=arm-linux-androideabi' '--build=x86_64-unknown-linux' '--enable-neon' '--enable-live555' '--enable-realrtsp' '--enable-avformat' '--enable-swscale' '--enable-avcodec' '--enable-opus' '--enable-opensles' '--enable-android-surface' '--enable-mkv' '--enable-taglib' '--enable-dvbpsi' '--disable-vlc' '--disable-shared' '--disable-update-check' '--disable-vlm' '--disable-dbus' '--disable-lua' '--disable-vcd' '--disable-v4l2' '--disable-gnomevfs' '--disable-dvdread' '--disable-dvdnav' '--disable-bluray' '--disable-linsys' '--disable-decklink' '--disable-libva' '--disable-dv1394' '--disable-mod' '--disable-sid' '--disable-gme' '--disable-tremor' '--disable-mad' '--disable-dca' '--disable-sdl-image' '--disable-zvbi' '--disable-fluidsynth' '--disable-jack' '--disable-pulse' '--disable-alsa' '--disable-samplerate' '--disable-sdl' '--disable-xcb' '--disable-atmo' '--disable-qt' '--disable-skins2' '--disable-mtp' '--disable-notify' '--enable-libass' '--disab
D/VLC (16036): [0x5d678bd4]: main libvlc plug-ins loaded: 210 modules
D/VLC (16036): [0x5d678bd4]: main libvlc translation test: code is "C"
D/VLC (16036): [0x5d678bd4]: main libvlc CPU has capabilities ARM_NEON FPU
I/VLC/JNI/main(16036): LibVLC initialized: 0x5d679908
D/VLC (16036): [0x5c1e0f6c]: main input Creating an input for 'rtsp://192.168.11.2:8554/test'
D/VLC (16036): [0x5c1e0f6c]: main input using timeshift granularity of 50 MiB, in path '/tmp'
D/VLC (16036): [0x5c1e0f6c]: main input `rtsp://192.168.11.2:8554/test' gives access `rtsp' demux `' path `192.168.11.2:8554/test'
D/VLC (16036): [0x5c1e0f6c]: main input creating demux: access='rtsp' demux='' location='192.168.11.2:8554/test' file='(null)'
D/VLC (16036): [0x5c1f6d74]: main demux looking for access_demux module matching "rtsp": 3 candidates
D/VLC (16036): [0x5c1f6d74]: live555 demux version 2012.09.13
D/VLC (16036): [0x5c1f6d74]: live555 demux RTP subsession 'video/H264'
D/VLC (16036): [0x5c1e0f6c]: main input selecting program id=0
D/VLC (16036): [0x5c1f6d74]: live555 demux setup start: 0.000000 stop:0.000000
D/VLC (16036): [0x5c1f6d74]: live555 demux play start: 0.000000 stop:0.000000
D/VLC (16036): [0x5c1f6d74]: main demux using access_demux module "live555"
D/VLC (16036): [0x5c218cd4]: main decoder looking for decoder module matching "any": 29 candidates
D/VLC (16036): [0x5c218cd4]: avcodec decoder trying to use direct rendering
D/VLC (16036): [0x5c218cd4]: avcodec decoder allowing 3 thread(s) for decoding
D/VLC (16036): [0x5c218cd4]: avcodec decoder avcodec codec (H264 - MPEG-4 AVC (part 10)) started
D/VLC (16036): [0x5c218cd4]: avcodec decoder using frame thread mode with 3 threads
D/VLC (16036): [0x5c218cd4]: main decoder using decoder module "avcodec"
D/VLC (16036): [0x5c1fe4ac]: main packetizer looking for packetizer module matching "any": 19 candidates
D/VLC (16036): [0x5c1fe4ac]: packetizer_h264 packetizer found NAL_SPS (sps_id=0)
D/VLC (16036): [0x5c1fe4ac]: packetizer_h264 packetizer found NAL_PPS (pps_id=0 sps_id=0)
D/VLC (16036): [0x5c1fe4ac]: main packetizer using packetizer module "packetizer_h264"
D/VLC (16036): [0x5c21b384]: main demux meta looking for meta reader module matching "any": 1 candidates
D/VLC (16036): [0x5c21b384]: main demux meta no meta reader modules matched
D/VLC (16036): [0x5c1e0f6c]: main input `rtsp://192.168.11.2:8554/test' successfully opened
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 0%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 0%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 13%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 13%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 26%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 26%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 39%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 39%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 53%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 53%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 66%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 66%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 80%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 80%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 93%
D/VLC (16036): [0x5c1e0f6c]: main input Buffering 93%
D/VLC (16036): [0x5c1e0f6c]: main input Stream buffering done (1066 ms in 1069 ms)
D/VLC (16036): [0x5c1e0f6c]: main input Decoder buffering done in 0 ms
D/VLC (16036): [0x5c2982d4]: main spu text looking for text renderer module matching "any": 1 candidates
D/VLC (16036): [0x5c2982d4]: freetype spu text using fontsize: 2
D/VLC (16036): [0x5c2982d4]: main spu text using text renderer module "freetype"
D/VLC (16036): [0x5c239b54]: main scale looking for video filter2 module matching "any": 33 candidates
D/VLC (16036): [0x5c239b54]: swscale scale 32x32 chroma: YUVA -> 16x16 chroma: RGBA with scaling using Bicubic (good quality)
D/VLC (16036): [0x5c239b54]: main scale using video filter2 module "swscale"
D/VLC (16036): [0x5c2ca37c]: main scale looking for video filter2 module matching "any": 33 candidates
D/VLC (16036): [0x5c2ca37c]: yuvp scale YUVP to YUVA converter
D/VLC (16036): [0x5c2ca37c]: main scale using video filter2 module "yuvp"
D/VLC (16036): [0x5c21a894]: main video output Deinterlacing available
D/VLC (16036): [0x5c21a894]: main video output deinterlace 0, mode blend, is_needed 0
D/VLC (16036): [0x5c21a894]: main video output Opening vout display wrapper
D/VLC (16036): [0x5c23dc5c]: main vout display looking for vout display module matching "any": 2 candidates
D/VLC (16036): [0x5c23dc5c]: main vout display VoutDisplayEvent 'fullscreen' 0
D/VLC (16036): [0x5c23dc5c]: main vout display using vout display module "android_surface"
D/VLC (16036): [0x5c23dc5c]: main vout display A filter to adapt decoder to display is needed
D/VLC (16036): [0x5c2b6304]: main filter looking for video filter2 module matching "any": 33 candidates
D/VLC (16036): [0x5c2b6304]: yuv_rgb_neon filter I420(640x480) to RV32(640x480)
D/VLC (16036): [0x5c2b6304]: main filter using video filter2 module "yuv_rgb_neon"
D/VLC (16036): [0x5c23dc5c]: main vout display Filter 'yuv_rgb_neon' (0x5c2b6304) appended to chain
D/VLC (16036): [0x5c21a894]: main video output original format sz 640x480, of (0,0), vsz 640x480, 4cc I420, sar 1:1, msk r0x0 g0x0 b0x0
D/VLC (16036): [0x5c2982d4]: main spu text removing module "freetype"
D/VLC (16036): [0x5c2982d4]: main spu text looking for text renderer module matching "any": 1 candidates
D/VLC (16036): [0x5c2982d4]: freetype spu text using fontsize: 2
D/VLC (16036): [0x5c2982d4]: main spu text using text renderer module "freetype"
D/VLC (16036): [0x5c218cd4]: avcodec decoder using direct rendering
E/VLC (16036): [0x5c23dc5c]: main vout display Failed to set on top
D/VLC (16036): [0x5c218cd4]: main decoder End of video preroll
F/libc (16036): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 16056 (rg.videolan.vlc)
I/DEBUG ( 126): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 126): Build fingerprint: 'google/takju/maguro:4.2.1/JOP40D/533553:user/release-keys'
I/DEBUG ( 126): Revision: '9'
I/DEBUG ( 126): pid: 16036, tid: 16056, name: rg.videolan.vlc >>> org.videolan.vlc <<<
I/DEBUG ( 126): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004
I/DEBUG ( 126): r0 41e11178 r1 00000000 r2 00000001 r3 4086e508
I/DEBUG ( 126): r4 41e11350 r5 5e88fca0 r6 5ed3ffac r7 1d200001
I/DEBUG ( 126): r8 000001e0 r9 5c23dd80 sl 00000a00 fp 00000004
I/DEBUG ( 126): ip 00000000 sp 60b4eb60 lr 4080c35f pc 4082b368 cpsr 68000030
I/DEBUG ( 126): d0 7669746341726569 d1 616c506f65646974
I/DEBUG ( 126): d2 0000000000000079 d3 000000000000003b
I/DEBUG ( 126): d4 7b7e80807d7f8182 d5 7778797875747676
I/DEBUG ( 126): d6 817f7b7b7c7c7a78 d7 7375736f706e7885
I/DEBUG ( 126): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 126): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 126): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 126): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 126): d16 0000000000000001 d17 0000000000000000
I/DEBUG ( 126): d18 bfc4af584abb1d3d d19 3de5d93a5acfd57c
I/DEBUG ( 126): d20 bf29c8e7daec91d6 d21 bfe6a09e667f3bcc
I/DEBUG ( 126): d22 3f80d171fc166ac7 d23 0000000000000000
I/DEBUG ( 126): d24 3fd99b7c3731d10b d25 3fe5568b9401f367
I/DEBUG ( 126): d26 0000000000000000 d27 3fdb6dbc40ea5c02
I/DEBUG ( 126): d28 3fe33336ab4b2dfc d29 bf70101000000000
I/DEBUG ( 126): d30 3fffefef00000000 d31 0000000000000000
I/DEBUG ( 126): scr 60000090
I/DEBUG ( 126):
I/DEBUG ( 126): backtrace:
I/DEBUG ( 126): #00 pc 0006b368 /system/lib/libdvm.so (dvmFindMethodHier(ClassObject const*, char const*, DexProto const*)+15)
I/DEBUG ( 126): #01 pc 00038b3c <unknown>
I/DEBUG ( 126):
I/DEBUG ( 126): stack:
I/DEBUG ( 126): 60b4eb20 00000001
I/DEBUG ( 126): 60b4eb24 7f708683
I/DEBUG ( 126): 60b4eb28 00000000
I/DEBUG ( 126): 60b4eb2c 41e11178 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 126): 60b4eb30 5e58c902 /data/app-lib/org.videolan.vlc-1/libvlcjni.so
I/DEBUG ( 126): 60b4eb34 7f708683
I/DEBUG ( 126): 60b4eb38 40869c98 /system/lib/libdvm.so
I/DEBUG ( 126): 60b4eb3c 1d200246
I/DEBUG ( 126): 60b4eb40 4086e1b0 /system/lib/libdvm.so
I/DEBUG ( 126): 60b4eb44 1d200246
I/DEBUG ( 126): 60b4eb48 41e11350 /dev/ashmem/dalvik-heap (deleted)
I/DEBUG ( 126): 60b4eb4c 4080a287 /system/lib/libdvm.so (dvmDecodeIndirectRef(Thread*, _jobject*)+178)
I/DEBUG ( 126): 60b4eb50 1d200246
I/DEBUG ( 126): 60b4eb54 5e88fca0 /data/app-lib/org.videolan.vlc-1/libvlcjni.so
I/DEBUG ( 126): 60b4eb58 df0027ad
I/DEBUG ( 126): 60b4eb5c 00000000
I/DEBUG ( 126): #00 60b4eb60 59e77d4b /data/dalvik-cache/data@app@org.videolan.vlc-1.apk@classes.dex
I/DEBUG ( 126): 60b4eb64 1d200001
I/DEBUG ( 126): 60b4eb68 5c32fb40
I/DEBUG ( 126): 60b4eb6c 5c32fb40
I/DEBUG ( 126): #01 60b4eb70 4080cc39 /system/lib/libdvm.so
I/DEBUG ( 126): 60b4eb74 5e88fca0 /data/app-lib/org.videolan.vlc-1/libvlcjni.so
I/DEBUG ( 126): 60b4eb78 4080c33b /system/lib/libdvm.so
I/DEBUG ( 126): 60b4eb7c 5de08011 /data/app-lib/org.videolan.vlc-1/libvlcjni.so (jni_SetAndroidSurfaceSize+100)
I/DEBUG ( 126): 60b4eb80 00000000
I/DEBUG ( 126): 60b4eb84 00000280
I/DEBUG ( 126): 60b4eb88 000001e0
I/DEBUG ( 126): 60b4eb8c 00000001
I/DEBUG ( 126): 60b4eb90 00000001
I/DEBUG ( 126): 60b4eb94 61370000 /dev/pvrsrvkm
I/DEBUG ( 126): 60b4eb98 00000280
I/DEBUG ( 126): 60b4eb9c 000001e0
I/DEBUG ( 126): 60b4eba0 00000001
I/DEBUG ( 126): 60b4eba4 00000001
I/DEBUG ( 126): 60b4eba8 5de07f85 /data/app-lib/org.videolan.vlc-1/libvlcjni.so (jni_LockAndGetAndroidSurface)
I/DEBUG ( 126): 60b4ebac 5c218bb8
I/DEBUG ( 126):
I/DEBUG ( 126): memory near r0:
I/DEBUG ( 126): 41e11158 41e11028 59e78d16 59e7801d 0000000a
I/DEBUG ( 126): 41e11168 00000000 00000000 00000150 000000c3
I/DEBUG ( 126): 41e11178 415541e8 00000000 00000000 00000000
I/DEBUG ( 126): 41e11188 00000000 00000000 59e77d4b 00000000
I/DEBUG ( 126): 41e11198 00030001 50000aae 40055000 00000007
I/DEBUG ( 126): 41e111a8 00000000 00000001 00000114 00000000
I/DEBUG ( 126): 41e111b8 00000000 00000000 415acbb0 41e0b0e8
I/DEBUG ( 126): 41e111c8 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 41e111d8 00000005 56f93bb0 00000002 56f93cd0
I/DEBUG ( 126): 41e111e8 00000140 56f93d48 00000007 56f94258
I/DEBUG ( 126): 41e111f8 00000000 00000000 0000000b 0000000b
I/DEBUG ( 126): 41e11208 56f93ad0 00000003 59e78003 00000001
I/DEBUG ( 126): 41e11218 41e11178 59e77edc 59e7792c 0000001a
I/DEBUG ( 126): 41e11228 41e112f0 00000000 00000000 00000023
I/DEBUG ( 126): 41e11238 4157a8d8 00000000 44000000 00000000
I/DEBUG ( 126): 41e11248 44000000 00000000 00000000 00000023
I/DEBUG ( 126):
I/DEBUG ( 126): memory near r3:
I/DEBUG ( 126): 4086e4e8 00000002 00000200 0000c800 00000000
I/DEBUG ( 126): 4086e4f8 413b7c98 00000003 00000010 0000c800
I/DEBUG ( 126): 4086e508 00000000 00000000 000000c8 00000000
I/DEBUG ( 126): 4086e518 413b7d20 413b7d20 00000010 00000400
I/DEBUG ( 126): 4086e528 00000000 413b7c18 00000000 fffffe30
I/DEBUG ( 126): 4086e538 41553aa0 5629a670 415614d8 415624e8
I/DEBUG ( 126): 4086e548 41562580 5c1fcda8 41553bb8 00000001
I/DEBUG ( 126): 4086e558 00000006 41553ef8 413b7d68 41553f40
I/DEBUG ( 126): 4086e568 00000a4c 00009a27 00001ec3 00003a0e
I/DEBUG ( 126): 4086e578 00000100 5d033318 40f34998 413a8f28
I/DEBUG ( 126): 4086e588 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 4086e598 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 4086e5a8 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 4086e5b8 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 4086e5c8 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 4086e5d8 00000000 00000000 00000000 00000000
I/DEBUG ( 126):
I/DEBUG ( 126): memory near r4:
I/DEBUG ( 126): 41e11330 00650079 00410072 00740063 00760069
I/DEBUG ( 126): 41e11340 00740069 00000079 00000000 0000011b
I/DEBUG ( 126): 41e11350 41e11178 00000000 41e11d08 41e11d08
I/DEBUG ( 126): 41e11360 41e124e0 00000000 41e09d40 41e128d0
I/DEBUG ( 126): 41e11370 01030007 00000000 41e07468 41e00c58
I/DEBUG ( 126): 41e11380 41e0fa08 41e128b8 41e12098 415639a0
I/DEBUG ( 126): 41e11390 41e07248 41e07408 41e114e0 41e12010
I/DEBUG ( 126): 41e113a0 41e12950 41e11f68 00000000 00000000
I/DEBUG ( 126): 41e113b0 00000000 00000000 00000000 41e11468
I/DEBUG ( 126): 41e113c0 41e11588 00000000 41e11508 41e0b018
I/DEBUG ( 126): 41e113d0 41e07150 00000000 00000000 00000000
I/DEBUG ( 126): 41e113e0 41e05e70 41e114f0 00000001 42233088
I/DEBUG ( 126): 41e113f0 00000000 00000000 00000000 00000001
I/DEBUG ( 126): 41e11400 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 41e11410 00000000 00000000 00000001 00000000
I/DEBUG ( 126): 41e11420 00000001 00000001 00000001 00000000
I/DEBUG ( 126):
I/DEBUG ( 126): memory near r5:
I/DEBUG ( 126): 5e88fc80 5e8486b0 5e8486c0 5e8486d0 5e8486e0
I/DEBUG ( 126): 5e88fc90 5e848680 5e8486f0 5e54ce44 00000000
I/DEBUG ( 126): 5e88fca0 1d300206 00000001 5c1fd068 1d200246
I/DEBUG ( 126): 5e88fcb0 00000001 00000000 00000000 5de07e85
I/DEBUG ( 126): 5e88fcc0 5e88fcb0 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fcd0 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fce0 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fcf0 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fd00 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fd10 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fd20 00000000 00000000 00000000 5eca21fc
I/DEBUG ( 126): 5e88fd30 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fd40 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fd50 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fd60 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5e88fd70 00000000 00000000 00000000 00000000
I/DEBUG ( 126):
I/DEBUG ( 126): memory near r6:
I/DEBUG ( 126): 5ed3ff8c 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5ed3ff9c 00000000 00000000 5e24eb1b 5e88fdc8
I/DEBUG ( 126): 5ed3ffac 41552e90 5e24e841 00000000 5e24e377
I/DEBUG ( 126): 5ed3ffbc 5e24e599 5e24e53d 5e24e3b5 5e24e5cb
I/DEBUG ( 126): 5ed3ffcc 5e24e56b 5e24e513 5e24e4bf 5e24e4e9
I/DEBUG ( 126): 5ed3ffdc 5e24e495 5e24e627 5e24e33d 5e24e9c3
I/DEBUG ( 126): 5ed3ffec 5e24e445 5e24e3f5 5e24e46d 5e24e41d
I/DEBUG ( 126): 5ed3fffc 5e24e35d 5e24e5fd 5e24eda9 5e24ee3d
I/DEBUG ( 126): 5ed4000c 5e24eb5f 5e24e769 5e24e78d 5e24e7b1
I/DEBUG ( 126): 5ed4001c 5e24ec83 5e24ed2b 5e24e745 5e24e6b9
I/DEBUG ( 126): 5ed4002c 5e24ebe3 00000000 00000000 00000000
I/DEBUG ( 126): 5ed4003c 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5ed4004c 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5ed4005c 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5ed4006c 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5ed4007c 00000000 00000000 00000000 00000000
I/DEBUG ( 126):
I/DEBUG ( 126): memory near r7:
I/DEBUG ( 126): 1d1fffe0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d1ffff0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200000 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200010 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200020 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200030 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200040 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200050 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200060 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200070 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200080 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d200090 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d2000a0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d2000b0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d2000c0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126): 1d2000d0 ffffffff ffffffff ffffffff ffffffff
I/DEBUG ( 126):
I/DEBUG ( 126): memory near r9:
I/DEBUG ( 126): 5c23dd60 5dfc0171 5dfc02c9 00000000 00000013
I/DEBUG ( 126): 5c23dd70 5c314148 401b8c64 00000010 00000063
I/DEBUG ( 126): 5c23dd80 5c23df28 4002f4ec 00000000 404a068f
I/DEBUG ( 126): 5c23dd90 404a042b 5c23dde0 00000000 00000000
I/DEBUG ( 126): 5c23dda0 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5c23ddb0 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5c23ddc0 00000000 00000000 00000000 00000000
I/DEBUG ( 126): 5c23ddd0 00000000 00000001 00000001 00000033
I/DEBUG ( 126): 5c23dde0 5c1fd068 000004ac 000002d0 000004c0
I/DEBUG ( 126): 5c23ddf0 00000033 00000002 61370000 00000000
I/DEBUG ( 126): 5c23de00 00000000 5c23dd80 00000000 0000011b
I/DEBUG ( 126): 5c23de10 32335652 00000280 000001e0 00000000
I/DEBUG ( 126): 5c23de20 00000000 00000280 000001e0 00000020
I/DEBUG ( 126): 5c23de30 00000000 00000001 40000000 00000001
I/DEBUG ( 126): 5c23de40 000000ff 0000ff00 00ff0000 00000000
I/DEBUG ( 126): 5c23de50 00000000 00000000 00000008 00000000
I/DEBUG ( 126):
I/DEBUG ( 126): memory near sp:
I/DEBUG ( 126): 60b4eb40 4086e1b0 1d200246 41e11350 4080a287
I/DEBUG ( 126): 60b4eb50 1d200246 5e88fca0 df0027ad 00000000
I/DEBUG ( 126): 60b4eb60 59e77d4b 1d200001 5c32fb40 5c32fb40
I/DEBUG ( 126): 60b4eb70 4080cc39 5e88fca0 4080c33b 5de08011
I/DEBUG ( 126): 60b4eb80 00000000 00000280 000001e0 00000001
I/DEBUG ( 126): 60b4eb90 00000001 61370000 00000280 000001e0
I/DEBUG ( 126): 60b4eba0 00000001 00000001 5de07f85 5c218bb8
I/DEBUG ( 126): 60b4ebb0 5c314148 5e878c30 5c1fd068 5de07fad
I/DEBUG ( 126): 60b4ebc0 5c23de10 5df5d80d 5df5d78d 00000000
I/DEBUG ( 126): 60b4ebd0 5c314148 5c23df28 5c23de10 5e602694
I/DEBUG ( 126): 60b4ebe0 5e60269c 5c21a8b0 00000000 5df9a481
I/DEBUG ( 126): 60b4ebf0 5c23dd80 5c23dc5c 5c314148 5c2b6304
I/DEBUG ( 126): 60b4ec00 00000000 5dfc00e9 5dfc00ad 5c314148
I/DEBUG ( 126): 60b4ec10 5c314148 5ded98b5 4017b738 5e878c30
I/DEBUG ( 126): 60b4ec20 5c21a894 000002bc 4017b738 5e878c30
I/DEBUG ( 126): 60b4ec30 6135c8a0 5c2b6304 5c314148 5c21a894
I/DEBUG ( 126):
I/DEBUG ( 126): code around pc:
I/DEBUG ( 126): 4082b348 460bb507 92002101 f7ff460a bd0efd83
I/DEBUG ( 126): 4082b358 460bb507 21009200 f7ff2201 bd0efd7b
I/DEBUG ( 126): 4082b368 b538684a 020af012 d1264603 78006908
I/DEBUG ( 126): 4082b378 d124283c 6fdde021 5032f855 d0084285
I/DEBUG ( 126): 4082b388 42a23201 d104dbf7 44784811 fd4cf7d9
I/DEBUG ( 126): 4082b398 6fd8e012 eb008909 f8dc0cc2 f8522004
I/DEBUG ( 126): 4082b3a8 e0002021 6f59890a 1022f851 055b684b
I/DEBUG ( 126): 4082b3b8 2000d503 fbe4f7d9 46082100 6808bd38
I/DEBUG ( 126): 4082b3c8 f4146a04 bf187f00 d1da6f9c bf00e7ea
I/DEBUG ( 126): 4082b3d8 00031fd2 f8d36803 47700098 4ff0e92d
I/DEBUG ( 126): 4082b3e8 b0894604 6805b108 497bb94d 4a7b2005
I/DEBUG ( 126): 4082b3f8 447a4479 e8bdb009 f01e4ff0 69a8b8c9
I/DEBUG ( 126): 4082b408 4a784e77 447e9000 447a6bab 20034631
I/DEBUG ( 126): 4082b418 91d4f8df 46239301 a1d0f8df ea46f7b2
I/DEBUG ( 126): 4082b428 44f94a73 200344fa 4631447a ea3ef7b2
I/DEBUG ( 126): 4082b438 99079607 464a2003 f7b269ab 496dea38
I/DEBUG ( 126):
I/DEBUG ( 126): code around lr:
I/DEBUG ( 126): 4080c33c b5104603 460cb086 4619a802 ff48f7fc
I/DEBUG ( 126): 4080c34c 98024621 ff40f7fd 46049908 f01f6800
I/DEBUG ( 126): 4080c35c 4601f805 ab09b148 9303aa04 000ce88d
I/DEBUG ( 126): 4080c36c 98024622 f0132301 a802fbd5 ff54f7fc
I/DEBUG ( 126): 4080c37c e8bdb006 b0024010 b5f04770 b0874606
I/DEBUG ( 126): 4080c38c a803460c 46154631 f7fc461f 4621ff21
I/DEBUG ( 126): 4080c39c f7fd9803 4629ff19 68004604 ffdef01e
I/DEBUG ( 126): 4080c3ac b1504601 4622ab04 0088e88d 98032301
I/DEBUG ( 126): 4080c3bc fb0cf013 4504e9dd 2400e001 a8032500
I/DEBUG ( 126): 4080c3cc ff2af7fc 46294620 bdf0b007 4606b5f0
I/DEBUG ( 126): 4080c3dc 460cb087 4631a803 461f4615 fef8f7fc
I/DEBUG ( 126): 4080c3ec 98034621 fef0f7fd 46044629 f01e6800
I/DEBUG ( 126): 4080c3fc 4601ffb5 ab04b150 e88d4622 23010088
I/DEBUG ( 126): 4080c40c f0139803 e9ddfb87 e0014504 25002400
I/DEBUG ( 126): 4080c41c f7fca803 4620ff01 b0074629 b40cbdf0
I/DEBUG ( 126): 4080c42c b5304603 460cb087 4619a802 fed0f7fc


What am I missing? Thanks in advance for any advice,

Grégoire

gregoiregentil
Blank Cone
Blank Cone
Posts: 27
Joined: 30 Jan 2013 07:48

Re: Very simple example of a VLC Android application

Postby gregoiregentil » 01 Feb 2013 04:05

I have also built my application with the script like it's done in the wiki page and I'm getting the same error. Therefore, I don't think that it's jni problem. In the trace, I see an error more or less related to setSurfaceSize. Perhaps, I'm missing a surface initialization or something like that...

gregoiregentil
Blank Cone
Blank Cone
Posts: 27
Joined: 30 Jan 2013 07:48

Re: Very simple example of a VLC Android application

Postby gregoiregentil » 01 Feb 2013 18:07

OK! I found the problem. I was missing setSurfaceSize in the java code. So I have video on screen now.

If I may suggest, it might be a good idea to put an example in the application of what I'm doing (bare minimum video output) and to tweak the two java files I had to patch so that the bare minimum can work in standalone.

Thanks.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Very simple example of a VLC Android application

Postby edwardw » 02 Feb 2013 17:56

Please don't violate the GPL licence. You must include sources to your application that you are integrating.

gregoiregentil
Blank Cone
Blank Cone
Posts: 27
Joined: 30 Jan 2013 07:48

Re: Very simple example of a VLC Android application

Postby gregoiregentil » 02 Feb 2013 18:33

To be complete, here is the full source code that we wrote:

Code: Select all

package org.videolan.vlc; import org.videolan.vlc.LibVLC; import org.videolan.vlc.LibVlcException; import android.app.Activity; import android.graphics.PixelFormat; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.util.Log; import android.view.SurfaceHolder; import android.view.SurfaceHolder.Callback; import android.view.SurfaceView; import android.view.View; import android.view.ViewGroup.LayoutParams; public class VideoPlayerActivity extends Activity { private static final String TAG = "VideoPlayerActivity"; private SurfaceView mSurface; private SurfaceHolder mSurfaceHolder; private LibVLC mLibVLC; private static final int FADE_OUT = 1; private static final int SHOW_PROGRESS = 2; private static final int SURFACE_SIZE = 3; private static final int FADE_OUT_INFO = 4; @Override public void onPause() { super.onPause(); } @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); setContentView(R.layout.main); mSurface = (SurfaceView) findViewById(R.id.vvMain); mSurfaceHolder = mSurface.getHolder(); mSurfaceHolder.setFormat(PixelFormat.RGBX_8888); mSurfaceHolder.addCallback(mSurfaceCallback); try { LibVLC.useIOMX(this); mLibVLC = LibVLC.getInstance(); } catch (LibVlcException e) { Log.d(TAG, "LibVLC initialisation failed"); return; } toggleVideo(); } private void changeSurfaceSize() { mSurfaceHolder.setFixedSize(640, 480); LayoutParams lp = mSurface.getLayoutParams(); lp.width = 640; lp.height = 480; mSurface.setLayoutParams(lp); mSurface.invalidate(); } private final Handler mHandler = new VideoPlayerHandler(this); public void setSurfaceSize(int width, int height, int sar_num, int sar_den) { Message msg = mHandler.obtainMessage(SURFACE_SIZE); mHandler.sendMessage(msg); } private static class VideoPlayerHandler extends WeakHandler<VideoPlayerActivity> { public VideoPlayerHandler(VideoPlayerActivity owner) { super(owner); } @Override public void handleMessage(Message msg) { VideoPlayerActivity activity = getOwner(); if(activity == null) // WeakReference could be GC'ed early return; switch (msg.what) { case FADE_OUT: break; case SHOW_PROGRESS: break; case SURFACE_SIZE: activity.changeSurfaceSize(); break; case FADE_OUT_INFO: break; } } }; private void toggleVideo() { if (mLibVLC.isPlaying()) { mSurface.setVisibility(View.INVISIBLE); mLibVLC.pause(); } else { mSurface.setVisibility(View.VISIBLE); mLibVLC.readMedia("rtsp://192.168.11.2:8554/test"); } } private final SurfaceHolder.Callback mSurfaceCallback = new Callback() { @Override public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { mLibVLC.attachSurface(holder.getSurface(), VideoPlayerActivity.this, width, height); } @Override public void surfaceCreated(SurfaceHolder holder) { } @Override public void surfaceDestroyed(SurfaceHolder holder) { mLibVLC.detachSurface(); } }; }

fgiuffri
New Cone
New Cone
Posts: 3
Joined: 25 Mar 2013 12:30

Re: Very simple example of a VLC Android application

Postby fgiuffri » 26 Mar 2013 12:33

Hello gregoiregentil
I've tried to replicate the process on my platoform.
I've been able to build VLC on Android and have it running OK on my HTC, but the option of integrating the VLC lib in my application it is what I'm looking for.
I've been following the instructions but I have an issue with
"Slightly modify Android.mk so that it can be compiled through Eclipse" where I have a problem in relation to $(VLC_MODULES) as I do not know how to resolve it...
And Ibuilding I get this error
linux-androideapi/bin/ld: fatal error: ../vlc/modules: pread failed: Is a directory
WHere can I find more info on how to customize Android.mk?

Thanks.
Francesco

fgiuffri
New Cone
New Cone
Posts: 3
Joined: 25 Mar 2013 12:30

Re: Very simple example of a VLC Android application

Postby fgiuffri » 26 Mar 2013 19:03

I managed to move a bit forward in the Android.mk customization, and I think I sorted out the modules inclusion:
Here follow my current Android.mk
I had to redefine most of the environment variables in Eclipse.

Code: Select all

LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libvlcjni LOCAL_SRC_FILES := libvlcjni.c aout.c thumbnailer.c pthread-condattr.c pthread-rwlocks.c pthread-once.c eventfd.c sem.c LOCAL_SRC_FILES += pipe2.c LOCAL_SRC_FILES += wchar/wcpcpy.c LOCAL_SRC_FILES += wchar/wcpncpy.c LOCAL_SRC_FILES += wchar/wcscasecmp.c LOCAL_SRC_FILES += wchar/wcscat.c LOCAL_SRC_FILES += wchar/wcschr.c LOCAL_SRC_FILES += wchar/wcscmp.c LOCAL_SRC_FILES += wchar/wcscoll.c LOCAL_SRC_FILES += wchar/wcscpy.c LOCAL_SRC_FILES += wchar/wcscspn.c LOCAL_SRC_FILES += wchar/wcsdup.c LOCAL_SRC_FILES += wchar/wcslcat.c LOCAL_SRC_FILES += wchar/wcslcpy.c LOCAL_SRC_FILES += wchar/wcslen.c LOCAL_SRC_FILES += wchar/wcsncasecmp.c LOCAL_SRC_FILES += wchar/wcsncat.c LOCAL_SRC_FILES += wchar/wcsncmp.c LOCAL_SRC_FILES += wchar/wcsncpy.c LOCAL_SRC_FILES += wchar/wcsnlen.c LOCAL_SRC_FILES += wchar/wcspbrk.c LOCAL_SRC_FILES += wchar/wcsrchr.c LOCAL_SRC_FILES += wchar/wcsspn.c LOCAL_SRC_FILES += wchar/wcsstr.c LOCAL_SRC_FILES += wchar/wcstok.c LOCAL_SRC_FILES += wchar/wcswidth.c LOCAL_SRC_FILES += wchar/wcsxfrm.c LOCAL_SRC_FILES += wchar/wmemchr.c LOCAL_SRC_FILES += wchar/wmemcmp.c LOCAL_SRC_FILES += wchar/wmemcpy.c LOCAL_SRC_FILES += wchar/wmemmove.c LOCAL_SRC_FILES += wchar/wmemset.c LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/include ARCH=$(ANDROID_ABI) CPP_STATIC=$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++$(CXXSTL)/libs/$(ARCH)/libgnustl_static.a LOCAL_CFLAGS := -std=gnu99 ifeq ($(ARCH), armeabi) LOCAL_CFLAGS += -DHAVE_ARMEABI # Needed by ARMv6 Thumb1 (the System Control coprocessor/CP15 is mandatory on ARMv6) # On newer ARM architectures we can use Thumb2 LOCAL_ARM_MODE := arm endif ifeq ($(ARCH), armeabi-v7a) LOCAL_CFLAGS += -DHAVE_ARMEABI_V7A endif VLC_MODULES := $(shell $(VLC_BUILD_DIR)/find_modules.sh $(VLC_BUILD_DIR)) LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \ $(VLC_MODULES) \ $(VLC_BUILD_DIR)/lib/.libs/libvlc.a \ $(VLC_BUILD_DIR)/src/.libs/libvlccore.a \ $(VLC_BUILD_DIR)/compat/.libs/libcompat.a \ -ldl -lz -lm -llog \ -ldvbpsi -lebml -lmatroska -ltag \ -logg -lFLAC -ltheora \ -lmpeg2 -la52 \ -lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg \ -lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock \ -lspeex -lspeexdsp \ -lxml2 -lpng -lgnutls -lgcrypt -lgpg-error \ -lfreetype -liconv -lass -lfribidi -lopus \ $(CPP_STATIC) include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-gingerbread LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_GINGERBREAD)/frameworks/base/include $(ANDROID_SYS_HEADERS_GINGERBREAD)/system/core/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-hc LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_HC)/frameworks/base/include $(ANDROID_SYS_HEADERS_HC)/frameworks/base/native/include $(ANDROID_SYS_HEADERS_HC)/system/core/include $(ANDROID_SYS_HEADERS_HC)/hardware/libhardware/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-ics LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_ICS)/frameworks/base/include $(ANDROID_SYS_HEADERS_ICS)/frameworks/base/native/include $(ANDROID_SYS_HEADERS_ICS)/system/core/include $(ANDROID_SYS_HEADERS_ICS)/hardware/libhardware/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY)
The issue now I have is big amount of unresolved in the final link, all related to calls in the function vlc_static_modules:

Code: Select all

/home/fgiuffri/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi-v7a/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x0): error: undefined reference to 'vlc_entry__integer_mixer' /home/fgiuffri/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi-v7a/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x4): error: undefined reference to 'vlc_entry__float_mixer' /home/fgiuffri/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi-v7a/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x8): error: undefined reference to 'vlc_entry__stereo_widen' /home/fgiuffri/android-ndk-r8d/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi-v7a/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xc): error: undefined reference to 'vlc_entry__remap'
Any Advice?

gregoiregentil
Blank Cone
Blank Cone
Posts: 27
Joined: 30 Jan 2013 07:48

Re: Very simple example of a VLC Android application

Postby gregoiregentil » 26 Mar 2013 19:14

My version:

Code: Select all

LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) VLC_SRC_DIR := ../res-src/vlc/vlc VLC_BUILD_DIR := ../res-src/vlc/vlc/android ANDROID_SYS_HEADERS_GINGERBREAD := ../res-src/vlc/android-headers-gingerbread ANDROID_SYS_HEADERS_HC := ../res-src/vlc/android-headers-hc ANDROID_SYS_HEADERS_ICS := ../res-src/vlc/android-headers-ics ANDROID_LIBS := ../res-src/vlc/android-libs ANDROID_NDK := /work/others/android-ndk-r8d CXXSTL := /4.6 ANDROID_ABI := armeabi-v7a VLC_CONTRIB := ../res-src/vlc/vlc/contrib/arm-linux-androideabi VLC_MODULES := ../res-src/vlc/vlc/android/modules/meta_engine/.libs/libfolder_plugin.a ... (everything hard-coded from find_modules.sh) LOCAL_MODULE := libvlcjni LOCAL_SRC_FILES := libvlcjni.c aout.c thumbnailer.c pthread-condattr.c pthread-rwlocks.c pthread-once.c eventfd.c sem.c LOCAL_SRC_FILES += pipe2.c LOCAL_SRC_FILES += wchar/wcpcpy.c LOCAL_SRC_FILES += wchar/wcpncpy.c LOCAL_SRC_FILES += wchar/wcscasecmp.c LOCAL_SRC_FILES += wchar/wcscat.c LOCAL_SRC_FILES += wchar/wcschr.c LOCAL_SRC_FILES += wchar/wcscmp.c LOCAL_SRC_FILES += wchar/wcscoll.c LOCAL_SRC_FILES += wchar/wcscpy.c LOCAL_SRC_FILES += wchar/wcscspn.c LOCAL_SRC_FILES += wchar/wcsdup.c LOCAL_SRC_FILES += wchar/wcslcat.c LOCAL_SRC_FILES += wchar/wcslcpy.c LOCAL_SRC_FILES += wchar/wcslen.c LOCAL_SRC_FILES += wchar/wcsncasecmp.c LOCAL_SRC_FILES += wchar/wcsncat.c LOCAL_SRC_FILES += wchar/wcsncmp.c LOCAL_SRC_FILES += wchar/wcsncpy.c LOCAL_SRC_FILES += wchar/wcsnlen.c LOCAL_SRC_FILES += wchar/wcspbrk.c LOCAL_SRC_FILES += wchar/wcsrchr.c LOCAL_SRC_FILES += wchar/wcsspn.c LOCAL_SRC_FILES += wchar/wcsstr.c LOCAL_SRC_FILES += wchar/wcstok.c LOCAL_SRC_FILES += wchar/wcswidth.c LOCAL_SRC_FILES += wchar/wcsxfrm.c LOCAL_SRC_FILES += wchar/wmemchr.c LOCAL_SRC_FILES += wchar/wmemcmp.c LOCAL_SRC_FILES += wchar/wmemcpy.c LOCAL_SRC_FILES += wchar/wmemmove.c LOCAL_SRC_FILES += wchar/wmemset.c LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/include ARCH=$(ANDROID_ABI) CPP_STATIC=$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++$(CXXSTL)/libs/$(ARCH)/libgnustl_static.a LOCAL_CFLAGS := -std=gnu99 ifeq ($(ARCH), armeabi) LOCAL_CFLAGS += -DHAVE_ARMEABI # Needed by ARMv6 Thumb1 (the System Control coprocessor/CP15 is mandatory on ARMv6) # On newer ARM architectures we can use Thumb2 LOCAL_ARM_MODE := arm endif ifeq ($(ARCH), armeabi-v7a) LOCAL_CFLAGS += -DHAVE_ARMEABI_V7A endif LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \ $(VLC_MODULES) \ $(VLC_BUILD_DIR)/lib/.libs/libvlc.a \ $(VLC_BUILD_DIR)/src/.libs/libvlccore.a \ $(VLC_BUILD_DIR)/compat/.libs/libcompat.a \ -ldl -lz -lm -llog \ -ldvbpsi -lebml -lmatroska -ltag \ -logg -lFLAC -ltheora \ -lmpeg2 -la52 \ -lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg \ -lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock \ -lspeex -lspeexdsp \ -lxml2 -lpng -lgnutls -lgcrypt -lgpg-error \ -lfreetype -liconv -lass -lfribidi -lopus \ $(CPP_STATIC) include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-gingerbread LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_GINGERBREAD)/frameworks/base/include $(ANDROID_SYS_HEADERS_GINGERBREAD)/system/core/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-hc LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_HC)/frameworks/base/include $(ANDROID_SYS_HEADERS_HC)/frameworks/base/native/include $(ANDROID_SYS_HEADERS_HC)/system/core/include $(ANDROID_SYS_HEADERS_HC)/hardware/libhardware/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-ics LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_ICS)/frameworks/base/include $(ANDROID_SYS_HEADERS_ICS)/frameworks/base/native/include $(ANDROID_SYS_HEADERS_ICS)/system/core/include $(ANDROID_SYS_HEADERS_ICS)/hardware/libhardware/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY)

fgiuffri
New Cone
New Cone
Posts: 3
Joined: 25 Mar 2013 12:30

Re: Very simple example of a VLC Android application

Postby fgiuffri » 26 Mar 2013 19:23

Thanks a lot!!!

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: Very simple example of a VLC Android application

Postby Jean-Baptiste Kempf » 26 Mar 2013 20:43

We really should put that in an example project in our repo, if you want to share 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.

gregoiregentil
Blank Cone
Blank Cone
Posts: 27
Joined: 30 Jan 2013 07:48

Re: Very simple example of a VLC Android application

Postby gregoiregentil » 27 Mar 2013 06:25

I definitely agree and I think that it would be very valuable as I said in my post dated "Fri Feb 01, 2013 9:07 am" above. I think that "many" people would love to leverage libVLC for media playback within whatever they are doing in Android.

Also, it might be a good idea if such simple example can be side by side the vlc application but **without** a fork. When I wrote this example, I really wanted to touch the very bare minimum. I didn't modify the jni code or the core java code. I have just added one standalone java class for setting up the surface and modifying the Android.mk as it was necessary.

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: Very simple example of a VLC Android application

Postby Jean-Baptiste Kempf » 27 Mar 2013 15:13

Exactly, and I 100% agree. Which is why it should be in the same repo :)
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.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Very simple example of a VLC Android application

Postby edwardw » 27 Mar 2013 23:15


VLC_BUILD_DIR := ../res-src/vlc/vlc/android
ANDROID_SYS_HEADERS_GINGERBREAD := ../res-src/vlc/android-headers-gingerbread
ANDROID_SYS_HEADERS_HC := ../res-src/vlc/android-headers-hc
ANDROID_SYS_HEADERS_ICS := ../res-src/vlc/android-headers-ics
ANDROID_LIBS := ../res-src/vlc/android-libs
ANDROID_NDK := /work/others/android-ndk-r8d
CXXSTL := /4.6
ANDROID_ABI := armeabi-v7a
VLC_CONTRIB := ../res-src/vlc/vlc/contrib/arm-linux-androideabi
VLC_MODULES := ../res-src/vlc/vlc/android/modules/meta_engine/.libs/libfolder_plugin.a ... (everything hard-coded from find_modules.sh)
Use env.sh to import these variables, then make -e to build it.

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

Re: Very simple example of a VLC Android application

Postby evazquez » 18 Apr 2013 17:46

Hello every one, i'm try to work with VLClib and I follow all the instructions, but when I change the paths i get a many error like this

Code: Select all

Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lstagefright /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lmedia /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lutils /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lbinder /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::String16::operator==(android::String16 const&) const:../android-headers-gingerbread/frameworks/base/include/utils/String16.h:208: error: undefined reference to 'strzcmp16' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::String8::operator=(char const*):../android-headers-gingerbread/frameworks/base/include/utils/String8.h:366: error: undefined reference to 'android::String8::setTo(char const*)' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::BnInterface<android::IOMXObserver>::BnInterface():../android-headers-gingerbread/frameworks/base/include/binder/IInterface.h:50: error: undefined reference to 'android::IOMXObserver::IOMXObserver()' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::BnInterface<android::IOMXObserver>::BnInterface():../android-headers-gingerbread/frameworks/base/include/binder/IInterface.h:50: error: undefined reference to 'android::BBinder::BBinder()' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::BnInterface<android::IOMXObserver>::~BnInterface():../android-headers-gingerbread/frameworks/base/include/binder/IInterface.h:50: error: undefined reference to 'android::BBinder::~BBinder()' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::BnInterface<android::IOMXObserver>::~BnInterface():../android-headers-gingerbread/frameworks/base/include/binder/IInterface.h:50: error: undefined reference to 'android::IOMXObserver::~IOMXObserver()' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::BnInterface<android::IOMXObserver>::~BnInterface():../android-headers-gingerbread/frameworks/base/include/binder/IInterface.h:50: error: undefined reference to 'android::RefBase::~RefBase()' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::BnInterface<android::IOMXObserver>::~BnInterface():../android-headers-gingerbread/frameworks/base/include/binder/IInterface.h:50: error: undefined reference to 'android::BBinder::~BBinder()' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::BnInterface<android::IOMXObserver>::~BnInterface():../android-headers-gingerbread/frameworks/base/include/binder/IInterface.h:50: error: undefined reference to 'android::IOMXObserver::~IOMXObserver()' /Applications/android/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: ./obj/local/armeabi/objs-debug/iomx-gingerbread/__/__/vlc/modules/codec/omxil/iomx.o: in function android::BnInterface<android::IOMXObserver>::~BnInterface():../android-headers-gingerbread/frameworks/base/include/binder/IInterface.h:50: error: undefined reference to 'android::RefBase::~RefBase()'
I did that gregoiregentil suggested, but i still get the errors.

I don't know what else i need to do, some one can help me please.

greetings

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Very simple example of a VLC Android application

Postby edwardw » 19 Apr 2013 00:33

You need to follow the instructions here: http://wiki.videolan.org/AndroidCompile

androidnoob
New Cone
New Cone
Posts: 2
Joined: 04 Mar 2013 05:05

Re: Very simple example of a VLC Android application

Postby androidnoob » 19 Apr 2013 04:38

Hello gregoiregentil & fgiuffri & edwardw

I've done all of the instructions below:
- Compile vlc Android
- Create a new Android application through Eclipse
- Copy over the jni folder. Slightly modify Android.mk so that it can be compiled through Eclipse
- Copy over:
org/videolan/vlc/Util.java
org/videolan/vlc/Aout.java
org/videolan/vlc/EventManager.java
org/videolan/vlc/VLCApplication.java
org/videolan/vlc/LibVlcException.java
org/videolan/vlc/LibVLC.java

But when I modify Android.mk slightly with your suggestions, still get big amount error like fgiuffri.
What Android.mk I've modify:

Code: Select all

LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := libvlcjni VLC_SRC_DIR := ../vlclib_origin/android/vlc VLC_BUILD_DIR := ../vlclib_origin/android/vlc/android ANDROID_SYS_HEADERS_GINGERBREAD := ../vlclib_origin/android/android-headers-gingerbread ANDROID_SYS_HEADERS_HC := ../vlclib_origin/android/android-headers-hc ANDROID_SYS_HEADERS_ICS := ../vlclib_origin/android/android-headers-ics ANDROID_LIBS := ../vlclib_origin/android/android-libs ANDROID_NDK := ../../../android-ndk-r8e CXXSTL := /4.7 ANDROID_ABI := armeabi-v7a VLC_CONTRIB := ../vlclib_origin/android/vlc/contrib/arm-linux-androideabi VLC_MODULES := ../vlclib_origin/android/vlc/android/modules/meta_engine/.libs/libfolder_plugin.a VLC_MODULES := ../vlclib_origin/android/vlc/android/modules/meta_engine/.libs/libtaglib_plugin.a LOCAL_SRC_FILES := libvlcjni.c aout.c thumbnailer.c pthread-condattr.c pthread-rwlocks.c pthread-once.c eventfd.c sem.c LOCAL_SRC_FILES += pipe2.c LOCAL_SRC_FILES += wchar/wcpcpy.c LOCAL_SRC_FILES += wchar/wcpncpy.c LOCAL_SRC_FILES += wchar/wcscasecmp.c LOCAL_SRC_FILES += wchar/wcscat.c LOCAL_SRC_FILES += wchar/wcschr.c LOCAL_SRC_FILES += wchar/wcscmp.c LOCAL_SRC_FILES += wchar/wcscoll.c LOCAL_SRC_FILES += wchar/wcscpy.c LOCAL_SRC_FILES += wchar/wcscspn.c LOCAL_SRC_FILES += wchar/wcsdup.c LOCAL_SRC_FILES += wchar/wcslcat.c LOCAL_SRC_FILES += wchar/wcslcpy.c LOCAL_SRC_FILES += wchar/wcslen.c LOCAL_SRC_FILES += wchar/wcsncasecmp.c LOCAL_SRC_FILES += wchar/wcsncat.c LOCAL_SRC_FILES += wchar/wcsncmp.c LOCAL_SRC_FILES += wchar/wcsncpy.c LOCAL_SRC_FILES += wchar/wcsnlen.c LOCAL_SRC_FILES += wchar/wcspbrk.c LOCAL_SRC_FILES += wchar/wcsrchr.c LOCAL_SRC_FILES += wchar/wcsspn.c LOCAL_SRC_FILES += wchar/wcsstr.c LOCAL_SRC_FILES += wchar/wcstok.c LOCAL_SRC_FILES += wchar/wcswidth.c LOCAL_SRC_FILES += wchar/wcsxfrm.c LOCAL_SRC_FILES += wchar/wmemchr.c LOCAL_SRC_FILES += wchar/wmemcmp.c LOCAL_SRC_FILES += wchar/wmemcpy.c LOCAL_SRC_FILES += wchar/wmemmove.c LOCAL_SRC_FILES += wchar/wmemset.c LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/include ARCH=$(ANDROID_ABI) CPP_STATIC=$(ANDROID_NDK)/sources/cxx-stl/gnu-libstdc++$(CXXSTL)/libs/$(ARCH)/libgnustl_static.a LOCAL_CFLAGS := -std=gnu99 ifeq ($(ARCH), armeabi) LOCAL_CFLAGS += -DHAVE_ARMEABI # Needed by ARMv6 Thumb1 (the System Control coprocessor/CP15 is mandatory on ARMv6) # On newer ARM architectures we can use Thumb2 LOCAL_ARM_MODE := arm endif ifeq ($(ARCH), armeabi-v7a) LOCAL_CFLAGS += -DHAVE_ARMEABI_V7A endif LOCAL_LDLIBS := -L$(VLC_CONTRIB)/lib \ $(VLC_MODULES) \ $(VLC_BUILD_DIR)/lib/.libs/libvlc.a \ $(VLC_BUILD_DIR)/src/.libs/libvlccore.a \ $(VLC_BUILD_DIR)/compat/.libs/libcompat.a \ -ldl -lz -lm -llog \ -ldvbpsi -lebml -lmatroska -ltag \ -logg -lFLAC -ltheora \ -lmpeg2 -la52 \ -lavformat -lavcodec -lswscale -lavutil -lpostproc -lgsm -lopenjpeg \ -lliveMedia -lUsageEnvironment -lBasicUsageEnvironment -lgroupsock \ -lspeex -lspeexdsp \ -lxml2 -lpng -lgnutls -lgcrypt -lgpg-error \ -lfreetype -liconv -lass -lfribidi -lopus \ $(CPP_STATIC) include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-gingerbread LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_GINGERBREAD)/frameworks/base/include $(ANDROID_SYS_HEADERS_GINGERBREAD)/system/core/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-hc LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_HC)/frameworks/base/include $(ANDROID_SYS_HEADERS_HC)/frameworks/base/native/include $(ANDROID_SYS_HEADERS_HC)/system/core/include $(ANDROID_SYS_HEADERS_HC)/hardware/libhardware/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := libiomx-ics LOCAL_SRC_FILES := ../$(VLC_SRC_DIR)/modules/codec/omxil/iomx.cpp LOCAL_C_INCLUDES := $(VLC_SRC_DIR)/modules/codec/omxil $(ANDROID_SYS_HEADERS_ICS)/frameworks/base/include $(ANDROID_SYS_HEADERS_ICS)/frameworks/base/native/include $(ANDROID_SYS_HEADERS_ICS)/system/core/include $(ANDROID_SYS_HEADERS_ICS)/hardware/libhardware/include LOCAL_CFLAGS := -Wno-psabi LOCAL_LDLIBS := -L$(ANDROID_LIBS) -lgcc -lstagefright -lmedia -lutils -lbinder include $(BUILD_SHARED_LIBRARY)
And what error i get:

Code: Select all

C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: error: ../vlclib_origin/android/vlc/contrib/arm-linux-androideabi/lib/libpng.a:1:11: syntax error, unexpected $end C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: error: ../vlclib_origin/android/vlc/contrib/arm-linux-androideabi/lib/libpng.a: not an object or archive C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x0): error: undefined reference to 'vlc_entry__yuv_rgb_neon' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x4): error: undefined reference to 'vlc_entry__simple_channel_mixer_neon' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x8): error: undefined reference to 'vlc_entry__chroma_yuv_neon' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xc): error: undefined reference to 'vlc_entry__volume_neon' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x10): error: undefined reference to 'vlc_entry__image' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x14): error: undefined reference to 'vlc_entry__aiff' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x18): error: undefined reference to 'vlc_entry__mp4' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1c): error: undefined reference to 'vlc_entry__rawaud' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x20): error: undefined reference to 'vlc_entry__subtitle' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x24): error: undefined reference to 'vlc_entry__flacsys' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x28): error: undefined reference to 'vlc_entry__playlist' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x2c): error: undefined reference to 'vlc_entry__ty' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x30): error: undefined reference to 'vlc_entry__live555' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x34): error: undefined reference to 'vlc_entry__avi' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x38): error: undefined reference to 'vlc_entry__demux_stl' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x3c): error: undefined reference to 'vlc_entry__asf' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x40): error: undefined reference to 'vlc_entry__dirac' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x44): error: undefined reference to 'vlc_entry__avformat' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x48): error: undefined reference to 'vlc_entry(short *)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x4c): error: undefined reference to 'vlc_entry__au' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x50): error: undefined reference to 'vlc_entry__nsv' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x54): error: undefined reference to 'vlc_entry__mpgv' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x58): error: undefined reference to 'vlc_entry__nuv' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x5c): error: undefined reference to 'vlc_entry__vc1' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x60): error: undefined reference to 'vlc_entry__wav' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x64): error: undefined reference to 'vlc_entry__pva' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x68): error: undefined reference to 'vlc_entry__ts' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x6c): error: undefined reference to 'vlc_entry__nsc' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x70): error: undefined reference to 'vlc_entry__h264' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x74): error: undefined reference to 'vlc_entry__rawvid' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x78): error: undefined reference to 'vlc_entry__ogg' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x7c): error: undefined reference to 'vlc_entry(...)(short)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x80): error: undefined reference to 'vlc_entry__vobsub' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x84): error: undefined reference to 'vlc_entry__tta' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x88): error: undefined reference to 'vlc_entry__demuxdump' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x8c): error: undefined reference to 'vlc_entry__mkv' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x90): error: undefined reference to 'vlc_entry__demux_cdg' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x94): error: undefined reference to 'vlc_entry__mjpeg' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x98): error: undefined reference to 'vlc_entry__rawdv' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x9c): error: undefined reference to 'vlc_entry__voc' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xa0): error: undefined reference to 'vlc_entry__xa' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xa4): error: undefined reference to 'vlc_entry__packetizer_flac' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xa8): error: undefined reference to 'vlc_entry__packetizer_mlp' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xac): error: undefined reference to 'vlc_entry__packetizer_h264' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xb0): error: undefined reference to 'vlc_entry__packetizer_dirac' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xb4): error: undefined reference to 'vlc_entry__packetizer_mpegvideo' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xb8): error: undefined reference to 'vlc_entry__packetizer_mpeg4audio' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xbc): error: undefined reference to 'vlc_entry__packetizer_mpeg4video' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xc0): error: undefined reference to 'vlc_entry__packetizer_vc1' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xc4): error: undefined reference to 'vlc_entry__dummy' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xc8): error: undefined reference to 'vlc_entry__folder' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xd0): error: undefined reference to 'vlc_entry__httplive' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xd4): error: undefined reference to 'vlc_entry__record' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xd8): error: undefined reference to 'vlc_entry__smooth' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xdc): error: undefined reference to 'vlc_entry__decomp' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xe0): error: undefined reference to 'vlc_entry__dash' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xe4): error: undefined reference to 'vlc_entry__freetype' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xe8): error: undefined reference to 'vlc_entry__remap' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xec): error: undefined reference to 'vlc_entry__equalizer' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xf0): error: undefined reference to 'vlc_entry__stereo_widen' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xf4): error: undefined reference to 'vlc_entry__param_eq' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xf8): error: undefined reference to 'vlc_entry__headphone_channel_mixer' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0xfc): error: undefined reference to 'vlc_entry__dolby_surround_decoder' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x100): error: undefined reference to 'vlc_entry__normvol' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x104): error: undefined reference to 'vlc_entry__gain' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x108): error: undefined reference to 'vlc_entry__simple_channel_mixer' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x10c): error: undefined reference to 'vlc_entry__a52tofloat32' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x110): error: undefined reference to 'vlc_entry__spatializer' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x114): error: undefined reference to 'vlc_entry__mono' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x118): error: undefined reference to 'vlc_entry__chorus_flanger' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x11c): error: undefined reference to 'vlc_entry__ugly_resampler' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x120): error: undefined reference to 'vlc_entry__audio_format' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x124): error: undefined reference to 'vlc_entry__trivial_channel_mixer' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x128): error: undefined reference to 'vlc_entry__scaletempo' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x12c): error: undefined reference to 'vlc_entry__karaoke' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x130): error: undefined reference to 'vlc_entry__compressor' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x134): error: undefined reference to 'vlc_entry__rawvideo' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x138): error: undefined reference to 'vlc_entry(short, bool __restrict, short, double,...)(char)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x13c): error: undefined reference to 'vlc_entry(char, void, double, short, bool __restrict)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x140): error: undefined reference to 'vlc_entry__cdg' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x144): error: undefined reference to 'vlc_entry__a52' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x148): error: undefined reference to 'vlc_entry__flac' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x14c): error: undefined reference to 'vlc_entry(short, void, char, double, short, bool __restrict)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x150): error: undefined reference to 'vlc_entry__aes3' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x154): error: undefined reference to 'vlc_entry__adpcm' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x158): error: undefined reference to 'vlc_entry__dts' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x15c): error: undefined reference to 'vlc_entry__avcodec' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x160): error: undefined reference to 'vlc_entry__araw' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x164): error: undefined reference to 'vlc_entry__libmpeg2' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x168): error: undefined reference to 'vlc_entry__libass' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x16c): error: undefined reference to 'vlc_entry__stl' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x170): error: undefined reference to 'vlc_entry(char, char)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x174): error: undefined reference to 'vlc_entry__iomx' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x178): error: undefined reference to 'vlc_entry__mediacodec' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x17c): error: undefined reference to 'vlc_entry__png' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x180): error: undefined reference to 'vlc_entry(short, bool __restrict, short, short __restrict, float)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x184): error: undefined reference to 'vlc_entry(double, void, bool, short, bool __restrict)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x188): error: undefined reference to 'vlc_entry__g711' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x18c): error: undefined reference to 'vlc_entry__telx' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x190): error: undefined reference to 'vlc_entry__opus' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x194): error: undefined reference to 'vlc_entry(short, double __restrict *,...)(char)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x198): error: undefined reference to 'vlc_entry__theora' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x19c): error: undefined reference to 'vlc_entry__speex' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1a0): error: undefined reference to 'vlc_entry__lpcm' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1a4): error: undefined reference to 'vlc_entry__uleaddvaudio' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1a8): error: undefined reference to 'vlc_entry__mpeg_audio' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1ac): error: undefined reference to 'vlc_entry__scte27' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1b0): error: undefined reference to 'vlc_entry__android_audiotrack' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1b4): error: undefined reference to 'vlc_entry__afile' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1b8): error: undefined reference to 'vlc_entry__opensles_android' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1bc): error: undefined reference to 'vlc_entry__amem' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1c0): error: undefined reference to 'vlc_entry__android_surface' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1c4): error: undefined reference to 'vlc_entry__vmem' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1c8): error: undefined reference to 'vlc_entry__float_mixer' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1cc): error: undefined reference to 'vlc_entry__integer_mixer' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1d0): error: undefined reference to 'vlc_entry__xml' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1d4): error: undefined reference to 'vlc_entry__gnutls' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1d8): error: undefined reference to 'vlc_entry__access_rar' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1dc): error: undefined reference to 'vlc_entry__access_vdr' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1e0): error: undefined reference to 'vlc_entry__access_http' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1e4): error: undefined reference to 'vlc_entry__stream_filter_rar' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1e8): error: undefined reference to 'vlc_entry__zip' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1ec): error: undefined reference to 'vlc_entry__access_tcp' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1f0): error: undefined reference to 'vlc_entry__access_attachment' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1f4): error: undefined reference to 'vlc_entry__access_udp' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1f8): error: undefined reference to 'vlc_entry__filesystem' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x1fc): error: undefined reference to 'vlc_entry__access_avio' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x200): error: undefined reference to 'vlc_entry__shm' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x204): error: undefined reference to 'vlc_entry(short, double, *)' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x208): error: undefined reference to 'vlc_entry__access_mms' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x20c): error: undefined reference to 'vlc_entry__access_ftp' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x210): error: undefined reference to 'vlc_entry__rtp' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x214): error: undefined reference to 'vlc_entry__rv32' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x218): error: undefined reference to 'vlc_entry__grey_yuv' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x21c): error: undefined reference to 'vlc_entry__i420_rgb' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x220): error: undefined reference to 'vlc_entry__i420_yuy2' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x224): error: undefined reference to 'vlc_entry__i422_yuy2' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x228): error: undefined reference to 'vlc_entry__i422_i420' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x22c): error: undefined reference to 'vlc_entry__yuy2_i420' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x230): error: undefined reference to 'vlc_entry__yuy2_i422' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x234): error: undefined reference to 'vlc_entry__swscale' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x238): error: undefined reference to 'vlc_entry__colorthres' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x23c): error: undefined reference to 'vlc_entry__deinterlace' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x240): error: undefined reference to 'vlc_entry__rotate' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x244): error: undefined reference to 'vlc_entry__invert' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x248): error: undefined reference to 'vlc_entry__marq' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x24c): error: undefined reference to 'vlc_entry__canvas' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x250): error: undefined reference to 'vlc_entry__gaussianblur' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x254): error: undefined reference to 'vlc_entry__antiflicker' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x258): error: undefined reference to 'vlc_entry__postproc' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x25c): error: undefined reference to 'vlc_entry__anaglyph' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x260): error: undefined reference to 'vlc_entry__hqdn3d' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x264): error: undefined reference to 'vlc_entry__adjust' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x268): error: undefined reference to 'vlc_entry__croppadd' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x26c): error: undefined reference to 'vlc_entry__logo' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x270): error: undefined reference to 'vlc_entry__gradfun' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x274): error: undefined reference to 'vlc_entry__transform' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x278): error: undefined reference to 'vlc_entry__scale' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x27c): error: undefined reference to 'vlc_entry__chain' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x280): error: undefined reference to 'vlc_entry__sepia' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x284): error: undefined reference to 'vlc_entry__blend' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x288): error: undefined reference to 'vlc_entry__subsdelay' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x28c): error: undefined reference to 'vlc_entry__wave' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x290): error: undefined reference to 'vlc_entry__extract' C:/cygwin/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.exe: ./obj/local/armeabi/objs/vlcjni/libvlcjni.o: in function vlc_static_modules:libvlcjni.c(.data.rel+0x294): error: undefined reference to 'vlc_entry__yuvp' collect2: ld returned 1 exit status /android-ndk-r8e/build/core/build-binary.mk:450: recipe for target `obj/local/armeabi/libvlcjni.so' failed make: *** [obj/local/armeabi/libvlcjni.so] Error 1
Isn't there something should be modified and I haven't changed it ?

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Very simple example of a VLC Android application

Postby edwardw » 19 Apr 2013 05:48

Just import env.sh to get the proper environment variables and follow AndroidCompile.

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

Re: Very simple example of a VLC Android application

Postby evazquez » 25 Apr 2013 00:07

Hello, i follow all the instructions, but the error are there.

when i did the instructions in http://wiki.videolan.org/AndroidCompile i have this error

Code: Select all

Run "make" to start compilation. Other targets: * make install same as "make" * make prebuilt fetch and install prebuilt binaries * make list list packages * make fetch fetch required source tarballs * make fetch-all fetch all source tarballs * make distclean clean everything and undo bootstrap * make mostlyclean clean everything except source tarballs * make clean clean everything * make package prepare prebuilt packages curl -f -L -- "http://downloads.videolan.org/pub/videolan/testing/contrib/a52dec-0.7.4.tar.gz" > "../../contrib/tarballs/a52dec-0.7.4.tar.gz" % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) Failed to connect to 2a01:e0d:1:3:58bf:fa02::2: No route to host make: *** [../../contrib/tarballs/a52dec-0.7.4.tar.gz] Error 22 make: *** Deleting file `../../contrib/tarballs/a52dec-0.7.4.tar.gz'
what can i do? i try to work with Mac OS

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Very simple example of a VLC Android application

Postby edwardw » 25 Apr 2013 03:13

curl: (22) Failed to connect to 2a01:e0d:1:3:58bf:fa02::2: No route to host
This looks like a problem with your network connection.

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

Re: Very simple example of a VLC Android application

Postby evazquez » 26 Apr 2013 00:53

I verify and my connection is good, i make some change in ./bootstrap and the building continue, but in some place a have this error

Code: Select all

evazquez:android evazquez$ sh compile.sh For an ARMv6 device without FPU, you need a build without FPU: $ export NO_FPU=1 For an ARMv5 device or the Android emulator, you need an ARMv5 build: $ export NO_ARMV6=1 If you plan to use a release build, run 'compile.sh release' VLC source found Building tools compile.sh: line 156: /Users/emanem/Development/opencore/extern_tools_v2/bin/linux/make: cannot execute binary file
I try with many ways but i can`t compile the VLC lib.

What can i do??

thank you.

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: Very simple example of a VLC Android application

Postby edwardw » 26 Apr 2013 01:38

Use a recent version of Linux to do the compile instead, as it says in the wiki documentation.

matz
Blank Cone
Blank Cone
Posts: 11
Joined: 17 Apr 2013 01:48

Re: Very simple example of a VLC Android application

Postby matz » 26 Apr 2013 05:55

Is there anyway of streaming video from an android to PC? In other words like using an android like a WebCam wirelessly


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 45 guests