[MPlayer-users] Problems compiling Multiple versions on my duron system.

Dominik Mierzejewski dominik at rangers.eu.org
Tue Dec 10 02:19:12 CET 2002


On Monday, 09 December 2002, Rando Christensen wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I'm receiving the following errors trying to compile mplayer:
> 
> make -C liba52
> make[1]: Entering directory `/home/eyez/src/MPlayer-0.90rc1/liba52'
> gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o crc.o crc.c
> gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o resample.o resample.c
> gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o bit_allocate.o bit_allocate.c
> gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o bitstream.o bitstream.c
> gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o downmix.o downmix.c
> gcc -c  -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o imdct.o imdct.c

Huh? Where are the OPTFLAGS? Like -O4 -march=athlon -mcpu=athlon?
Something is broken in your build process. In my case (I'm setting my own
CFLAGS), the output looks like this (-Wxxx options removed for readability):
/usr/bin/make -C liba52
make[1]: Entering directory `/usr/local/share/builder/pkg/BUILD/MPlayer-0.90rc1/liba52'
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -frename-registers -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o crc.o crc.c
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -frename-registers -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o resample.o resample.c
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -frename-registers -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o bit_allocate.o bit_allocate.c
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -frename-registers -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o bitstream.o bitstream.c
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -frename-registers -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o downmix.o downmix.c
gcc3 -c -O2 -march=athlon -fomit-frame-pointer -ffast-math -finline-functions -frename-registers -pipe -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -o imdct.o imdct.c
[...]

My CPU is Duron 700 and I'm configuring mplayer with
--enable-runtime-cpudetection.

HTH
 
-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"




More information about the MPlayer-users mailing list