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 679535 - Compilation with debug disabled fails...
Compilation with debug disabled fails...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.11.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-07 00:03 UTC by Sebastian Rasmussen
Modified: 2012-07-07 12:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing compilation error. (735 bytes, patch)
2012-07-07 00:04 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2012-07-07 00:03:25 UTC
If I configure using --disable-gst-debug and try to compile I get this compilation error:

gstinfo.c:1822:1: error: conflicting types for ‘gst_debug_add_log_function’
In file included from gst_private.h:46:0,
                 from gstinfo.c:90:
gstinfo.h:332:6: note: previous declaration of ‘gst_debug_add_log_function’ was here
make[3]: *** [libgstreamer_1.0_la-gstinfo.lo] Error 1

The reason being that this commit fails to take disabled debug into account:
http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=7da1d23a9b25213e70cc28ea080e8cce16f9ede8

The attached trivial patch fixes this problem.
Comment 1 Sebastian Rasmussen 2012-07-07 00:04:37 UTC
Created attachment 218206 [details] [review]
Patch fixing compilation error.
Comment 2 Tim-Philipp Müller 2012-07-07 12:40:24 UTC
Thanks!

commit 73ab9d17e376ef276e286883631051e33dd3458b
Author: Sebastian Rasmussen <sebrn@axis.com>
Date:   Sat Jul 7 01:37:50 2012 +0200

    gstinfo: Add destroy notify arguments to debug stubs
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679535