[Ffmpeg-devel] fft_3dn2.c compile error

Loren Merritt lorenm
Wed Aug 9 08:47:00 CEST 2006


On Wed, 9 Aug 2006, Klaas-Pieter Vlieg wrote:

> Latest fft_3dn2.c does not compile with GCC 3.4.5
> Do I really need GCC 4.x to build ffmpeg from now on?

No, but people who use old gccs do have to complain when it breaks, 
because otherwise I'll never know.

> gcc -O3  -g -Wdeclaration-after-statement -Wall -Wno-switch -DHAVE_AV_CONFIG_H -I.. -I/home/kpv/ffmpeg/libavutil -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE    -c -o i386/fft_3dn2.o i386/fft_3dn2.c
> i386/fft_3dn2.c: In function `ff_imdct_calc_3dn2':
> i386/fft_3dn2.c:195: error: can't find a register in class `GENERAL_REGS' while reloading `asm'
> make[1]: *** [i386/fft_3dn2.o] Error 1

Fixed sorta. Does anyone see a workaround that isn't slower?

--Loren Merritt




More information about the ffmpeg-devel mailing list