[MPlayer-users] gcc 4.0 error in latest cvs

Rich Felker dalias at aerifal.cx
Sat May 14 22:21:19 CEST 2005


On Sat, May 14, 2005 at 10:14:35PM +0200, Sipos Ferenc wrote:
> Hi!
> 
> Compiling the latest cvs with gcc 4.0 (configure script autodetects it,
> and allows that) produces the following error:

This is a mistake. gcc4 does not compile MPlayer on x86, only other
archs. Support for it was added to configure because it's needed for
ppc or something.. :(

> make -C libmpdemux
> make[1]: Entering directory `/home/sferi/main/libmpdemux'
> gcc-4.0 -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4
> -march=athlon-xp -mtune=athlon-xp -pipe -ffast-math -fomit-frame-pointer
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I..
> -I../loader   -I../libavcodec -I../libavformat    -o frequencies.o
> frequencies.c
> In file included from frequencies.c:4:
> frequencies.h:107: error: array type has incomplete element type
> make[1]: *** [frequencies.o] Error 1
> make[1]: Leaving directory `/home/sferi/main/libmpdemux'
> make: *** [libmpdemux/libmpdemux.a] Error 2
> 
> System is a debian unstable with some experimental packages (gcc 4.0
> namely).

Should be possible to fix this, but I expect you'll have a lot more
problems later on in the compile..unless you disable asm and make it
really slow. :)

Rich




More information about the MPlayer-users mailing list