GNOME Bugzilla – Bug 675806
Compilation of gstreamer after configure --disable-trace fails...
Last modified: 2012-05-11 11:40:36 UTC
Created attachment 213804 [details] [review] git patch of proposed solution. When trying to compile the master branch of gstreamer after having configured it using --disable-trace I get this error message: CC libgstreamer_1.0_la-gstclock.lo gst.c: In function ‘init_post’: gst.c:638:3: error: implicit declaration of function ‘_priv_gst_alloc_trace_initialize’ [-Werror=implicit-function-declaration] gst.c:638:3: error: nested extern declaration of ‘_priv_gst_alloc_trace_initialize’ [-Werror=nested-externs] gst.c: In function ‘gst_deinit’: gst.c:1014:3: error: implicit declaration of function ‘_priv_gst_alloc_trace_deinit’ [-Werror=implicit-function-declaration] gst.c:1014:3: error: nested extern declaration of ‘_priv_gst_alloc_trace_deinit’ [-Werror=nested-externs] cc1: all warnings being treated as errors After applying the attached patch everything compiles. Now, I did not fix the difference between GST_DISABLE_TRACE and GST_DISABLE_ALLOC_TRACE as it is not strictly required to fix the problem at hand.
commit 1c82367a0ed35fbcd031e98095cfce3d421d735a Author: Sebastian Rasmussen <sebrn@axis.com> Date: Wed May 9 14:22:20 2012 +0200 gst: Only include init/deinit of alloc tracing when enabled Fixes https://bugzilla.gnome.org/show_bug.cgi?id=675806