linker error 'gst_pad_new_from_template'

Sebastian Dröge sebastian at centricular.com
Fri Jun 6 02:25:09 PDT 2014


On Do, 2014-06-05 at 14:40 -0700, rdg wrote:
> Hello,
> 
> I am trying to create a custom gstreamer plugin for Android. I have
> downloaded the API from gstreamer.com and have compiled the tutorials. 
> 
> I have been able to compile an initial example plugin but the code does not
> link. I am receiving the following error:
> 
> error: undefined reference to 'gst_pad_new_from_template'
> 
> Is the function gst_pad_new_from_template part of the gstreamer library? Or
> is it a function that I need to write myself?

It's a function that is provided by GStreamer. Can you provide your
example code and how exactly you build it?

Also don't use the binaries from gstreamer.com. That website is
unrelated to the GStreamer project and provides binaries for the old and
unsupported 0.10 version. http://gstreamer.freedesktop.org is the
official website of the GStreamer project and you can find recent
Android binaries here:
http://gstreamer.freedesktop.org/data/pkg/android/

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140606/7bc8ce53/attachment-0001.sig>


More information about the gstreamer-devel mailing list