gst_push_src_get_type undefined reference

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gst_push_src_get_type undefined reference

Vineeth-2
Hi,
  I was getting a undefined ref for gst_push_src_get_type(). This is the command used to build the plugin:
  gcc `pkg-config --cflags --libs gstreamer-0.10` *.c --shared -o ~/usr/lib/gstreamer-0.10/libgsttesthttpsrc.so

  The plug-in derives from GstPushSrc.
  Is there anything missing from the above build command?

Thanks.

------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst_push_src_get_type undefined reference

Tim-Philipp Müller-2
On Mon, 2010-04-26 at 22:17 +0530, vineeth wrote:

>   I was getting a undefined ref for gst_push_src_get_type(). This is
> the command used to build the plugin:
>   gcc `pkg-config --cflags --libs gstreamer-0.10` *.c --shared -o
> ~/usr/lib/gstreamer-0.10/libgsttesthttpsrc.so
>
>   The plug-in derives from GstPushSrc.
>   Is there anything missing from the above build command?

This is in libgstbase-0.10, so try adding gstreamer-base-0.10 as package
to your pkg-config line.

Cheers
 -Tim



------------------------------------------------------------------------------
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst_push_src_get_type undefined reference

Vineeth-2
In reply to this post by Vineeth-2
Found the solution, adding `pkg-config --cflags --libs gstreamer-base-0.10` to the build command fixes it;
GstPushSrc is a part of base plugins.


On Mon, Apr 26, 2010 at 10:17 PM, vineeth <[hidden email]> wrote:
Hi,
  I was getting a undefined ref for gst_push_src_get_type(). This is the command used to build the plugin:
  gcc `pkg-config --cflags --libs gstreamer-0.10` *.c --shared -o ~/usr/lib/gstreamer-0.10/libgsttesthttpsrc.so

  The plug-in derives from GstPushSrc.
  Is there anything missing from the above build command?

Thanks.


------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel