[gst-devel] unable to use audio_example.c

Tim Müller t.i.m at zen.co.uk
Tue Jun 17 18:48:10 CEST 2008

On Sun, 2008-06-15 at 00:59 -0700, Fresh Tulip wrote:

> But when I try to compile audio_example.c, I am running into following
> linker issue.. any ideas why?
> gcc -Wall $(pkg-config --cflags --libs gstreamer-0.10) audio_example.c
> -o audio_example
> /tmp/ccE2lsav.o: In function `main':
> audio_example.c:(.text+0x58): undefined reference to
> `gst_controller_init'
> (snip)

GstController is in a separate helper library, try with

 pkg-config --cflags --libs gstreamer-0.10 gstreamer-controller-0.10


More information about the gstreamer-devel mailing list