[MPlayer-users] libao2 compile problem

Sipos Ferenc sferi at dumballah.tvnet.hu
Wed Feb 27 21:59:02 CET 2002


Hi!

Small patch works for me, using gcc pre3.1. Apply into cvs. Thx.

Paco

2002-02-27, SZE keltezéssel Arpi ezt írta:
> [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.
> 
> 
> 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