[MPlayer-users] Mplayer 1.0 RC1

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Tue Oct 24 19:14:20 CEST 2006


On Tuesday, 24 October 2006 at 17:56, Havoc wrote:
> I cant compile Mplayer 1.0 RC1 
> 
> Error messages:
> /usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/freetype2 -I/usr/X11R6/include    -c -o gifdec.o
> gifdec.c cc -Wdeclaration-after-statement -fno-PIC -O3 -mtune=athlon64
> -march=athlon64 -msse -msse2 -m3dnow -mmmx -mfpmath=sse -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11/include
> -I/usr/include/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/freetype2 -I/usr/X11R6/include   -I.  -I./libavutil
> -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil
> -Wdeclaration-after-statement -fno-PIC -O3 -mtune=athlon64
> -march=athlon64 -msse -msse2 -m3dnow -mmmx -mfpmath=sse -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11/include
> -I/usr/include/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/freetype2 -I/usr/X11R6/include    -c -o h261.o h261.c cc
> -Wdeclaration-after-statement -fno-PIC -O3 -mtune=athlon64
> -march=athlon64 -msse -msse2 -m3dnow -mmmx -mfpmath=sse -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11/include
> -I/usr/include/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/freetype2 -I/usr/X11R6/include   -I.  -I./libavutil
> -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil
> -Wdeclaration-after-statement -fno-PIC -O3 -mtune=athlon64
> -march=athlon64 -msse -msse2 -m3dnow -mmmx -mfpmath=sse -D_REENTRANT
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/X11/include
> -I/usr/include/ -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT
> -I/usr/include/freetype2 -I/usr/X11R6/include    -c -o h264.o h264.c
> h264.c: In function `decode_cabac_residual': h264.c:6143: warning:
> passing arg 4 of `decode_significance_8x8_x86' discards qualifiers from
> pointer target type cabac.h: In function `get_cabac_noinline':
> cabac.h:513: error: can't find a register in class `GENERAL_REGS' while
> reloading `asm' make[1]: *** [h264.o] Błąd 1 make[1]: Opuszczenie
> katalogu `/root/progs/MPlayer-1.0rc1/libavcodec' make: ***
> [libavcodec/libavcodec.a] Błąd 2
> 
> My system:
> Stock Slackware 11.0 / kernel 2.6.18.1-grsec
> Compile options:
> --prefix=/usr --enable-gui --enable-largefiles
> --enable-lirc --enable-lircc --language=pl --enable-mmx
> --enable-mmxext --enable-sse --enable-sse2 --enable-3dnow
> --enable-3dnowext --with-codecsdir=/usr/lib/codecs 

No need to specify --enable for mmx/sse/3dnow. They're autodetected.

> CFLAGS="-O3 -mtune=athlon64 -march=athlon64 -mmmx -msse -msse2 -mfpmath=sse"

Add -fomit-frame-pointer. Why not let MPlayer select its own CFLAGS?

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list