<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/16 yoyosuper8 <span dir="ltr"><<a href="mailto:yoyosuper8@yahoo.com" target="_blank">yoyosuper8@yahoo.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
So I think I'm making some success, but still have one more obstacle to<br>
cross. I keep getting the following error message when I try to register the elements in your plugin with <br>
plugin:<br>
<br>
C:/Users/Andy/Desktop/work/Android_SDK_NDK/android-ndk-r9/toolchains/arm-linux-androideabi-4.6/prebuilt/windows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld.gold.exe:<br>
gst-build/gstreamer_android.o: in function<br>
gst_android_register_static_plugins:gstreamer_android.c(.text.gst_android_register_static_plugins+0x10c):<br>
error: undefined reference to 'gst_plugin_testplugin_register'<br>
collect2: ld returned 1 exit status<br>
make: *** [buildsharedlibrary] Error 1<br>
<br>
Any ideas what this means? I don't understand why it says about "undefined<br>
reference to 'gst_plugin_testplugin_register'"<br></blockquote><div><br></div><div>This function is only exported when you are creating a static library for your plugin and compiling with -DGST_PLUGIN_BUILD_STATIC, adding an entry point to register if.<br>
If you embed the source code in your application, you only have to call directly testplugin_init, which will register the elements in your plugin with gst_element_register.<br><br>Andoni<br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thank you in advaned<br>
Andy<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/adding-custom-plugin-for-gstreamer-pipeline-for-android-tp4661958p4662027.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/adding-custom-plugin-for-gstreamer-pipeline-for-android-tp4661958p4662027.html</a><br>
<div class=""><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Andoni Morales Alastruey<br><br>LongoMatch:The Digital Coach<br><a href="http://www.longomatch.ylatuya.es">http://www.longomatch.ylatuya.es</a>
</div></div>