After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 165272 - [PATCH] Problem compiling gstreamer 0.8.8
[PATCH] Problem compiling gstreamer 0.8.8
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.8.8
Other Linux
: Normal normal
: 0.8.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-26 07:10 UTC by Pierre
Modified: 2005-01-28 00:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add a #ifndef (390 bytes, patch)
2005-01-26 11:00 UTC, Stephane Wirtel
none Details | Review

Description Pierre 2005-01-26 07:10:28 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
Comment 1 Stephane Wirtel 2005-01-26 11:00:12 UTC
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.
Comment 2 Pierre 2005-01-26 21:11:01 UTC
After applying this patch it compiles fine.
Comment 3 Stephane Wirtel 2005-01-26 22:11:29 UTC
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
Comment 4 Ronald Bultje 2005-01-26 22:49:18 UTC
The GStreamer developers/maintainers follow the lists, don't worry. I'll apply
later this week.
Comment 5 Stephane Wirtel 2005-01-27 09:34:04 UTC
After you applied the patch, can you send me an email to close this bug ?

Thanks Ronald, 
Comment 6 Ronald Bultje 2005-01-27 10:00:28 UTC
It's even better, I can close them myself being a bug dude too.

Fix applied to CVS, so closing. Thanks for the patch. :).
Comment 7 Stephane Wirtel 2005-01-27 10:41:27 UTC
Thanks ;-)

Best Regards, 

Stephane
Comment 8 Ronald Bultje 2005-01-28 00:48:39 UTC
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. :).