[gst-devel] compiling example

me at mike-gareiss.de me at mike-gareiss.de
Thu Jul 20 12:33:22 CEST 2006


Hi,

if i compile some example from the manual i get follow output

gcc -I/usr/include/gstreamer-0.8 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -I/usr/include/gnome-xml -o beispiel_5_4_1 
beispiel_5_4_1.c

/tmp/ccGshBpo.o(.text+0x20): In function `main':
: undefined reference to `gst_init'
/tmp/ccGshBpo.o(.text+0x2c): In function `main':
: undefined reference to `gst_element_factory_find'
/tmp/ccGshBpo.o(.text+0x41): In function `main':
: undefined reference to `g_print'
/tmp/ccGshBpo.o(.text+0x55): In function `main':
: undefined reference to `gst_element_factory_get_description'
/tmp/ccGshBpo.o(.text+0x62): In function `main':
: undefined reference to `gst_element_factory_get_klass'
/tmp/ccGshBpo.o(.text+0x69): In function `main':
: undefined reference to `gst_plugin_feature_get_type'
/tmp/ccGshBpo.o(.text+0x78): In function `main':
: undefined reference to `g_type_check_instance_cast'
/tmp/ccGshBpo.o(.text+0x80): In function `main':
: undefined reference to `gst_plugin_feature_get_name'
/tmp/ccGshBpo.o(.text+0x98): In function `main':
: undefined reference to `g_print'
collect2: ld returned 1 exit status

Whats wrong?

CU Mike




More information about the gstreamer-devel mailing list