libavcodec.so: undefined reference to `speex_header_free'

I tried to compile the current SVN trunk (16005) of FFmpeg on a Debian Etch system with libspeex support. However I got the error message as in the title of this post:
/home/test/ffmpeg/libavcodec/libavcodec.so: undefined reference to `speex_header_free'
collect2: ld returned 1 exit status
make: *** [ffmpeg_g] Error 1

I used the libspeex-dev package that is part of Debian Etch (it was v1.1.12-3etch1).
Please, drop here a comment if you find out how to resolve this. Maybe I should download and compile libspeex from source? The one in Debian might be outdated.

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

you should use last version of speex

I found this problem too.You should use version speex-1.2rc1 to compile and install it,not 1.0.5.
Then everything is ok.

Re: you should use last version of speex

Thanks for the feedback!

`speex_header_free' undefined reference

I am trying to make ffmpeg with libspeex enabled. I have "speex-1.2rc1" and still getting the following error. Please help

libavcodec/libspeexenc.c:259: undefined reference to `speex_header_free'

Re: `speex_header_free' undefined reference

Sorry, I only know what Winston posted here. I didn't try to compile ffmpeg (with Speex support) since then.