[Libav-user] Demo program error

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Dec 8 15:04:06 CET 2014

Alex Zelid <alex at ...> writes:

> i686-w64-mingw32.static-gcc 
> -I/home/alex/opt/mxe/usr/i686-w64-mingw32.static/include main.c 
> -L/home/alex/opt/mxe/usr/i686-w64-mingw32.static/lib 
> -lavformat -lavcodec -lavutil -lswscale -lmp3lame 
> -lvorbis -lvorbisenc -lxvidcore -pthread -ltheora 
> -lx264 -lz -lbz2 -lm -llzma -lswscale -lswresample
> I get this error:
> /home/alex/opt/mxe/usr/i686-w64-mingw32.static/lib/libavcodec.a 
> (libopencore-amr.o):libopencore-amr.c:(.text+0x72): 
> undefined reference to `Decoder_Interface_Decode'

Either remove --enable-libopencore* from your 
FFmpeg configure line or add the libopencore 
libraries manually to the link command.

Carl Eugen

More information about the Libav-user mailing list