[Ffmpeg-devel] Build fail with --enable-gprof option

Claude Richer claude.richer
Wed Feb 7 14:27:59 CET 2007


I'm trying to build ffmpeg with the profiling option (--enable-gprof)
and I'm getting the error below.

I'm using the latest SVN update (revision 7870).

Anyone has a solution to this problem?

Thanks.

Claude Richer



gcc -I"/home/claude/ffmpeg-checkout-2007-02-06"/libswscale
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-D_ISOC9X_SOURCE -I"/home/claude/ffmpeg-checkout-2007-02-06"
-I"/home/claude/ffmpeg-checkout-2007-02-06"
-I"/home/claude/ffmpeg-checkout-2007-02-06"/libavutil
-fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls
-Wno-pointer-sign -O3 -p  -c -o h264.o h264.c
h264.c: In function ?hl_decode_mb?:
h264.c:3550: warning: suggest parentheses around arithmetic in operand
of ^
h264.c:3556: warning: suggest parentheses around arithmetic in operand
of ^
h264.c: In function ?decode_cabac_residual?:
h264.c:6091: warning: passing argument 4 of
?decode_significance_8x8_x86? discards qualifiers from pointer target
type
h264.c:6018: warning: unused variable ?last?
h264.c: In function ?filter_mb_fast?:
h264.c:7053: warning: dereferencing type-punned pointer will break
strict-aliasing rules
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
cabac.h: In function ?get_cabac_noinline?:
cabac.h:522: error: can't find a register in class ?GENERAL_REGS? while
reloading ?asm?
make[1]: *** [h264.o] Error 1
make[1]: Leaving directory
`/home/claude/ffmpeg-checkout-2007-02-06/libavcodec'
make: *** [lib] Error 2






More information about the ffmpeg-devel mailing list