<div dir="ltr">I had a similar situation with you.<div style>At that time, I did 'make distclean' at the root of package directory.</div><div style>Then make it again, It worked.</div><div style><br></div><div style>
If another things are fine, I think that it has a worth to do.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/12 Jose Antonio Santos Cadenas <span dir="ltr"><<a href="mailto:santoscadenas@gmail.com" target="_blank">santoscadenas@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">It seems that there is something wrong on your plugin you have not define the function gst_my_filesink_get_type. Maybe you have changed your type name and forgot to change it somewhere.<div>
<br></div><div>You use the type as GST_TYPE_FILE_SINK but regarding the missing function your type name should be GST_TYPE_MY_FILESINK, check that the names are coherent along all the files. </div>

</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/12 jyoti kulkarni <span dir="ltr"><<a href="mailto:jyotimk029@gmail.com" target="_blank">jyotimk029@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><div><div><div><div>Hi jose,<br><br></div>I have tried with --gst-plugin-path, as below:<br>gst-launch-1.0 --gst-plugin-path=/home/jyoti/gst_plugin/gst-template-master/gst-plugin/src/.libs/ myown_plugin<br>



<br></div>but still i get below error:<br><br>(gst-plugin-scanner:27675): GStreamer-WARNING **: Failed to load plugin '/home/jyoti/gst_plugin/gst-template-master/gst-plugin/src/.libs/libgstplugin.so': /home/jyoti/gst_plugin/gst-template-master/gst-plugin/src/.libs/libgstplugin.so: undefined symbol: gst_my_filesink_get_type<br>



ERROR: pipeline could not be constructed: no element "myown_plugin".<br><br></div>Please help..<br><br></div>Regards<span><font color="#888888"><br></font></span></div><span><font color="#888888">Jyoti<br>

<div><div><div><div><br></div></div></div></div></font></span></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Sep 12, 2013 at 2:02 PM, Jose Antonio Santos Cadenas <span dir="ltr"><<a href="mailto:santoscadenas@gmail.com" target="_blank">santoscadenas@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Try using environment variable GST_PLUGIN_PATH or --gst-plugin-path command line paratemer to indicate gstreamer where should it look for plugins.</div><div class="gmail_extra"><br><br><div class="gmail_quote">





2013/9/12 jyoti kulkarni <span dir="ltr"><<a href="mailto:jyotimk029@gmail.com" target="_blank">jyotimk029@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div>

<div dir="ltr"><div><div><div><div><div><div>Hello All,<br><br></div>I have written a plugin (similar to filesink), using make element tool.<br></div>and it compiles fine(using ./autogen.sh), but when i launch it with gat-launch i get no such element error, here is how i register my plugin in .c file generated by make element tool.<br>






<br>static gboolean<br>myown_plugin_init (GstPlugin * myown_plugin)<br>{<br>  /* debug category for fltering log messages<br>   *<br>   * exchange the string 'Template myfilter' with your description<br>   */<br>





  _do_init<br>
<br>  return gst_element_register (myown_plugin, "myown_plugin", GST_RANK_NONE,<br>      GST_TYPE_FILE_SINK);<br>}<br><br>GST_PLUGIN_DEFINE (<br>    GST_VERSION_MAJOR,<br>    GST_VERSION_MINOR,<br>    myown_plugin,<br>






    "Template myown_plugin",<br>    myown_plugin_init,<br>    VERSION,<br>    "LGPL",<br>    "GStreamer",<br>    "<a href="http://gstreamer.net/" target="_blank">http://gstreamer.net/</a>"<br>





)<br>
<br></div>where _do_init is:<br><br>GST_DEBUG_CATEGORY_INIT (gst_myown_plugin_debug, "myown_plugin", 0, "myown_plugin element");<br><br></div>Please help me with the concern.<br><br></div>Thanks <br></div>





<span><font color="#888888">
Jyoti<br></font></span></div>
<br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
<br></blockquote></div><br></div>
</div></div><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>
<br></blockquote></div><br></div>