Re: [MPlayer-users] libao2 compile problem
-----Original Message----- From: Arpi <arpi@thot.banki.hu> Date: Wed, 27 Feb 2002 20:09:04 +0100 To: mplayer-users@mplayer.dev.hu Subject: Re: [MPlayer-users] libao2 compile problem
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
The suggested patch solves the problem under redhat gcc pre-3.1. -- Get your free email from www.linuxmail.org Powered by Outblaze
participants (2)
-
Stan Jefferson -
Steve Stavropoulos