undefined reference

Tim-Philipp Müller t.i.m at zen.co.uk
Fri Dec 28 14:13:13 PST 2012

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


> 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?

More information about the gstreamer-devel mailing list