[Ffmpeg-devel] Compiling problems on CVS
Guillaume Poirier
docmaintainerwannabe
Thu Apr 13 14:42:53 CEST 2006
Hi,
Ramiro Polla wrote:
> Hello,
>
> Trying to compile the latest CVS for debugging purposes (re-downloaded
> the whole source) with:
>
> ./configure --disable-opts --prefix=/home/ramiro --disable-strip
>
> When running make, I got:
> (...)
> gcc -g -Wall -Wno-switch -DHAVE_AV_CONFIG_H -I..
> -I/home/ramiro/ffmpeg/libavutil -D_FILE_OFFSET_BITS=64
> -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o i386/dsputil_mmx.o
> i386/dsputil_mmx.c
> i386/dsputil_mmx.c: In function `gmc_mmx':
> i386/dsputil_mmx.c:2429: warning: suggest parentheses around arithmetic
> in operand of |
> i386/dsputil_mmx.c:2429: warning: suggest parentheses around arithmetic
> in operand of |
> i386/dsputil_mmx.c:2430: warning: suggest parentheses around arithmetic
> in operand of |
> i386/dsputil_mmx.c:2430: warning: suggest parentheses around arithmetic
> in operand of |
> i386/dsputil_mmx.c:2430: warning: suggest parentheses around arithmetic
> in operand of |
> In file included from i386/dsputil_mmx.c:2622:
> i386/h264dsp_mmx.c:49:1: warning: "SBUTTERFLY" redefined
> i386/dsputil_mmx.c:1525:1: warning: this is the location of the previous
> definition
> i386/h264dsp_mmx.c:1262:1: warning: "PUT_OP" redefined
> i386/dsputil_mmx.c:2377:1: warning: this is the location of the previous
> definition
> i386/dsputil_mmx.c: In function `transpose4x4':
> i386/dsputil_mmx.c:621: error: can't find a register in class
> `GENERAL_REGS' while reloading `asm'
It means GCC screwed up reg alloc...
Blame GCC: some parts of FFmpeg can only be compiled if you enabled at least some basic level of optimization (O1 or O2).
in short: either don't compile with optimizations and inline asm will compile,
or compile without optimizations, and but disable inline asm.
Guillaume
More information about the ffmpeg-devel
mailing list