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 497859 - --disable-gst-debug option fails compilation
--disable-gst-debug option fails compilation
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.15
Other All
: Normal minor
: 0.10.16
Assigned To: Stefan Sauer (gstreamer, gtkdoc dev)
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-11-18 11:26 UTC by Sameer Naik
Modified: 2007-11-18 19:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for gstdebugutils to fixate --gst-disable-debug (468 bytes, patch)
2007-11-18 11:53 UTC, Sameer Naik
reviewed Details | Review

Description Sameer Naik 2007-11-18 11:26:11 UTC
Please describe the problem:
configuring gstreamer0.10.15 (CORE) fails if --disable-gst-debug is passed to the configure script, with the the following undefined reference error


Steps to reproduce:
./configure --disable-gst-debug



Actual results:
../gst/.libs/libgstreamer-0.10.so: undefined reference to `_priv_gst_info_start_time'

Expected results:
though there are simple ways of getting rid of this error, i think  gstdebugtils should not be compiled when i --disable-gst-debug.

Does this happen every time?
only on passing --disable-gst-debug to configure script

Other information:
through my inspection i discovered that '_priv_gst_info_start_time' is mainly used in gstdebugutils.c and defined in gstinfo.c.
so, disabling gst-debug removes the definition of '_priv_gst_info_start_time' and hence the reference error.
Comment 1 Sameer Naik 2007-11-18 11:43:34 UTC
to narrow it down,
it seems like the GST_DISABLE_GST_DEBUG flag isn't reaching gstdebugutils.c.
hence the issue... trying to figure it out.
Comment 2 Sameer Naik 2007-11-18 11:53:38 UTC
Created attachment 99285 [details] [review]
patch for gstdebugutils to fixate --gst-disable-debug

none
Comment 3 Sameer Naik 2007-11-18 12:04:08 UTC
just a missing 
#include <gst/gstconfig.h>
Comment 4 Stefan Sauer (gstreamer, gtkdoc dev) 2007-11-18 19:31:31 UTC
2007-11-18  Stefan Kost  <ensonic@users.sf.net>

        * gst/gstbin.c:
        * gst/gstdebugutils.c:
          Fix build with --disable-gst-debug. Fixes #497859.
          Spotted by Sameer Naik.