[MPlayer-dev-eng] error: can't find a register in class `GENERAL_REGS'...
Stanislav Maslovski
stanislav.maslovski at gmail.com
Tue Nov 7 23:01:35 CET 2006
Hello again,
Trying to build mplayer with "--enable-debug", but always getting this error.
Confirmed with gcc-3.3.6, 3.4.6, 4.1.1. I have also played with the "-O" option
in CFLAGS in the corresponding place in ./configure, but with no effect
(tried -O1,2,4 and without it).
A couple of examples of the output to stderr are attached.
libavcodec is at revision 6935.
--
Stanislav
-------------- next part --------------
gcc-3.4 -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=athlon-xp -mtune=athlon-xp -g -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o h264.o h264.c
In file included from h264.c:36:
cabac.h:366: warning: `inline' is not at beginning of declaration
h264.c: In function `hl_decode_mb':
h264.c:3661: warning: suggest parentheses around arithmetic in operand of ^
h264.c:3667: warning: suggest parentheses around arithmetic in operand of ^
h264.c: In function `print_short_term':
h264.c:4326: warning: comparison between signed and unsigned
h264.c: At top level:
h264.c:6009: warning: `inline' is not at beginning of declaration
h264.c: In function `decode_cabac_residual':
h264.c:6143: warning: passing arg 4 of `decode_significance_8x8_x86' discards qualifiers from pointer target type
h264.c:6070: warning: unused variable `last'
h264.c: At top level:
h264.c:6218: warning: `inline' is not at beginning of declaration
h264.c: In function `filter_mb':
h264.c:7181: warning: comparison between signed and unsigned
h264.c: In function `decode_unregistered_user_data':
h264.c:7593: warning: comparison between signed and unsigned
h264.c: At top level:
h264.c:8652: warning: missing initializer
h264.c:8652: warning: (near initialization for `h264_parser.next')
In file included from h264.c:8655:
svq3.c: In function `svq3_decode_block':
svq3.c:224: warning: comparison between signed and unsigned
svq3.c: In function `svq3_mc_dir':
svq3.c:374: warning: comparison between signed and unsigned
svq3.c:374: warning: comparison between signed and unsigned
svq3.c: In function `svq3_decode_mb':
svq3.c:450: warning: comparison between signed and unsigned
svq3.c: In function `svq3_decode_slice_header':
svq3.c:741: warning: comparison between signed and unsigned
svq3.c: At top level:
svq3.c:1014: warning: missing initializer
svq3.c:1014: warning: (near initialization for `svq3_decoder.next')
cabac.h: In function `get_cabac_noinline':
cabac.h:522: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
h264.c: At top level:
cabac.h:109: warning: 'put_cabac_static' defined but not used
cabac.h:155: warning: 'put_cabac_terminate' defined but not used
cabac.h:183: warning: 'put_cabac_u' defined but not used
cabac.h:218: warning: 'put_cabac_ueg' defined but not used
cabac.h:270: warning: 'refill2' defined but not used
cabac.h:808: warning: 'get_cabac_u' defined but not used
cabac.h:824: warning: 'get_cabac_ueg' defined but not used
make[2]: *** [h264.o] Error 1
make[2]: Leaving directory `/home/stas/src/svn/mplayer/libavcodec'
make[1]: *** [libavcodec/libavcodec.a] ?????? 2
make[1]: Leaving directory `/home/stas/src/svn/mplayer'
make: *** [build-stamp] ?????? 2
-------------- next part --------------
gcc-3.3 -I../libswscale -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -W -Wall -Wno-unused-parameter -O2 -march=athlon-xp -mcpu=athlon-xp -g -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include/directfb -I/usr/include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o cabac.o cabac.c
In file included from cabac.c:32:
cabac.h:366: warning: `inline' is not at beginning of declaration
In file included from cabac.c:32:
cabac.h: In function `get_cabac_noinline':
cabac.h:522: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
cabac.c: At top level:
cabac.h:109: warning: `put_cabac_static' defined but not used
cabac.h:155: warning: `put_cabac_terminate' defined but not used
cabac.h:183: warning: `put_cabac_u' defined but not used
cabac.h:218: warning: `put_cabac_ueg' defined but not used
cabac.h:270: warning: `refill2' defined but not used
cabac.h:578: warning: `get_cabac_noinline' defined but not used
cabac.h:684: warning: `decode_significance_x86' defined but not used
cabac.h:734: warning: `decode_significance_8x8_x86' defined but not used
cabac.h:795: warning: `get_cabac_terminate' defined but not used
cabac.h:808: warning: `get_cabac_u' defined but not used
cabac.h:824: warning: `get_cabac_ueg' defined but not used
make[2]: *** [cabac.o] Error 1
make[2]: Leaving directory `/home/stas/src/svn/mplayer/libavcodec'
make[1]: *** [libavcodec/libavcodec.a] ?????? 2
make[1]: Leaving directory `/home/stas/src/svn/mplayer'
make: *** [build-stamp] ?????? 2
More information about the MPlayer-dev-eng
mailing list