GNOME Bugzilla – Bug 165272
[PATCH] Problem compiling gstreamer 0.8.8
Last modified: 2005-01-28 00:48:54 UTC
# make make all-recursive make[1]: Entering directory `/tmp/gstreamer-0.8.8' Making all in include make[2]: Entering directory `/tmp/gstreamer-0.8.8/include' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/tmp/gstreamer-0.8.8/include' Making all in gst make[2]: Entering directory `/tmp/gstreamer-0.8.8/gst' make all-recursive make[3]: Entering directory `/tmp/gstreamer-0.8.8/gst' Making all in parse make[4]: Entering directory `/tmp/gstreamer-0.8.8/gst/parse' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/tmp/gstreamer-0.8.8/gst/parse' Making all in registries make[4]: Entering directory `/tmp/gstreamer-0.8.8/gst/registries' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/tmp/gstreamer-0.8.8/gst/registries' Making all in . make[4]: Entering directory `/tmp/gstreamer-0.8.8/gst' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/tmp/gstreamer-0.8.8/gst' Making all in autoplug make[4]: Entering directory `/tmp/gstreamer-0.8.8/gst/autoplug' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/tmp/gstreamer-0.8.8/gst/autoplug' Making all in elements make[4]: Entering directory `/tmp/gstreamer-0.8.8/gst/elements' make[4]: Nothing to be done for `all'. make[4]: Leaving directory `/tmp/gstreamer-0.8.8/gst/elements' Making all in schedulers make[4]: Entering directory `/tmp/gstreamer-0.8.8/gst/schedulers' if /bin/sh ../../libtool --mode=compile --tag=CC gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-common -Wall -DGST_DISABLE_DEPRECATED -I../../libs -I../.. -D_COTHREADS_GTHREAD -s -O3 -march=i686 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libgnome-2.0 -MT libgstfairgthreadscheduler_la-faircothreads.lo -MD -MP -MF ".deps/libgstfairgthreadscheduler_la-faircothreads.Tpo" -c -o libgstfairgthreadscheduler_la-faircothreads.lo `test -f 'faircothreads.c' || echo './'`faircothreads.c; \ then mv -f ".deps/libgstfairgthreadscheduler_la-faircothreads.Tpo" ".deps/libgstfairgthreadscheduler_la-faircothreads.Plo"; else rm -f ".deps/libgstfairgthreadscheduler_la-faircothreads.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/libxml2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-common -Wall -DGST_DISABLE_DEPRECATED -I../../libs -I../.. -D_COTHREADS_GTHREAD -s -O3 -march=i686 -I/usr/local/include/libgnome-2.0 -I/usr/local/include/libgnome-2.0 -MT libgstfairgthreadscheduler_la-faircothreads.lo -MD -MP -MF .deps/libgstfairgthreadscheduler_la-faircothreads.Tpo -c faircothreads.c -fPIC -DPIC -o .libs/libgstfairgthreadscheduler_la-faircothreads.o faircothreads.c: In function `gst_fair_scheduler_cothread_queue_show': faircothreads.c:359: error: structure has no member named `readable_name' faircothreads.c:359: error: structure has no member named `pid' faircothreads.c: At top level: faircothreads.c:83: warning: 'gst_fairscheduler_ct_state_names' defined but not used make[4]: *** [libgstfairgthreadscheduler_la-faircothreads.lo] Error 1 make[4]: Leaving directory `/tmp/gstreamer-0.8.8/gst/schedulers' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/tmp/gstreamer-0.8.8/gst' make[2]: *** [all] Error 2 make[2]: Leaving directory `/tmp/gstreamer-0.8.8/gst' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/gstreamer-0.8.8' make: *** [all] Error 2
Created attachment 36546 [details] [review] Add a #ifndef This patch add a condition to test if the GST_DISABLE_GST_DEBUG is enabled or not.
After applying this patch it compiles fine.
So, I will send an email to the maintainer of Gstreamer, to close this bug. Can you confirm my solution for this bug ? Thanks Stephane
The GStreamer developers/maintainers follow the lists, don't worry. I'll apply later this week.
After you applied the patch, can you send me an email to close this bug ? Thanks Ronald,
It's even better, I can close them myself being a bug dude too. Fix applied to CVS, so closing. Thanks for the patch. :).
Thanks ;-) Best Regards, Stephane
Stephane, please don't mark bugs as 'CLOSED'. We scan bugs for resolution 'FIXED' and status 'RESOLVED' (plus a particular milestone) to set up release notes. Like this, your name will not show up in the release notes, even though you contributed a patch. :).