<div dir="ltr">Thank. This solved my problem.<br><div><div class="gmail_extra"><br><div class="gmail_quote">2015-02-20 1:56 GMT+08:00 BugMaster <span dir="ltr"><<a href="mailto:BugMaster@narod.ru" target="_blank">BugMaster@narod.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Thu, 19 Feb 2015 16:10:37 +0800, 王庭茂 wrote:<br>
> When I finish ./configureand run make, I get the following errors:<br>
<div><div class="h5"><br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:376: undefined reference to `swr_is_initialized'<br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:222: undefined reference to `swr_is_initialized'<br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_init_resample':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:163: undefined reference to `swr_init'<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:169: undefined reference to `swr_convert'<br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_frame':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:236: undefined reference to `swr_convert'<br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_flush_resample':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:117: undefined reference to `swr_convert'<br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_subpacket':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:408: undefined reference to `swr_close'<br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_flush':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:563: undefined reference to `swr_close'<br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_close':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:585: undefined reference to `swr_free'<br>
>     /usr/local/lib/libavcodec.a(opusdec.o): In function `opus_decode_init':<br>
>     /root/ffmpeg-2.5.4/libavcodec/opusdec.c:638: undefined reference to `swr_alloc'<br>
>     /usr/local/lib/libavcodec.a(tiff.o): In function `tiff_uncompress_lzma':<br>
>     /root/ffmpeg-2.5.4/libavcodec/tiff.c:396: undefined reference to `lzma_stream_decoder'<br>
>     /root/ffmpeg-2.5.4/libavcodec/tiff.c:401: undefined reference to `lzma_code'<br>
>     /root/ffmpeg-2.5.4/libavcodec/tiff.c:402: undefined reference to `lzma_end'<br>
>     collect2: error: ld returned 1 exit status<br>
<br>
> Need for help!<br>
<br>
</div></div>Hi. That is libavcodec not found dependencies. Most probably this<br>
happened because configure not found pkg-config for libavcodec and<br>
tried too use most basic library setup without extra dependencies.<br>
If you don't really need lavf input support than you configure with<br>
--disable-lavf option. If lavf is need than you have few options:<br>
1) fix pkg-config setup so configure will find out all dependencies;<br>
2) build ffmpeg (libavcodec) without external dependencies;<br>
3) add external dependencies manually with configure --extra-ldflags<br>
option e.g. `./configure --extra-ldflags="-lswresample -llzma"`.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
x264-devel mailing list<br>
<a href="mailto:x264-devel@videolan.org">x264-devel@videolan.org</a><br>
<a href="https://mailman.videolan.org/listinfo/x264-devel" target="_blank">https://mailman.videolan.org/listinfo/x264-devel</a><br>
</div></div></blockquote></div><br></div></div></div>