[MPlayer-users] Re: Compile error (can't find register in class)

Jon Drukman jsd at cluttered.com
Thu Jun 15 17:50:06 CEST 2006


Guillaume POIRIER wrote:
> Hi,
> 
> On 6/15/06, Jon Drukman <jsd at cluttered.com> wrote:
>> i tried building mplayer on a 32 bit pentium 4 system and a 64 bit
>> opteron system, both with red hat enterprise linux 4, and in both cases
>> i get the following error:
>>
>> i386/dsputil_mmx.c: In function `transpose4x4':
>> i386/dsputil_mmx.c:621: error: can't find a register in class
>> `GENERAL_REGS' while reloading `asm'
>> In file included from i386/dsputil_mmx.c:2622:
>> i386/h264dsp_mmx.c:49:1: warning: "SBUTTERFLY" redefined
>> i386/dsputil_mmx.c:1525:1: warning: this is the location of the previous
>> definition
>> i386/h264dsp_mmx.c:1262:1: warning: "PUT_OP" redefined
>> i386/dsputil_mmx.c:2377:1: warning: this is the location of the previous
>> definition
>> make[1]: *** [i386/dsputil_mmx.o] Error 1
>> make[1]: Leaving directory `/opt/build/mplayer/libavcodec'
>>
>> if i disable MMX it will compile, but it runs dog slow.  any idea how to
>> overcome this problem?
> 
> http://www.mplayerhq.hu/DOCS/HTML/en/bugreports_what.html

in another response, rathann said to make sure i was using 1.0pre8 or 
later.  this happens with the latest svn checkout.


Linux distribution: RHEL4

kernel version:
	Pentium box: Linux stage1.xxx.com 2.6.9-5.ELhugemem #1 SMP Wed Jan 5 
19:38:36 EST 2005 i686 i686 i386 GNU/Linux
	Opteron box: Linux dev1.xxx.com 2.6.9-5.0.3.ELsmp #1 SMP Mon Feb 14 
10:00:21 EST 2005 x86_64 x86_64 x86_64 GNU/Linux

libc version (same on both boxes):
-rwxr-xr-x  1 root root 1439335 Dec 20  2004 /lib/libc-2.3.4.so*
lrwxrwxrwx  1 root root      13 Jan  3 15:06 /lib/libc.so.6 -> 
libc-2.3.4.so*

gcc/ld versions:
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.3/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--disable-libunwind-exceptions --enable-languages=c,c++,objc,java,f77 
--enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.3 20041212 (Red Hat 3.4.3-9.EL4)

GNU ld version 2.15.92.0.2 20040927

binutils version: GNU assembler 2.15.92.0.2 20040927

config.h/config.mak: see http://ep.cluttered.com/mplayer/

thanks for your help.
-jsd-






More information about the MPlayer-users mailing list