<div dir="ltr"><div class="gmail_default"><div class="gmail_default" style="color:rgb(34,34,34);font-size:12.8px"><font color="#000000">Hello. <br>Im adding the Fluendo Timeshifter (<a href="https://github.com/kkonopko/gst-fluendo-timeshift" target="_blank">https://github.com/kkonopko/<wbr>gst-fluendo-timeshift</a>) to Android as a static plugin by <br><span style="font-family:menlo">gst_plugin_register_static (</span></font><span style="color:rgb(0,0,0);font-family:menlo"> GST_VERSION_MAJOR</span><span style="color:rgb(0,0,0);font-family:menlo">,</span></div><pre><font color="#222222" face="menlo" style="color:rgb(0,0,0)"><span style="font-size:12.8px;white-space:pre-wrap"> GST_VERSION_MINOR,<br> "</span></font><div class="gmail_default" style="color:rgb(68,68,68);font-family:menlo;font-size:small;white-space:pre-wrap;display:inline">TimeShifter-Plugin</div><font color="#222222" face="menlo" style="color:rgb(0,0,0)"><span style="font-size:12.8px;white-space:pre-wrap">",<br> "MPEG TS Time Shift element",<br> plugin_init,
....<br>);
Im pointing the src files in jni/xxxx.c in the Android.mk file
but I get the following error when </span></font><font face="menlo" style="color:rgb(0,0,0)"><span style="font-size:12.8px;white-space:pre-wrap">compiling:
</span></font><font color="#222222" face="menlo"><span style="font-size:12.8px;white-space:pre-wrap">src/main/jni/tsmemindex.c:110: error: undefined reference to 'g_atomic_pointer_get'
src/main/jni/tsindex.c:54: error: undefined reference to 'g_atomic_pointer_get'
src/main/jni/tscache.c:375: error: undefined reference to 'g_atomic_int_compare_and_exchange'
src/main/jni/tscache.c:378: error: undefined reference to 'g_atomic_int_inc'
src/main/jni/tscache.c:379: error: undefined reference to 'g_atomic_int_get'
src/main/jni/tscache.c:237: error: undefined reference to 'g_atomic_int_get'
src/main/jni/tscache.c:228: error: undefined reference to 'g_atomic_int_get'
src/main/jni/tscache.c:242: error: undefined reference to 'ts_flow'
src/main/jni/tscache.c:147: error: undefined reference to 'g_atomic_pointer_get'
src/main/jni/tscache.c:319: error: undefined reference to 'g_atomic_int_inc'
src/main/jni/tscache.c:352: error: undefined reference to 'g_atomic_int_dec_and_test'
src/main/jni/tscache.c:135: error: undefined reference to 'g_atomic_int_set'
src/main/jni/tscache.c:423: error: undefined reference to 'g_atomic_int_compare_and_exchange'
src/main/jni/tscache.c:426: error: undefined reference to 'g_atomic_int_inc'
src/main/jni/tscache.c:430: error: undefined reference to 'g_atomic_int_compare_and_exchange'
src/main/jni/tscache.c:433: error: undefined reference to 'g_atomic_int_add'
src/main/jni/tscache.c:159: error: undefined reference to 'g_atomic_pointer_get'
src/main/jni/tscache.c:360: error: undefined reference to 'g_atomic_int_compare_and_exchange'
src/main/jni/tscache.c:65: error: undefined reference to 'g_atomic_int_get'
src/main/jni/tscache.c:94: error: undefined reference to 'g_atomic_int_set'
src/main/jni/tscache.c:482: error: undefined reference to 'g_atomic_int_inc'
src/main/jni/tscache.c:97: error: undefined reference to 'g_atomic_int_set'
src/main/jni/tscache.c:392: error: undefined reference to 'g_atomic_int_add'
src/main/jni/tscache.c:590: error: undefined reference to 'ts_flow'
src/main/jni/gsttsshifterbin.c:219: error: undefined reference to 'ts_shifterbin'
src/main/jni/gsttsshifter.c:996: error: undefined reference to 'ts_shifter'
src/main/jni/gsttsshifter.c:683: error: undefined reference to 'ts_shifter'
src/main/jni/gsttsshifter.c:522: error: undefined reference to 'ts_shifter'
src/main/jni/gsttsshifter.c:522: error: undefined reference to 'ts_flow'
src/main/jni/gsttsshifter.c:760: error: undefined reference to 'ts_shifter'
src/main/jni/gsttsshifter.c:760: error: undefined reference to 'ts_flow'
</span><font color="#000000"><span style="font-size:12.8px;white-space:pre-wrap">
I did add #include <glib.h> to each file but sill not finding the references.
Any idea of what Im doing wrong?</span></font></font></pre></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><img src="http://nextia.ipage.com/David/firma.png"><br></div></div>
<br><div class="gmail_quote">2017-01-15 22:28 GMT+01:00 Victor David Flores Enriquez <span dir="ltr"><<a href="mailto:victordavidfe@gmail.com" target="_blank">victordavidfe@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default"><font color="#000000" style="background-color:rgb(255,255,255)">Hello. <br>Im adding the Fluendo Timeshifter (<a href="https://github.com/kkonopko/gst-fluendo-timeshift" target="_blank">https://github.com/kkonopko/<wbr>gst-fluendo-timeshift</a>) to Android as a static plugin by <br><span style="font-family:menlo">gst_plugin_register_static (</span></font><span style="color:rgb(0,0,0);font-family:menlo"> GST_VERSION_MAJOR</span><span style="color:rgb(0,0,0);font-family:menlo">,</span></div><pre style="font-family:menlo"><font color="#000000" style="background-color:rgb(255,255,255)"> GST_VERSION_MINOR,<br> "<div class="gmail_default" style="font-size:small;color:rgb(68,68,68);display:inline">TimeShifter-Plugin</div>",<br> "MPEG TS Time Shift element",<br> plugin_init,<br>);</font></pre><div><div class="m_5847726167335543543gmail_signature"><img src="http://nextia.ipage.com/David/firma.png"><br></div></div>
</div>
</blockquote></div><br></div>