linker error 'gst_pad_new_from_template'

Sebastian Dröge sebastian at
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 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 That website is
unrelated to the GStreamer project and provides binaries for the old and
unsupported 0.10 version. is the
official website of the GStreamer project and you can find recent
Android binaries here:

Sebastian Dröge, Centricular Ltd -
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: <>

More information about the gstreamer-devel mailing list