AW: undefined reference

Bernhard Graaf bernhard.graaf at
Sat Dec 29 02:49:57 PST 2012

Thanks Tim,

work fine. Using gst_caps_to_string () instead of gst_caps_get_mime () to get the capabilities works.

Have a great 2013!

-----Ursprüngliche Nachricht-----
Von: at [ at] Im Auftrag von Tim-Philipp Müller
Gesendet: Freitag, 28. Dezember 2012 23:13
An: gstreamer-devel at
Betreff: Re: undefined reference

On Fri, 2012-12-28 at 19:46 +0100, Bernhard Graaf wrote:


> I think a small problem with gstreamer 1.0:
> I’ve tried to read the capabilities of dynamic pads using the 
> following functions:
> -          gst_pad_get_caps()

Use gst_pad_query_caps (pad, NULL);

> -          gst_caps_get_name()

This still exists and should not cause any problems.

> -          gst_caps_get_mime()

This has not existed in GStreamer for a very long time (not in 0.10 anyway).


> But my compiler tells me ‘undefined reference to ..’ all of this three 
> functions.
> All other function are located without any problems (bigger app). The 
> <gst/gst.h> is included and the compiler and linker setting are made.
> Something different in 1.0? Some other headerfiles be needed?

gstreamer-devel mailing list
gstreamer-devel at

More information about the gstreamer-devel mailing list