[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

problem compiling mplayer for athlon



I've managed to comile mplayer with the following command:

DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary

it works, nothing wrong. Than I thought that it wold be better if I would compile it in the following manner:

CFLAGS="-march=athlon -mcpu=athlon" DEB_BUILD_OPTIONS="--enable-gui --enable-menu" fakeroot debian/rules binary

but this gives me the following error:

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[2]: *** [libpostproc/postprocess.o] Error 1
make[2]: Leaving directory `/home/lorand/MPlayer-1.0pre6a/libavcodec'
make[1]: *** [libavcodec/libavcodec.a] Error 2
make[1]: Leaving directory `/home/lorand/MPlayer-1.0pre6a'
make: *** [build-stamp] Error 2

Does anybody know what is wrong?



Reply to: