[FFmpeg-user] Error in building fffmpeg examples

Tushar Paithankar p.tushar99 at gmail.com
Mon May 26 06:16:52 CEST 2014


Hi all,


I have taken ffmpeg source from git. I have build and installed it with
default configuration(No change in configuration).  Now when i try to build
examples it gives following errors.


tushar at tushar-ThinkCentre:~/ffmpeg/doc/examples$ make
cc   avio_reading.o  -pthread -L/usr/local/lib -lavdevice -lavfilter
-lavformat -lavcodec -lva -lX11 -lasound -lSDL -lz -lswresample -lswscale
-lavutil -lm    -o avio_reading
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':
/home/tushar/ffmpeg/libavcodec/opusdec.c:376: undefined reference to
`swr_is_initialized'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':
/home/tushar/ffmpeg/libavcodec/opusdec.c:222: undefined reference to
`swr_is_initialized'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':
/home/tushar/ffmpeg/libavcodec/opusdec.c:408: undefined reference to
`swr_close'
/usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_flush':
/home/tushar/ffmpeg/libavcodec/opusdec.c:557: undefined reference to
`swr_close'
/usr/local/lib/libswresample.so: undefined reference to
`av_calloc at LIBAVUTIL_52'
collect2: error: ld returned 1 exit status
make: *** [avio_reading] Error 1



Please help me



Thanks
Tushar


More information about the ffmpeg-user mailing list