GNOME Bugzilla – Bug 497859
--disable-gst-debug option fails compilation
Last modified: 2007-11-18 19:31:31 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.
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.
Created attachment 99285 [details] [review] patch for gstdebugutils to fixate --gst-disable-debug none
just a missing #include <gst/gstconfig.h>
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.