GNOME Bugzilla – Bug 102333
Need to check for libvorbis 1.0 in vorbis.m4
Last modified: 2004-12-22 21:47:04 UTC
Previously attempting a build with libvorbis-*-1.0rc3-ximian.5 caused: make[3]: Entering directory `/gnome/head/cvs/gst-plugins/ext/vorbis' if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/gnome/head/INSTALL/include/gstreamer-0.5 -I/gnome/head/INSTALL/include/glib-2.0 -I/gnome/head/INSTALL/lib/glib-2.0/include -I/gnome/head/INSTALL/include/libxml2 -g -I../../gst-libs -Wall -Werror -I/gnome/head/INSTALL/include -g -O2 -MT libgstvorbis_la-vorbis.lo -MD -MP -MF ".deps/libgstvorbis_la-vorbis.Tpo" \ -c -o libgstvorbis_la-vorbis.lo `test -f 'vorbis.c' || echo './'`vorbis.c; \ then mv ".deps/libgstvorbis_la-vorbis.Tpo" ".deps/libgstvorbis_la-vorbis.Plo"; \ else rm -f ".deps/libgstvorbis_la-vorbis.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/gnome/head/INSTALL/include/gstreamer-0.5 -I/gnome/head/INSTALL/include/glib-2.0 -I/gnome/head/INSTALL/lib/glib-2.0/include -I/gnome/head/INSTALL/include/libxml2 -g -I../../gst-libs -Wall -Werror -I/gnome/head/INSTALL/include -g -O2 -MT libgstvorbis_la-vorbis.lo -MD -MP -MF .deps/libgstvorbis_la-vorbis.Tpo -c vorbis.c -fPIC -DPIC -o libgstvorbis_la-vorbis.lo if /bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/gnome/head/INSTALL/include/gstreamer-0.5 -I/gnome/head/INSTALL/include/glib-2.0 -I/gnome/head/INSTALL/lib/glib-2.0/include -I/gnome/head/INSTALL/include/libxml2 -g -I../../gst-libs -Wall -Werror -I/gnome/head/INSTALL/include -g -O2 -MT libgstvorbis_la-vorbisenc.lo -MD -MP -MF ".deps/libgstvorbis_la-vorbisenc.Tpo" \ -c -o libgstvorbis_la-vorbisenc.lo `test -f 'vorbisenc.c' || echo './'`vorbisenc.c; \ then mv ".deps/libgstvorbis_la-vorbisenc.Tpo" ".deps/libgstvorbis_la-vorbisenc.Plo"; \ else rm -f ".deps/libgstvorbis_la-vorbisenc.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pthread -I/gnome/head/INSTALL/include/gstreamer-0.5 -I/gnome/head/INSTALL/include/glib-2.0 -I/gnome/head/INSTALL/lib/glib-2.0/include -I/gnome/head/INSTALL/include/libxml2 -g -I../../gst-libs -Wall -Werror -I/gnome/head/INSTALL/include -g -O2 -MT libgstvorbis_la-vorbisenc.lo -MD -MP -MF .deps/libgstvorbis_la-vorbisenc.Tpo -c vorbisenc.c -fPIC -DPIC -o libgstvorbis_la-vorbisenc.lo vorbisenc.c: In function `gst_vorbisenc_setup': vorbisenc.c:577: storage size of `ai' isn't known vorbisenc.c:578: `OV_ECTL_RATEMANAGE_GET' undeclared (first use in this function) vorbisenc.c:578: (Each undeclared identifier is reported only once vorbisenc.c:578: for each function it appears in.) vorbisenc.c:585: `OV_ECTL_RATEMANAGE_SET' undeclared (first use in this function) cc1: warnings being treated as errors vorbisenc.c:577: warning: unused variable `ai' vorbisenc.c:603: `OV_ECTL_RATEMANAGE_AVG' undeclared (first use in this function) make[3]: *** [libgstvorbis_la-vorbisenc.lo] Error 1 make[3]: Leaving directory `/gnome/head/cvs/gst-plugins/ext/vorbis' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/gnome/head/cvs/gst-plugins/ext' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/gnome/head/cvs/gst-plugins' make: *** [all] Error 2 Upgraded to libvorbis 1.0 and the problem went away. Maybe change vorbis.m4 to use the struct ovectl_ratemanage_arg?
Hi, added a check for it in cvs, which works for me. Can you verify and reopen this bug in case it might not work for you ? Thanks, Thomas