>>> mediastreamer 4.4.8 Extracting gzip -d -c /home/buildroot/instance-0/dl/mediastreamer/mediastreamer-4.4.8.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8 -xf - >>> mediastreamer 4.4.8 Patching Applying 0001-src-videofilters-nowebcam.c-fix-build-without-ffmpeg.patch using patch: patching file CMakeLists.txt patching file src/videofilters/nowebcam.c Applying 0002-Use-AV_INPUT_BUFFER_PADDING_SIZE-to-determine-paddin.patch using patch: patching file src/utils/ffmpeg-priv.h Hunk #1 succeeded at 115 with fuzz 1 (offset 13 lines). >>> mediastreamer 4.4.8 Configuring (mkdir -p /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/ && cd /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/ && rm -f CMakeCache.txt && PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/ -G"Unix Makefiles" -DCMAKE_MAKE_PROGRAM="/usr/bin/make" -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/instance-0/output-1/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_INSTALL_RUNSTATEDIR="/run" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DENABLE_DOC=OFF -DENABLE_GL=OFF -DENABLE_GLX=OFF -DENABLE_MKV=OFF -DENABLE_SOUND=OFF -DENABLE_STRICT=OFF -DENABLE_TOOLS=OFF -DENABLE_UNIT_TESTS=OFF -DENABLE_ZRTP=OFF -DENABLE_ALSA=ON -DENABLE_SOUND=ON -DENABLE_G729=OFF -DENABLE_JPEG=ON -DENABLE_GSM=OFF -DENABLE_PCAP=ON -DENABLE_SRTP=OFF -DENABLE_VPX=OFF -DENABLE_OPUS=OFF -DENABLE_PORTAUDIO=OFF -DENABLE_PULSEAUDIO=OFF -DENABLE_SPEEX_CODEC=OFF -DENABLE_SPEEX_DSP=OFF -DENABLE_RESAMPLE=OFF -DENABLE_FFMPEG=ON -DENABLE_SDL=OFF -DENABLE_X11=OFF -DENABLE_XV=OFF -DENABLE_THEORA=ON -DENABLE_V4L=ON -DENABLE_QRCODE=OFF -DENABLE_SHARED=ON -DENABLE_STATIC=OFF ) CMake Deprecation Warning at CMakeLists.txt:23 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- The C compiler identification is GNU 7.3.1 -- The CXX compiler identification is GNU 7.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /home/buildroot/instance-0/output-1/host/bin/aarch64_be-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Setting install rpath to /usr/lib -- Looking for sys/shm.h -- Looking for sys/shm.h - found -- Looking for alloca.h -- Looking for alloca.h - found -- Looking for dlopen in dl -- Looking for dlopen in dl - found CMake Warning (dev) at /home/buildroot/instance-0/output-1/host/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to `find_package_handle_standard_args` (bv16) does not match the name of the calling package (BV16). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindBV16.cmake:40 (find_package_handle_standard_args) CMakeLists.txt:185 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find bv16 (missing: BV16_INCLUDE_DIRS BV16_LIBRARIES HAVE_BV16_BV16_H) CMake Warning at CMakeLists.txt:187 (message): Could not find BV16 library, mediastreamer2 will be compiled without the BV16 codec. -- Looking for snd_pcm_open -- Looking for snd_pcm_open - found -- Found ALSA: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for avcodec_get_context_defaults3 -- Looking for avcodec_get_context_defaults3 - not found -- Looking for avcodec_open2 -- Looking for avcodec_open2 - found -- Looking for avcodec_encode_video2 -- Looking for avcodec_encode_video2 - not found -- Looking for av_frame_alloc -- Looking for av_frame_alloc - found -- Looking for av_frame_free -- Looking for av_frame_free - found -- Looking for av_frame_unref -- Looking for av_frame_unref - found -- Found FFMpeg: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include -- Found V4L: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include -- Found Theora: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include -- Performing Test TURBOJPEG_USE_CONST_BUFFERS -- Performing Test TURBOJPEG_USE_CONST_BUFFERS - Success -- Found TurboJpeg: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include -- Found Git: /usr/bin/git (found version "2.30.2") -- Configuring done (1.0s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8 >>> mediastreamer 4.4.8 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/buildroot/instance-0/output-1/host/bin/cmake --build /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/ -j17 -- make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' fatal: not a git repository: '.' fatal: not a git repository: '.' fatal: not a git repository: '.' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' [ 0%] Built target ms2-basedescs-header [ 0%] Built target ms2-git-version make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' [ 0%] Built target ms2-voipdescs-header make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' [ 0%] Building C object src/CMakeFiles/mediastreamer.dir/base/eventqueue.c.o [ 1%] Building C object src/CMakeFiles/mediastreamer.dir/base/mscommon.c.o [ 3%] Building C object src/CMakeFiles/mediastreamer.dir/base/msfilter.c.o [ 4%] Building C object src/CMakeFiles/mediastreamer.dir/base/msqueue.c.o [ 4%] Building C object src/CMakeFiles/mediastreamer.dir/base/msfactory.c.o [ 5%] Building C object src/CMakeFiles/mediastreamer.dir/base/msticker.c.o [ 6%] Building C object src/CMakeFiles/mediastreamer.dir/base/mssndcard.c.o [ 8%] Building C object src/CMakeFiles/mediastreamer.dir/base/mswebcam.c.o [ 8%] Building C object src/CMakeFiles/mediastreamer.dir/base/msvideopresets.c.o [ 9%] Building C object src/CMakeFiles/mediastreamer.dir/base/mtu.c.o [ 11%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/itc.c.o [ 11%] Building C object src/CMakeFiles/mediastreamer.dir/base/msasync.c.o [ 14%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/void.c.o [ 14%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/tee.c.o [ 14%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/join.c.o [ 15%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/alaw.c.o [ 16%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/audiomixer.c.o [ 17%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/chanadapt.c.o [ 18%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/devices.c.o [ 19%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/dtmfgen.c.o [ 20%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/equalizer.c.o [ 20%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/flowcontrol.c.o [ 21%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/g711.c.o [ 22%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/genericplc.c.o [ 23%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msgenericplc.c.o [ 25%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/l16.c.o [ 25%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msfileplayer.c.o [ 26%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msfilerec.c.o [ 28%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/asyncrw.c.o [ 28%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msg722.c.o [ 29%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msvaddtx.c.o [ 30%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msvolume.c.o [ 31%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/tonedetector.c.o [ 32%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/ulaw.c.o [ 33%] Building C object src/CMakeFiles/mediastreamer.dir/crypto/dtls_srtp.c.o [ 34%] Building C object src/CMakeFiles/mediastreamer.dir/crypto/ms_srtp.c.o [ 35%] Building C object src/CMakeFiles/mediastreamer.dir/crypto/zrtp.c.o [ 36%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/msrtp.c.o [ 37%] Building C object src/CMakeFiles/mediastreamer.dir/utils/audiodiff.c.o [ 38%] Building C object src/CMakeFiles/mediastreamer.dir/utils/box-plot.c.o [ 40%] Building C object src/CMakeFiles/mediastreamer.dir/utils/g722_decode.c.o [ 40%] Building C object src/CMakeFiles/mediastreamer.dir/utils/dsptools.c.o [ 40%] Building C object src/CMakeFiles/mediastreamer.dir/utils/g722_encode.c.o [ 41%] Building C object src/CMakeFiles/mediastreamer.dir/utils/kiss_fft.c.o [ 42%] Building C object src/CMakeFiles/mediastreamer.dir/utils/kiss_fftr.c.o [ 43%] Building C object src/CMakeFiles/mediastreamer.dir/utils/pcap_sender.c.o [ 44%] Building C object src/CMakeFiles/mediastreamer.dir/utils/stream_regulator.c.o [ 45%] Building C object src/CMakeFiles/mediastreamer.dir/voip/audioconference.c.o [ 46%] Building C object src/CMakeFiles/mediastreamer.dir/voip/audiostream.c.o [ 47%] Building C object src/CMakeFiles/mediastreamer.dir/voip/bandwidthcontroller.c.o [ 48%] Building C object src/CMakeFiles/mediastreamer.dir/voip/bitratecontrol.c.o [ 49%] Building C object src/CMakeFiles/mediastreamer.dir/voip/bitratedriver.c.o [ 51%] Building C object src/CMakeFiles/mediastreamer.dir/voip/mediastream.c.o [ 51%] Building C object src/CMakeFiles/mediastreamer.dir/voip/ice.c.o [ 52%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msiframerequestslimiter.c.o [ 53%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msmediaplayer.c.o [ 54%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvoip.c.o [ 55%] Building C object src/CMakeFiles/mediastreamer.dir/voip/qosanalyzer.c.o [ 56%] Building C object src/CMakeFiles/mediastreamer.dir/voip/qualityindicator.c.o [ 57%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/rfc4103_source.c.o [ 58%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/rfc4103_sink.c.o [ 59%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/msudp.c.o [ 60%] Building C object src/CMakeFiles/mediastreamer.dir/voip/rfc4103_textstream.c.o [ 60%] Building C object src/CMakeFiles/mediastreamer.dir/voip/ringstream.c.o [ 61%] Building C object src/CMakeFiles/mediastreamer.dir/voip/stun.c.o [ 62%] Building C object src/CMakeFiles/mediastreamer.dir/voip/offeranswer.c.o [ 63%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/alsa.c.o [ 64%] Building C object src/CMakeFiles/mediastreamer.dir/utils/bits_rw.c.o [ 65%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/extdisplay.c.o [ 66%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/nowebcam.c.o [ 67%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/mire.c.o [ 68%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/pixconv.c.o [ 69%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/sizeconv.c.o [ 70%] Building C object src/CMakeFiles/mediastreamer.dir/voip/layouts.c.o [ 72%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvideo_neon.c.o [ 72%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvideo.c.o [ 73%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvideoqualitycontroller.c.o [ 74%] Building C object src/CMakeFiles/mediastreamer.dir/voip/video_preset_high_fps.c.o [ 75%] Building C object src/CMakeFiles/mediastreamer.dir/voip/videostarter.c.o [ 76%] Building C object src/CMakeFiles/mediastreamer.dir/voip/videostream.c.o [ 77%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/turbojpegnowebcam.c.o [ 78%] Building C object src/CMakeFiles/mediastreamer.dir/utils/ffmpeg-priv.c.o [ 79%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/videodec.c.o In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/msvideo.c:23:0: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:128:17: error: conflicting types for 'avcodec_alloc_context3' AVCodecContext *avcodec_alloc_context3(AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:52:0, from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/msvideo.c:23: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' was here AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ [ 80%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/videoenc.c.o [ 80%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/turbojpegwriter.c.o [ 81%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/theora.c.o make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1126: src/CMakeFiles/mediastreamer.dir/voip/msvideo.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:24:0: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:128:17: error: conflicting types for 'avcodec_alloc_context3' AVCodecContext *avcodec_alloc_context3(AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:52:0, from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:24: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' was here AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:21:0: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:128:17: error: conflicting types for 'avcodec_alloc_context3' AVCodecContext *avcodec_alloc_context3(AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:52:0, from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:21: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' was here AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c: In function 'avcodec_encode_video2': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:26:12: warning: implicit declaration of function 'avcodec_encode_video'; did you mean 'avcodec_encode_video2'? [-Wimplicit-function-declaration] int error=avcodec_encode_video(avctx, avpkt->data, avpkt->size,frame); ^~~~~~~~~~~~~~~~~~~~ avcodec_encode_video2 /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c: In function 'avcodec_get_context_defaults3': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:43:2: warning: implicit declaration of function 'avcodec_get_context_defaults'; did you mean 'avcodec_get_context_defaults3'? [-Wimplicit-function-declaration] avcodec_get_context_defaults(s); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ avcodec_get_context_defaults3 /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c: At top level: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:47:17: error: conflicting types for 'avcodec_alloc_context3' AVCodecContext *avcodec_alloc_context3(AVCodec *codec){ ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:52:0, from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:21: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' was here AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c: In function 'avcodec_alloc_context3': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:48:9: warning: implicit declaration of function 'avcodec_alloc_context'; did you mean 'avcodec_alloc_context3'? [-Wimplicit-function-declaration] return avcodec_alloc_context(); ^~~~~~~~~~~~~~~~~~~~~ avcodec_alloc_context3 /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:48:9: warning: return makes pointer from integer without a cast [-Wint-conversion] return avcodec_alloc_context(); ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1210: src/CMakeFiles/mediastreamer.dir/utils/ffmpeg-priv.c.o] Error 1 In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c:29:0: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:128:17: error: conflicting types for 'avcodec_alloc_context3' AVCodecContext *avcodec_alloc_context3(AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:52:0, from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c:29: /home/buildroot/instance-0/output-1/host/aarch64_be-buildroot-linux-gnu/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' was here AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c: In function 'ms_ffmpeg_check_init': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:131:3: warning: implicit declaration of function 'avcodec_register_all'; did you mean 'av_codec_iterate'? [-Wimplicit-function-declaration] avcodec_register_all(); ^~~~~~~~~~~~~~~~~~~~ av_codec_iterate /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c: In function 'prepare_h263': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:335:3: error: 'AVCodecContext {aka struct AVCodecContext}' has no member named 'rtp_payload_size' c->rtp_payload_size = s->mtu/2; ^~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c: In function 'enc_preprocess': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:380:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->av_codec=avcodec_find_encoder(s->codec); ^ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c: In function 'process_frame': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:818:2: warning: implicit declaration of function 'avpicture_fill' [-Wimplicit-function-declaration] avpicture_fill((AVPicture*)s->pict,yuv.planes[0],c->pix_fmt,c->width,c->height); ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:818:18: error: 'AVPicture' undeclared (first use in this function); did you mean 'MSPicture'? avpicture_fill((AVPicture*)s->pict,yuv.planes[0],c->pix_fmt,c->width,c->height); ^~~~~~~~~ MSPicture /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:818:18: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:818:28: error: expected expression before ')' token avpicture_fill((AVPicture*)s->pict,yuv.planes[0],c->pix_fmt,c->width,c->height); ^ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c: In function 'dec_init': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c:84:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] s->av_codec=avcodec_find_decoder(s->codec); ^ make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1238: src/CMakeFiles/mediastreamer.dir/videofilters/videoenc.c.o] Error 1 In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/include/mediastreamer2/msfilter.h:24:0, from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c:31: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c: In function 'get_as_yuvmsg': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c:664:51: error: 'AVFrame {aka struct AVFrame}' has no member named 'pkt_pts'; did you mean 'pkt_dts'? mblk_set_timestamp_info(yuv_msg, (uint32_t)orig->pkt_pts); ^ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/include/mediastreamer2/msqueue.h:99:55: note: in definition of macro 'mblk_set_timestamp_info' #define mblk_set_timestamp_info(m,ts) (m)->reserved1=(ts); ^~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c: In function 'dec_process_frame': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c:717:9: warning: implicit declaration of function 'avcodec_decode_video2'; did you mean 'avcodec_encode_video2'? [-Wimplicit-function-declaration] len=avcodec_decode_video2(&s->av_context, s->orig, &got_picture,&pkt); ^~~~~~~~~~~~~~~~~~~~~ avcodec_encode_video2 make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1224: src/CMakeFiles/mediastreamer.dir/videofilters/videodec.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[2]: *** [CMakeFiles/Makefile2:216: src/CMakeFiles/mediastreamer.dir/all] Error 2 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[1]: *** [Makefile:136: all] Error 2 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'