<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">>You need updated headers and pkg-config installed in your system. Also<br><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div class="y_msg_container">>read the README file for further instructions.<br><br>I did a 'make install' of ffmpeg, and after that, I tried<br>to build the libavcodec examples in doc/examples. I received lots of<br>'undefined reference' errors after running 'make' for these subroutines:<br><br> av_get_channel_layout_nb_channels avcodec_alloc_context3<br> av_get_sample_fmt_name av_get_channel_layout_nb_channels avcodec_open2<br> av_samples_get_buffer_size avcodec_fill_audio_frame avcodec_encode_audio2<br>
avcodec_encode_audio2 avcodec_free_frame avcodec_alloc_context3 avcodec_open2<br> avcodec_decode_audio4 av_samples_get_buffer_size avcodec_free_frame<br> avcodec_alloc_context3 av_opt_set avcodec_open2 av_image_alloc<br> avcodec_encode_video2 avcodec_encode_video2 avcodec_free_frame<br> avcodec_alloc_context3 avcodec_open2 avcodec_free_frame<br><br>I'm able to fix that. The compiler didn't know where to look for the<br>libraries so I added -L/usr/local/lib to the compile command line.<br><br>However, after that, I received about 100 additional 'undefined reference'<br>error messages for these subroutines:<br> compress compress2 crc32 deflate deflateBound deflateEnd deflateInit2_<br> deflateInit_ deflateReset inflate inflateEnd inflateInit_ inflateReset<br> inflateSync pthread_create pthread_join uncompress<br><br>I don't
know how to fix that. Do you know what I must do to get<br>the examples in doc/examples in the ffmpeg source code to compile?<br><br><br></div> </div> </div> </div></body></html>