[MPlayer-users] Compile failed svn revision 23419

Carl Eugen Hoyos cehoyos at ag.or.at
Thu May 31 17:32:39 CEST 2007


Stribik András <stribika <at> gmail.com> writes:

> The compilation failed with this error:
> svq3.c: At top level:
> svq3.c:1015: warning: missing initializer
> svq3.c:1015: warning: (near initialization for 'svq3_decoder.next')
> cabac.h:113: warning: 'put_cabac_static' defined but not used
> cabac.h:159: warning: 'put_cabac_terminate' defined but not used
> cabac.h:187: warning: 'put_cabac_u' defined but not used
> cabac.h:222: warning: 'put_cabac_ueg' defined but not used
> cabac.h:274: warning: 'refill2' defined but not used
> cabac.h:812: warning: 'get_cabac_u' defined but not used
> cabac.h:828: warning: 'get_cabac_ueg' defined but not used
> cabac.h: In function 'get_cabac_noinline':
> cabac.h:526: error: can't find a register in class 'GENERAL_REGS' while 
> reloading 'asm'
> make[1]: *** [h264.o] Error 1
> make[1]: Leaving directory `/usr/src/mplayer/libavcodec'
> make: *** [libavcodec/libavcodec.a] Error 2

It is not possible to compile mplayer with --enable-debug, because you can't
compile cabac.h in libavcodec with all optimizations when debugging is turned on.
Three possible solutions:
1) Don't configure with enable-debug
2) Use -fomit-frame-pointer:
Copy the line beginning with "cc" ending with "-c -o h264.o h264.c" and add
"-fomit-frame-pointer": This might affect debugging for h264.o
3) Don't compile the optimized code: Add "#undef HAVE_EBX_AVAILABLE" to
libavcodec/cabac.h

Carl Eugen





More information about the MPlayer-users mailing list