[MPlayer-users] compilation error

Moritz Bunkus moritz at bunkus.org
Wed Jan 14 16:12:24 CET 2004


Heya,

> > cc -march=athlon-xp -mcpu=athlon-xp -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'
> 
> This error indicates a buggy gcc.

Actually this always happens in libavcodec if I compile without -O. And
the cc call above doesn't have any optimizations turned on. So check
your libavcodec/Makefile, config.mak etc and make SURE you haven't
modified those! Because normally mplayer is being compiled with at least
-O.

Mosu

-- 
If Darl McBride was in charge, he'd probably make marriage
unconstitutional too, since clearly it de-emphasizes the commercial
nature of normal human interaction, and probably is a major impediment
to the commercial growth of prostitution. - Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20040114/77382d40/attachment.pgp>


More information about the MPlayer-users mailing list