[Mplayer-users] Error in building pre1 for 3DNOW! CPU

Steve Snyder swsnyder at home.com
Sat Sep 29 23:40:33 CEST 2001


I am unable to build MPlayer-0.50pre1 on/for an AMD K6-2 CPU.  Transcripts 
of the configuration and failed compilation are shown below.  

Note that I have sucessfully built and used this same code on a Pentium3 
machine, though in that case I was also building for the Matrox G400 
chipset.  Same software environment in both cases: RedHat Linux v7.1 + 
all RedHat-released updates + 2.4.10 kernel.

Anyone know how to get around this "Can't find a register" compiler error?

Thanks.

---------------------------

# ./configure --with-win32libdir=/usr/local/share/mplayer/w32codecs/ 
--disable-gcc-checking --enable-new-gui
You can get detailed help on configure with: ./configure --help
Please wait while ./configure discovers your software and hardware 
environment! Detected operating system: Linux
Detected host architecture: i386
YOU'VE SELECTED '--disable-gcc-checking'. PLEASE DON'T SEND US ANY 
BUGREPORTS!
Checking for language ... en
Using ... help_mp-en.h file
GL includes not found!
DivX4Linux includes (decore.h) not found!
Checking assembler (as) ... 2.10.91, ok
Checking mmx support in Kernel ... ok
Checking 3dnow support in Kernel ... ok
Checking Linux kernel version ... 2.4.10, ok
Install prefix: /usr/local
Data directory: /usr/local/share/mplayer
Checking for cpu vendor ... AuthenticAMD ( 5:8:12 )
Checking for cpu type ...  AMD-K6(tm) 3D processor
Optimizing to ... k6
Checking for mmx support ... yes
Checking for mmx2 support ... no
Checking for 3dnow support ... yes
Checking for 3dnowex support ... no
Checking for sse support ... no
Checking for mtrr support ... yes
Screen size ... 1x1
Checking for X11 libs ... -L/usr/X11R6/lib
Checking for X11 headers ...
Checking mga_vid device ... no
Checking for xmga ... no
Checking for SDL ... yes
Checking for AA ... no
Checking for GGI ... no
Checking for OpenGL ... no
Checking for Xv ... yes
Checking for X11 ... yes
Checking for DGA ... yes
Checking for DGA 2.0 .. yes
Checking for Xf86VM ... yes
Checking for SVGAlib ... no
Checking for FBDev ... yes
Checking for OSS Audio ... yes
Checking for ALSA Audio ... no
Checking for ESD Audio ... yes
Checking for Sun Audio ... no
Checking for Sun mediaLib ... no
Checking for DeCSS support ... no
Checking for DVDread support ... no
Checking for PNG support ... yes
Checking for OggVorbis support ... yes
Checking for Win32 DLL support ... yes
Checking for DirectShow ... yes
Checking if your compiler 'gcc' supports C++ ... yes
Checking for proper C++ runtime enviroment ... yes
Checking for libavcodec ... yes
Checking for divx4linux ... no
Checking for fastmemcpy ... yes
Extra libs : -L/usr/local/lib
Extra headers : -I/usr/local/include

Checking for gtk version ... 1.2.9
Checking for gtk includes ... done
Checking for gtk libs ... done

Checking for glib version ... 1.2.9
Checking for glib includes ... done
Checking for glib libs ... done
Creating config.h

Creating config.mak
Creating libvo/config.mak
Creating libao2/config.mak

Config files successfully generated by ./configure !
Please check config.h and config.mak files, tune CPU
and optimization flags if you don't like these defaults.
You can compile the program with 'make' and
install with  'make install'. Good luck!
Note: On non-Linux systems you might need to use gmake
instead of make.

Creating help_mp.h
Please check mtrr settings at /proc/mtrr (see DOCS/MTRR)

Ok, found Win32 codecs directory at /usr/local/share/mplayer/w32codecs/.

---------------------------------------

# make
.
.
.
gcc -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -Wall -g 
-DHAVE_AV_CONFIG_H -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function `put_pixels_x2_3dnow':
i386/dsputil_mmx_avg.h:51: Can't find a register in class `GENERAL_REGS' 
while reloading `asm'.
i386/dsputil_mmx.c: In function `avg_pixels_3dnow':
i386/dsputil_mmx_avg.h:135: Can't find a register in class `GENERAL_REGS' 
while reloading `asm'.
i386/dsputil_mmx.c: In function `put_pixels_x2_sse':
i386/dsputil_mmx_avg.h:51: Can't find a register in class `GENERAL_REGS' 
while reloading `asm'.
i386/dsputil_mmx.c: In function `avg_pixels_sse':
i386/dsputil_mmx_avg.h:135: Can't find a register in class `GENERAL_REGS' 
while reloading `asm'.
i386/dsputil_mmx.c: In function `put_pixels_mmx':
i386/dsputil_mmx.c:199: Can't find a register in class `GENERAL_REGS' while 
reloading `asm'.
make[1]: *** [i386/dsputil_mmx.o] Error 1
make[1]: Leaving directory `/home/steve/MPlayer-0.50pre1/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2


_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list