[MPlayer-users] Error compiling from recent CVS with gcc 3.0.4

Carlos Laviola carlos at laviola.org
Tue Feb 26 02:56:02 CET 2002


First of all, let me say that mplayer is compiling with my default gcc,
which is 2.95.4 [1].  It isn't compiling with 3.0.4 [2], however; before
today, it used to compile just fine, and I haven't upgraded gcc lately.

Here's the error I get:

gcc-3.0 -c -O4 -march=athlon -mcpu=athlon -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'
make[1]: *** [ao_plugin.o] Error 1
make[1]: Leaving directory `/home/claviola/src/main/libao2'
make: *** [libao2/libao2.a] Error 2

1. Full gcc version info:

Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

2. Full gcc 3.0 version info:

Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0.4

Note: I use gcc 3.0 because it lets me pass cpu=athlon instead of
pentiumpro.

Thanks,
Carlos.

-- 
 _ _  _| _  _  | _   . _ | _   to hell with icq, use jabber!
(_(_|| |(_)_)  |(_|\/|(_)|(_|  THIS SPACE INTENTIONALLY LEFT BLANK?




More information about the MPlayer-users mailing list