[vlc-devel] Videolan-client fails to build with older distributions (RH7.3, EL2.1)

Dag Wieers dag at wieers.com
Sun Nov 28 22:49:34 CET 2004


When building videolan-client on older distributions like Red Hat 7.3 and 
Enterprise Linux 2.1 I get the following error with ogg vorbis support:

if i386-redhat-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../..   -DSYS_LINUX 
-I../../include `top_buildd
ir="../.." ../../vlc-config --cflags plugin vorbis` -Wsign-compare -Wall 
-O2 -march=i386 -mcpu=i68
6 -pipe -MT libvorbis_plugin_a-vorbis.o -MD -MP -MF 
".deps/libvorbis_plugin_a-vorbis.Tpo" \
  -c -o libvorbis_plugin_a-vorbis.o `test -f 'vorbis.c' || echo 
'./'`vorbis.c; \
then mv -f ".deps/libvorbis_plugin_a-vorbis.Tpo" 
".deps/libvorbis_plugin_a-vorbis.Po"; \
else rm -f ".deps/libvorbis_plugin_a-vorbis.Tpo"; exit 1; \
vorbis.c: In function `OpenEncoder':
vorbis.c:704: warning: implicit declaration of function 
vorbis.c:717: storage size of `ai' isn't known
vorbis.c:718: `OV_ECTL_RATEMANAGE_GET' undeclared (first use in this 
vorbis.c:718: (Each undeclared identifier is reported only once
vorbis.c:718: for each function it appears in.)
vorbis.c:724: `OV_ECTL_RATEMANAGE_SET' undeclared (first use in this 
vorbis.c:717: warning: unused variable `ai'
vorbis.c:735: warning: implicit declaration of function 
vorbis.c:748: warning: implicit declaration of function 
vorbis.c: In function `Encode':
vorbis.c:819: warning: implicit declaration of function 
vorbis.c:821: warning: implicit declaration of function 
make[4]: *** [libvorbis_plugin_a-vorbis.o] Error 1

I now have disabled ogg vorbis support, but if this could be somehow fixed 
to work with the older vorbis or in case this is just too hard, make 
configure check. That would be appreciated.

The version of ogg vorbis in Red Hat 7.3 is:

	[root at rh7i /]# rpm -qa libogg* vorbis* libvorbis*

and for Enterprise Linux 2.1 is:

	[root at el2i /]# rpm -qa libogg* vorbis* libvorbis*

You can find the Buildlogs and packages for Red Hat 8.0, 9, 
Enterprise Linux 3, and Fedora Core 1, 2 and 3 at:


(If they're not available yet, it may take a few hours.)

And you can have a look at the SPEC file to see how we're building it for 
each of these distributions from a single SPEC file.

Thanks for an amazing Open Source product !

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[Any errors in spelling, tact or fact are transmission errors]

This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list