GNOME Bugzilla – Bug 344016
[patch] compiler error when building with --disable-trace
Last modified: 2006-07-03 14:18:25 UTC
gsttrace.h needs to be used conditionaly in gst/Makefile.am
Created attachment 66828 [details] [review] make gsttrace.h conditional in Makefile.am fixes compilation when using --disable-trace
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.
*** This bug has been marked as a duplicate of 342564 ***