[FFmpeg-user] Error in configure (libspeex enabled) on RHEL

RT mxa rt.mxa.csc at gmail.com
Fri May 6 03:49:19 CEST 2011

I get the following error when i try to build a static binary on RHEL with
libspeex enabled  (I do not get this error for libmp3lame)
Here is the configure command I am running
./configure --disable-mmx --disable-mmx2 --enable-libmp3lame
--enable-libspeex --extra-cflags='--static' --extra-libs=-static
ERROR: libspeex not found

This is the specific error in the config.err file
BEGIN /tmp/ffconf.npz27351.c
    1   extern int speex_decoder_init();
    2   int main(void){ speex_decoder_init(); }
END /tmp/ffconf.npz27351.c
-D_LARGEFILE_SOURCE --static -std=c99 -fomit-frame-pointer -c -o
/tmp/ffconf.jYa27360.o /tmp/ffconf.npz27351.c
gcc -o /tmp/ffconf.Liz27354 /tmp/ffconf.jYa27360.o -static -lz -lbz2 -lm
-lmp3lame -lm -lspeex
In function `speex_decode_int':
/auto/pulse/FFmpegBuild/speex-1.2rc1/libspeex/speex.c:172: undefined
reference to `floor'
collect2: ld returned 1 exit status
ERROR: libspeex not found

Thanks in advance for the help

More information about the ffmpeg-user mailing list