[Ffmpeg-devel] AMR not compiling in linux

Juga Paazmaya olavic
Wed Sep 6 09:31:18 CEST 2006


Hello there dear developers.

During the past week I have noticed that I cannot build anymore my
usual configuration for SVN version:

CFLAGS="-O3 -march=pentium4" CXX=gcc \
CXXFLAGS="-O3 -march=pentium4" \
./configure --prefix=/usr --enable-shared \
--enable-pthreads --tune=pentium4 --cpu=pentium4 \
--enable-gpl --enable-mp3lame --enable-libogg \
--enable-vorbis --enable-faad --enable-xvid \
--enable-x264 --enable-a52 --enable-dts \
--enable-pp --enable-faac --disable-static \
--enable-amr_nb --enable-amr_nb-fixed \
--enable-amr_wb --enable-amr_if2


It fails if I use any of those AMR related switches.
Here the last lines:

gcc -c -Wall -I. -O3 -DWMOPS=0 -DVAD1 -DMMS_IO dec_amr.c
In file included from dec_amr.c:26:
basic_op.h:33: warning: conflicting types for built-in function 'round'
bitno.tab:162: warning: 'toc_byte' defined but not used
bitno.tab:166: warning: 'unpacked_size' defined but not used
bitno.tab:170: warning: 'packed_size' defined but not used
bitno.tab:174: warning: 'unused_size' defined but not used
bitno.tab:334: warning: 'sort_ptr' defined but not used
gcc -c -Wall -I. -O3 -DWMOPS=0 -DVAD1 -DMMS_IO sp_enc.c
In file included from sp_enc.c:21:
sp_enc.h:88: warning: 'enum TXFrameType' declared inside parameter list
sp_enc.h:88: warning: its scope is only this definition or
declaration, which is probably not what you want
In file included from sp_enc.c:32:
basic_op.h:33: warning: conflicting types for built-in function 'round'
sp_enc.c:257: error: conflicting types for 'PackBits'
sp_enc.h:88: error: previous declaration of 'PackBits' was here
make[2]: *** [sp_enc.o] Error 1
make[2]: Leaving directory `/home/paazio/deve/ffmpeg/libavcodec/amr'
make[1]: *** [amrlibs] Error 2
make[1]: Leaving directory `/home/paazio/deve/ffmpeg/libavcodec'
make: *** [lib] Error 2

Before there there is plenty of warnigns as this one:
basic_op.h:33: warning: conflicting types for built-in function 'round'

Unfortunetly I cannot tell exactly when this broke, approximate within
a week or two.
I have GCC version 4.0.3, something else?

Thank you,
Jukka Paasonen




More information about the ffmpeg-devel mailing list