[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


Hi,
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
gcc -D_ISOC99_SOURCE -D_POSIX_C_SOURCE=200112 -D_FILE_OFFSET_BITS=64
-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
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/../../../libspeex.a(speex.o)(.text+0x1c0):
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