[Ffmpeg-devel] [BUG] Compilation failure when using --disable-opts

Benoit Fouet benoit.fouet
Mon Feb 19 15:00:28 CET 2007


Hi,

Panagiotis Issaris wrote:
> Hi,
>
> With current SVN (revision 8028), I'm getting an error when trying to
> compile it if configured to disable optimizations:
> ./configure --enable-gpl --disable-opts
> make
> ...
> gcc -I"/usr/local/src/ffmpeg"/libswscale   -DHAVE_AV_CONFIG_H
> -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE
> -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"
> -I"/usr/local/src/ffmpeg"/libavutil -g -Wdeclaration-after-statement
> -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith
> -Wredundant-decls -Wno-pointer-sign  -c -o cabac.o cabac.c
> 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
> make[1]: *** [cabac.o] Error 1
> make[1]: Leaving directory `/usr/local/src/ffmpeg/libavcodec'
> make: *** [lib] Error 2
>
[snip]
> Any tips?
>
i found this link by googling your error, hope this helps...
http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-November/047227.html

> I'm using GCC 4.1.2:
> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v
> --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
> --enable-shared --with-system-zlib --libexecdir=/usr/lib
> --without-included-gettext --enable-threads=posix --enable-nls
> --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
> --enable-libstdcxx-debug --enable-mpfr --enable-checking=release
> i486-linux-gnu
> Thread model: posix
> gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu1)
>
> With friendly regards,
> Takis
Ben





More information about the ffmpeg-devel mailing list