[MPlayer-dev-eng] --enable-debug=3 make mplayer compilation fails

Guillaume POIRIER poirierg at gmail.com
Sun Mar 25 10:18:06 CEST 2007


Hi,

On 3/25/07, Gianluigi Tiesi <mplayer at netfarm.it> wrote:
> I'm tring to debug mplayer but --enable-debug=3 doesn't work anymore,
> it's related to ffmpeg(libavcodec) but it's built from mplayer
> makefiles.
>
> cc -I../libswscale   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil
> -Wdeclaration-after-statement -W -Wall -Wno-unused-parameter -O2
> -march=pentium4 -mtune=pentium4 -g3  -D_REENTRANT -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb
> -I/usr/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT
> -I/usr/include/kde/artsc -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include  -I/usr/include/freetype2 -I/usr/include  -c
> -o h264.o h264.c -w
> cabac.h: In function 'get_cabac_noinline':
> cabac.h:522: error: can't find a register in class 'GENERAL_REGS' while
> reloading 'asm'
>
> I've added -w to remove warnings and display only the error,
> this was a problem of some files while using -O0 in debug mode,
> but this one fails even with -O2
>
> Any clue?

add -fomit-frame-pointer to the compiler command line pasted above.

Guillaume



More information about the MPlayer-dev-eng mailing list