[MPlayer-users] libao2 compile problem

Andras Salamon asalamon at elender.hu
Thu Feb 28 21:30:02 CET 2002


On Wed, 27 Feb 2002, Arpi wrote:

Hi,

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> 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.
>

Thanks it works for me (gcc 3.0.3). Will you put it into CVS?

Sala

>
> A'rpi / Astral & ESP-team
>
> --
> Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
>




More information about the MPlayer-users mailing list