[gst-devel] unable to use audio_example.c

Fresh Tulip fresh_tulips2003 at yahoo.com
Sun Jun 15 09:59:36 CEST 2008


Hello,

I have Kubuntu 8.04 (KDE 4 Remix) installed. I downloaded latest gstreamer source from CVS and have built and installed using the following options:

configure --disable-static --disable-nls --disable-loadsave --enable-debug=yes --enable-gst-debug=yes --enable-binary-registry --enable-gtk-doc

I am able to write test application (in c) and play a wav file fine.

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'
audio_example.c:(.text+0x181): undefined reference to `gst_controller_new'
audio_example.c:(.text+0x1df): undefined reference to `gst_interpolation_control_source_new'
audio_example.c:(.text+0x1e7): undefined reference to `gst_interpolation_control_source_new'
audio_example.c:(.text+0x1ef): undefined reference to `gst_control_source_get_type'
audio_example.c:(.text+0x215): undefined reference to `gst_controller_set_control_source'
audio_example.c:(.text+0x21a): undefined reference to `gst_control_source_get_type'
audio_example.c:(.text+0x240): undefined reference to `gst_controller_set_control_source'
audio_example.c:(.text+0x253): undefined reference to `gst_interpolation_control_source_set_interpolation_mode'
audio_example.c:(.text+0x266): undefined reference to `gst_interpolation_control_source_set_interpolation_mode'
audio_example.c:(.text+0x2ac): undefined reference to `gst_interpolation_control_source_set'
audio_example.c:(.text+0x2df): undefined reference to `gst_interpolation_control_source_set'
audio_example.c:(.text+0x321): undefined reference to `gst_interpolation_control_source_set'
audio_example.c:(.text+0x358): undefined reference to `gst_interpolation_control_source_set'
audio_example.c:(.text+0x38f): undefined reference to `gst_interpolation_control_source_set'
collect2: ld returned 1 exit status



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080615/18da8cb6/attachment.htm>


More information about the gstreamer-devel mailing list