[MPlayer-users] Compile failed svn revision 23419

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Fri Jun 1 14:17:07 CEST 2007


On Thursday, 31 May 2007 at 17:32, Carl Eugen Hoyos wrote:
> 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

Maybe --enable-debug should simply #undef HAVE_EBX_AVAILABLE or add
-fomit-frame-pointer for h264.c.

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan



More information about the MPlayer-users mailing list