the problem of "undefined symbol: gst_base_src_get_type"

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

the problem of "undefined symbol: gst_base_src_get_type"

xl2012
I want to produce a plugin by gst-template.
Then I install it ,but,when I do gst-inspect mydemosrc,
it result that:
libgstmydemosrc: undefined symbol: gst_base_src_get_type.

second,I find configure.ac, shows:
PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED,
                  HAVE_GST_BASE=yes, HAVE_GST_BASE=no)

gstreamer-base-0.10 is including??

and the configure.log shows gstreamer-base-0.10 yes

why it results "undefined symbol: gst_base_src_get_type."??

someone can help me?
thank you
Reply | Threaded
Open this post in threaded view
|

Re: the problem of "undefined symbol: gst_base_src_get_type"

Tim-Philipp Müller-2
On Fri, 2012-11-23 at 00:40 -0800, xl2012 wrote:

Hi,

> I want to produce a plugin by gst-template.
> Then I install it ,but,when I do gst-inspect mydemosrc,
> it result that:
> libgstmydemosrc: undefined symbol: gst_base_src_get_type.
>
> second,I find configure.ac, shows:
> PKG_CHECK_MODULES(GST_BASE, gstreamer-base-$GST_MAJORMINOR >= $GST_REQUIRED,
>                   HAVE_GST_BASE=yes, HAVE_GST_BASE=no)
>
> gstreamer-base-0.10 is including??
>
> and the configure.log shows gstreamer-base-0.10 yes
>
> why it results "undefined symbol: gst_base_src_get_type."??

Does your gst-plugin/src/Makefile.am have $(GST_BASE_LIBS) in
libgstmydemosrc_la_LIBADD , e.g.:

libgstmydemosrc_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS)

?

What you can also do is to move the gstreamer-base-$GST_MAJORMINOR bit
into the

  PKG_CHECK_MODULES(GST, gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED, ...

check, just add it after the gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED
after a whitespace.

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: the problem of "undefined symbol: gst_base_src_get_type"

xl2012
HI Tim
thank you, it works...