[MPlayer-users] Compile error on version past 1.0pre3

Kevin kevin at bluelavalamp.net
Wed Jan 26 00:03:05 CET 2005


	I've been getting a compile error on recent versions of mplayer that
I'm not sure what's causing it.  I'm running a Slackware 10.0 system
upgraded to the -current version of all the packages.  The last
version of mplayer that I can compile is MPlayer-1.0pre3:

  mplayer --version
MPlayer 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Northwood 3221 MHz (Family: 8,
Stepping: 9) Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2



with MPlayer-1.0pre4 I get this error:

make[1]: Entering directory `/usr/src/MPlayer-1.0pre4/libavcodec'
cc -I../libvo/ -I../../libvo   -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64  -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o libpostproc/postprocess.o
libpostproc/postprocess.c  libpostproc/postprocess_template.c: In
function `dering_MMX2': libpostproc/postprocess_template.c:1156:
error: can't find a register in class `GENERAL_REGS' while reloading
`asm' make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory `/usr/src/MPlayer-1.0pre4/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2



with MPlayer-1.0pre5 I get this error:

In file included from libpostproc/postprocess.c:659:
libpostproc/postprocess_template.c: In function `postProcess_MMX2':
libpostproc/postprocess_template.c:2872: warning: use of memory input
without lvalue in asm operand 4 is deprecated
libpostproc/postprocess_template.c:2872: warning: use of memory input
without lvalue in asm operand 4 is deprecated
libpostproc/postprocess_template.c: In function `do_a_deblock_MMX2':
libpostproc/postprocess_template.c:2872: warning: use of memory input
without lvalue in asm operand 4 is deprecated
libpostproc/postprocess_template.c: In function `dering_MMX2':
libpostproc/postprocess_template.c:1164: error: can't find a register
in class `GENERAL_REGS' while reloading `asm' make[1]: ***
[libpostproc/postprocess.o] Error 1 make[1]: Leaving directory
`/usr/src/MPlayer-1.0pre5/libavcodec' make: ***
[libavcodec/libavcodec.a] Error 2



with MPlayer-1.0pre6a I get this error:

In file included from libpostproc/postprocess.c:655:
libpostproc/postprocess_template.c: In function `postProcess_MMX2':
libpostproc/postprocess_template.c:2901: warning: use of memory input
without lvalue in asm operand 4 is deprecated
libpostproc/postprocess_template.c:2901: warning: use of memory input
without lvalue in asm operand 4 is deprecated
libpostproc/postprocess_template.c: In function `do_a_deblock_MMX2':
libpostproc/postprocess_template.c:2901: warning: use of memory input
without lvalue in asm operand 4 is deprecated
libpostproc/postprocess_template.c: In function `dering_MMX2':
libpostproc/postprocess_template.c:1186: error: can't find a register
in class `GENERAL_REGS' while reloading `asm' make[1]: ***
[libpostproc/postprocess.o] Error 1 make[1]: Leaving directory
`/usr/src/MPlayer-1.0pre6a/libavcodec' make: ***
[libavcodec/libavcodec.a] Error 2


	All versions are being compiled on the same system by doing the
same command, "./configure ; make".  This works for the 1.0pre3 but
not the others.

	Other info about my system:

  uname -a
Linux zee 2.6.7 #7 SMP Fri Jun 18 14:41:12 EDT 2004 i686 unknown
unknown GNU/Linux

  ls -l /lib/libc[.-]*
-rwxr-xr-x  1 root root 1428497 2004-09-02 16:52 /lib/libc-2.3.2.so*
-rwxr-xr-x  1 root root 1340609 2004-10-12 01:52 /lib/libc-2.3.3.so*
lrwxr-xr-x  1 root root      13 2004-10-12 23:30 /lib/libc.so.6 ->
libc-2.3.3.so*

  gcc -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i486-slackware-linux
--host=i486-slackware-linux Thread model: posix
gcc version 3.3.4

  ld -v
GNU ld version 2.15.92.0.2 20040927

  as --version
GNU assembler 2.15.92.0.2 20040927
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of the GNU General Public License.  This program has absolutely no
warranty. This assembler was configured for a target of
`i486-slackware-linux'.


	Any ideas what might be the problem?  If there's any other info
needed let me know.

	Thanks,
	Kevin




More information about the MPlayer-users mailing list