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 344016 - [patch] compiler error when building with --disable-trace
[patch] compiler error when building with --disable-trace
Status: RESOLVED DUPLICATE of bug 342564
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-06 14:24 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2006-07-03 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
make gsttrace.h conditional in Makefile.am (708 bytes, patch)
2006-06-06 14:25 UTC, Stefan Sauer (gstreamer, gtkdoc dev)
needs-work Details | Review

Description Stefan Sauer (gstreamer, gtkdoc dev) 2006-06-06 14:24:24 UTC
gsttrace.h needs to be used conditionaly in gst/Makefile.am
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2006-06-06 14:25:54 UTC
Created attachment 66828 [details] [review]
make gsttrace.h conditional in Makefile.am

fixes compilation when using --disable-trace
Comment 2 Tim-Philipp Müller 2006-06-10 08:51:54 UTC
Just in case anyone wonders, the compilation error is:

gstenumtypes.c: In function 'register_gst_alloc_trace_flags':
gstenumtypes.c:1168: error: 'GST_ALLOC_TRACE_LIVE' undeclared (first use in this function)
gstenumtypes.c:1168: error: (Each undeclared identifier is reported only once
gstenumtypes.c:1168: error: for each function it appears in.)
gstenumtypes.c:1169: error: 'GST_ALLOC_TRACE_MEM_LIVE' undeclared (first use in this function)
make[2]: *** [libgstreamer_0.10_la-gstenumtypes.lo] Error 1


The patch works alright, but you'll also have to add gsttrace.h to EXTRA_DIST if I'm not mistaken.

Comment 3 Wim Taymans 2006-07-03 14:18:25 UTC

*** This bug has been marked as a duplicate of 342564 ***