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 ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
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 Cheers -Tim ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |