[MPlayer-users] libao2 compile problem

Arpi arpi at thot.banki.hu
Wed Feb 27 20:12:01 CET 2002


Hi,

> After the latest change on libao2, I'm unable to compile the CVS version.
> I have gcc 3.0.3, and I was using ./configure; make
it worx with gcc 2.9x

> make -C libao2
> make[1]: Entering directory `/usr/local/src/MPlayer-CVS2/main/libao2'
> gcc -c -O4 -march=i686 -mcpu=i686 -pipe -ffast-math -fomit-frame-pointer
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE64_SOURCE -I. -I.. -I/usr/include/SDL -D_REENTRANT   -o
> ao_plugin.o ao_plugin.c
> ao_plugin.c:39: conflicting types for `ao_plugin_data'
> audio_plugin.h:29: previous declaration of `ao_plugin_data'

hmm
try to change ao_plugin.c line 39 to:
volatile ao_plugin_data_t ao_plugin_data;    // Data used by the plugins

(so, add 'volatile' at the beginning of the line)

and tell me if it solved the problem.


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list