[MPlayer-users] Problem compiling

Mike michael at 2020support.com
Tue Oct 23 15:06:26 CEST 2001


Mike <michael at 2020support.com> wrote:
>A previous mailer wrote:-
>I got this when trying to compile .5 version, using configure with
>--enable-gui --disable-gcc-checking:
>
>make -C libavcodec
>make[1]: Cambiando a directorio
>`/home/linuxinst/video/MPlayer-0.50/libavcodec'
>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]: Saliendo directorio
>`/home/linuxinst/video/MPlayer-0.50/libavcodec'
>make: *** [libavcodec/libavcodec.a] Error 2
>
>I checked config.h looking for some wrong processor directive, but seems
>to be fine.  Is this problem derived from gcc 2.96?
>
>--
>Roger D. Vargas
>ICQ: 117641572
>Linux User: 180787
>
>end of previous message.
>
>Hi list,
>
>I tried compiling the latest Mplayer 0.50 release and I get the
>same error. I am using gcc 2.95.2 and everything else I have
>compiled has been ok. The previous 0.17 version compiled ok and
>I noticed that this libavcodec directory is not in the version
>that I compiled previously. Maybe this was only tested with gcc
>3.0 and my 2.95.2 does not agree with the syntax. Do any ASM
>people know what might need to be changed to get it to compile?
>I am running binutils 2.11.90.8 if that makes any difference.
>Thanks.
>
>Michael.
>
>
>
>_______________________________________________
>MPlayer-users mailing list
>MPlayer-users at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
hello,

Looks as if it is a problem with the code after all rather than a compiler error. If I compile the CVS version then it compiles ok along with all the MMX and SSE ASM stuff, without any errors or bad warnings, and it plays the videos without a hitch. What I have noticed is that the CVS version does not have the extra files in the libavcodec directory and these were the ones that were not compiling. so it looks as if extra checking will have to be done with this code before it is included with the next release. BTW your code is very good so lets hope the libavcodec code will be fixed soon.

Michael.





More information about the MPlayer-users mailing list