[MPlayer-users] ffmpeg/libavcodec compiling errors

SycOtiC Smith sycotic at onebox.com
Tue Oct 23 21:10:47 CEST 2001


Hi guys/gals!  Today I got the latest CVS of both ffmpeg and mplayer.  Both compile just fine all
by themselves, but when I try to copy/move the libavcodec folder from ffmpeg over and then recompile
mplayer WITH libavcodec support (autodetected, of course) it gives me many errors regarding registers:
gcc -O4 -march=k6 -mcpu=k6 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -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/project/mplayer/cvs/main/libavcodec'
make: *** [libavcodec/libavcodec.a] Error 2

(white space/formatting broken due to mail program)

My guess: your makefile gives different options to gcc than theirs.  Is anyone else getting this
same output when trying to compile with libavcodec?

--My workaround:  compile ffmpeg and copy the *.o files from there into the mplayer/libavcodec/i386
folder and then restart the 'make' from where the error stopped.  finishes fine with no errors.

My ./configure:  --disable-gcc-checking --enable-new-gui (gcc 2.96-54 - and do NOT tell me THIS is
the problem. same output from 2.95 as well!)
-- 
-SycOtiC Smith


__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com




More information about the MPlayer-users mailing list