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

Gianluigi Tiesi mplayer at netfarm.it
Sun Mar 25 09:27:38 CEST 2007


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?

Regards
-- 
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/



More information about the MPlayer-dev-eng mailing list