[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


Hi,

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; \
fi
vorbis.c: In function `OpenEncoder':
vorbis.c:704: warning: implicit declaration of function 
`vorbis_encode_setup_vbr'
vorbis.c:717: storage size of `ai' isn't known
vorbis.c:718: `OV_ECTL_RATEMANAGE_GET' undeclared (first use in this 
function)
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 
function)
vorbis.c:717: warning: unused variable `ai'
vorbis.c:735: warning: implicit declaration of function 
`vorbis_encode_setup_managed'
vorbis.c:748: warning: implicit declaration of function 
`vorbis_encode_setup_init'
vorbis.c: In function `Encode':
vorbis.c:819: warning: implicit declaration of function 
`vorbis_bitrate_addblock'
vorbis.c:821: warning: implicit declaration of function 
`vorbis_bitrate_flushpacket'
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*
	libvorbis-1.0rc3-1
	libogg-devel-1.0rc3-1
	libogg-1.0rc3-1
	libvorbis-devel-1.0rc3-1

and for Enterprise Linux 2.1 is:

	[root at el2i /]# rpm -qa libogg* vorbis* libvorbis*
	libogg-1.0rc2-1
	libogg-devel-1.0rc2-1
	libvorbis-1.0rc2-2.1
	libvorbis-devel-1.0rc2-2.1
	vorbis-1.0rc2-1

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

	http://dag.wieers.com/packages/videolan-client/

(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