After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 102333 - Need to check for libvorbis 1.0 in vorbis.m4
Need to check for libvorbis 1.0 in vorbis.m4
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
git master
Other Linux
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-02 05:02 UTC by Richard Kinder
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Richard Kinder 2003-01-02 05:02:00 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?
Comment 1 Thomas Vander Stichele 2003-01-17 15:15:42 UTC
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