GNOME Bugzilla – Bug 111698
Compilation of audioconvert fails
Last modified: 2009-08-15 18:40:50 UTC
Compilation fails for audioconvert: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../gst-libs -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/home/soto/dxr3/gstreamer/pkgconfig/.. -I/home/soto/dxr3/gstreamer/pkgconfig/../libs -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/libxml2/libxml -DGST_DISABLE_DEPRECATED -g -Wall -Werror -g -O2 -MT libgstaudioconvert_la-gstaudioconvert.lo -MD -MP -MF .deps/libgstaudioconvert_la-gstaudioconvert.Tpo -c gstaudioconvert.c -fPIC -DPIC -o .libs/libgstaudioconvert_la-gstaudioconvert.o cc1: warnings being treated as errors gstaudioconvert.c: In function `gst_audio_convert_get_buffer': gstaudioconvert.c:508: warning: implicit declaration of function `gst_buffer_is_writable' I'm using a current (updated half an hour ago) version of GStreamer HEAD. The function `gst_buffer_is_writable' is not defined anywhere in the GStreamer source. A forgotten commit?
http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/gst/gstbuffer.h?rev=1.57 Latest revision, does include the function on line 144. So I think your cvs checkout is borked. Try a fresh checkout. I'm closing this as INVALID.
My mistake, I accidentally left a sticky tag around. Audioconvert is now working perfectly for me. Thanks a lot for the good work, Benjamin!