[MPlayer-users] compilation error

Petr Duchon pduchon at chello.cz
Wed Jan 14 16:35:28 CET 2004


Moritz Bunkus wrote:

>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>  
>
>------------------------------------------------------------------------
>
>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
>  
>
Thank You. It was exactly the "-O2 missing" problem.
Petr.




More information about the MPlayer-users mailing list