[MPlayer-users] Pb compiling MPLayer

Christian Roche christian_roche at noos.fr
Tue Oct 19 20:40:10 CEST 2004


Hi there,

I encounter a bug when compiling the latest CVS MPlayer snapshot (with CVS for 
libavcodec and libavformat included) :

cd main
cvs update -r HEAD
./configure --enable-gui --disable-tv --disable-inet6 --disable-esd --cc=gcc
make
...
> ao_pcm.c:55: error: initializer element is not constant
> ao_pcm.c:55: error: (near initialization for `wavhdr.riff')
> ao_pcm.c:58: error: initializer element is not constant
> ao_pcm.c:58: error: (near initialization for `wavhdr.wave')
> ao_pcm.c:59: error: initializer element is not constant
etc, etc...

My config:
gcc 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
processor AMD Duron 1.3GHz
memory 512 MB
linux kernel 2.6.8.1
kde 3.3.0-2.2.2.kde
X server xorg-x11-6.7.0-2.i386.rpm

I tried different versions of ao_pcm.c and bswap.h to no avail, also tried to 
manually set -DHAVE_BYTESWAP_H since my system seems to have a local 
byteswap.h; I only get different error messages.

Does anyone have a clue here ?

Thanks in advance!
Christian




More information about the MPlayer-users mailing list