GNOME Bugzilla – Bug 106047
[0.6 Branch Candidate] undefined reference to `__gst_function_pointers'
Last modified: 2004-12-22 21:47:04 UTC
Hello, I'm trying to compile gstreamer 0.6.0 on Gnome 2.2.0 and receive the folllowing error during build time: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE - D_FILE_OFFSET_BITS=64 -I/usr/include/libxml2 -pthread - I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I../.. - DGST_DISABLE_DEPRECATED -I../../libs -I../../include -O3 -march=i686 -c -o autoplugtest-autoplugtest.o `test -f 'autoplugtest.c' || echo './'`autoplugtest.c /bin/sh ../../libtool --mode=link gcc -O3 -march=i686 -o autoplugtest autoplugtest-autoplugtest.o -lxml2 -lz -lm -pthread -Wl,--export- dynamic -lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -ldl -lglib-2.0 - lpopt ../../gst/libgstreamer-0.6.la gcc -O3 -march=i686 -o .libs/autoplugtest autoplugtest-autoplugtest.o - pthread -Wl,--export-dynamic ../../gst/.libs/libgstreamer- 0.6.so /usr/lib/libxml2.so -lz -lm /usr/lib/libgobject- 2.0.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libgmodule-2.0.so - ldl /usr/lib/libglib-2.0.so /usr/lib/libpopt.so ../../gst/.libs/libgstreamer-0.6.so: undefined reference to `__gst_function_pointers' collect2: ld returned 1 exit status make[4]: *** [autoplugtest] Error 1 make[4]: Leaving directory `/usr/src/openna/BUILD/gstreamer- 0.6.0/gst/autoplug' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/usr/src/openna/BUILD/gstreamer-0.6.0/gst' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/openna/BUILD/gstreamer-0.6.0/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/openna/BUILD/gstreamer-0.6.0' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.90364 (%build) Cheer,
Created attachment 14951 [details] [review] Patch to gstinfo.c (0.6.0)
There's a missing "#ifdef GST_DEBUG_ENABLED" in gstinfo.c; see attached patch for the fix.
Ok, I try to get this merged into head this week.
*** Bug 108221 has been marked as a duplicate of this bug. ***
Just commited a similar patch to CVS HEAD. Please retest.
nothing heard again, closing bug