[MPlayer-users] cabac.h:522: error with --enable-debug

Ivo ivop at euronet.nl
Sat Mar 24 22:56:25 CET 2007


On Saturday 24 March 2007 22:46, Mac _ wrote:
> Hi there
>
> I`ve got:
>
> cabac.h:522: error: can't find a register in class `GENERAL_REGS' while
> reloading `asm'
>
> during compilation mplayer with --enable-debug either --enable-debug=3
> Sources of mplayer are svc from 23 march 2007 about 21:00:00 (9:00pm)
>
> I have linux slackware with 2.6.14.3 kernel and gcc (GCC) 3.4.5
>
> configure:
> CFLAGS= ./configure --prefix=/usr/local/share/MPlayer-1.0rc1
> --enable-theora --language=en,pl --enable-gui --enable-debug
> --with-extraincdir=/usr/local/share/libtheora-1.0alpha7/include/
> --with-extralibdir=/usr/local/share/libtheora-1.0alpha7/lib/
>
> if I remove --enable-debug from configure it will compile at all
> correctly

This is a known issue with gcc. Cut&paste the last compiler invocation that 
gave you that error and remove -g from that command line. Run it 
in ./libavcodec. That way you will compile h264.c without debugging 
information, which you probably don't need anyway, unless you plan on 
debugging h264.c :)
After that, type make from the root of the source tree again and all should 
be fine.

--Ivo



More information about the MPlayer-users mailing list