GNOME Bugzilla – Bug 145118
Compile error (gcc 2.95, alsa)
Last modified: 2004-12-22 21:47:04 UTC
In the ALSA plugin I get the following error with gcc 2.95: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/opt/gnome2/include/gstreamer-0.8 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/usr/include/libxml2 -DGST_DISABLE_DEPRECATED -Wall -I/usr/include/alsa -O2 -march=i686 -c gstalsaplugin.c -fPIC -DPIC -o .libs/libgstalsa_la-gstalsaplugin.o In file included from /opt/gnome2/include/gstreamer-0.8/gst/gst.h:43, from gstalsa.h:31, from gstalsamixer.h:22, from gstalsasink.h:25, from gstalsaplugin.c:26: /opt/gnome2/include/gstreamer-0.8/gst/gstinfo.h:601: warning: ignoring pragma: gst_debug_log /opt/gnome2/include/gstreamer-0.8/gst/gstinfo.h:602: warning: ignoring pragma: gst_debug_log_valist /opt/gnome2/include/gstreamer-0.8/gst/gstinfo.h:603: warning: ignoring pragma: _gst_debug_category_new In file included from /opt/gnome2/include/gstreamer-0.8/gst/gst.h:56, from gstalsa.h:31, from gstalsamixer.h:22, from gstalsasink.h:25, from gstalsaplugin.c:26: /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:136: warning: ignoring pragma: gst_trace_new /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:137: warning: ignoring pragma: gst_trace_destroy /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:138: warning: ignoring pragma: gst_trace_flush /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:139: warning: ignoring pragma: gst_trace_text_flush /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:140: warning: ignoring pragma: gst_trace_get_size /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:141: warning: ignoring pragma: gst_trace_get_offset /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:142: warning: ignoring pragma: gst_trace_get_remaining /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:143: warning: ignoring pragma: gst_trace_set_default /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:144: warning: ignoring pragma: _gst_trace_add_entry /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:145: warning: ignoring pragma: gst_trace_read_tsc /opt/gnome2/include/gstreamer-0.8/gst/gsttrace.h:146: warning: ignoring pragma: gst_trace_add_entry gstalsaplugin.c: In function `gst_alsa_error_wrapper': gstalsaplugin.c:46: warning: implicit declaration of function `gst_debug_log' gstalsaplugin.c:46: `alsa_debug' undeclared (first use in this function) gstalsaplugin.c:46: (Each undeclared identifier is reported only once gstalsaplugin.c:46: for each function it appears in.) make[3]: *** [libgstalsa_la-gstalsaplugin.lo] Error 1 make[3]: Leaving directory `/usr/src/packages/BUILD/gst-plugins-0.8.2/ext/alsa'
Benjamin, could you comment on this? Particularly, on plugins using gst_debug_log() directly?
Fixed.