>>> 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 >>> 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=OFF -DENABLE_GSM=OFF -DENABLE_PCAP=ON -DENABLE_SRTP=OFF -DENABLE_VPX=OFF -DENABLE_OPUS=ON -DENABLE_PORTAUDIO=OFF -DENABLE_PULSEAUDIO=ON -DENABLE_SOUND=ON -DENABLE_SPEEX_CODEC=OFF -DENABLE_SPEEX_DSP=OFF -DENABLE_RESAMPLE=OFF -DENABLE_FFMPEG=ON -DENABLE_SDL=ON -DENABLE_X11=OFF -DENABLE_XV=OFF -DENABLE_THEORA=OFF -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.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is GNU 13.3.0 -- The CXX compiler identification is GNU 13.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /home/buildroot/instance-0/output-1/host/bin/microblaze-buildroot-linux-musl-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/microblaze-buildroot-linux-musl-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.31/Modules/FindPackageHandleStandardArgs.cmake:441 (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. -- Found Opus: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include -- Looking for snd_pcm_open -- Looking for snd_pcm_open - found -- Found ALSA: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include -- Looking for pa_mainloop_new -- Looking for pa_mainloop_new - found -- Found PulseAudio: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- 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/microblaze-buildroot-linux-musl/sysroot/usr/include -- Found V4L: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/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-git-version [ 0%] Built target ms2-basedescs-header 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 [ 2%] Building C object src/CMakeFiles/mediastreamer.dir/base/msfactory.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 [ 5%] Building C object src/CMakeFiles/mediastreamer.dir/base/mssndcard.c.o [ 6%] Building C object src/CMakeFiles/mediastreamer.dir/base/msticker.c.o [ 7%] Building C object src/CMakeFiles/mediastreamer.dir/base/msvideopresets.c.o [ 8%] Building C object src/CMakeFiles/mediastreamer.dir/base/mswebcam.c.o [ 9%] Building C object src/CMakeFiles/mediastreamer.dir/base/mtu.c.o [ 10%] Building C object src/CMakeFiles/mediastreamer.dir/base/msasync.c.o [ 11%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/itc.c.o [ 12%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/join.c.o [ 13%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/tee.c.o [ 14%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/void.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 [ 16%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/chanadapt.c.o [ 17%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/devices.c.o [ 18%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/dtmfgen.c.o [ 19%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/equalizer.c.o [ 20%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/flowcontrol.c.o [ 22%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/genericplc.c.o [ 22%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/g711.c.o [ 23%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msgenericplc.c.o [ 24%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/l16.c.o [ 26%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msfilerec.c.o [ 26%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msfileplayer.c.o [ 27%] 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 [ 33%] Building C object src/CMakeFiles/mediastreamer.dir/crypto/ms_srtp.c.o [ 34%] Building C object src/CMakeFiles/mediastreamer.dir/crypto/zrtp.c.o [ 35%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/msrtp.c.o [ 36%] Building C object src/CMakeFiles/mediastreamer.dir/utils/audiodiff.c.o [ 37%] Building C object src/CMakeFiles/mediastreamer.dir/utils/box-plot.c.o [ 38%] Building C object src/CMakeFiles/mediastreamer.dir/utils/dsptools.c.o [ 39%] Building C object src/CMakeFiles/mediastreamer.dir/utils/g722_decode.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_fftr.c.o [ 42%] Building C object src/CMakeFiles/mediastreamer.dir/utils/kiss_fft.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 [ 49%] Building C object src/CMakeFiles/mediastreamer.dir/voip/bitratecontrol.c.o [ 49%] Building C object src/CMakeFiles/mediastreamer.dir/voip/bitratedriver.c.o [ 50%] Building C object src/CMakeFiles/mediastreamer.dir/voip/ice.c.o [ 50%] Building C object src/CMakeFiles/mediastreamer.dir/voip/mediastream.c.o [ 51%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msiframerequestslimiter.c.o [ 52%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msmediaplayer.c.o [ 53%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvoip.c.o [ 54%] Building C object src/CMakeFiles/mediastreamer.dir/voip/qosanalyzer.c.o [ 55%] Building C object src/CMakeFiles/mediastreamer.dir/voip/qualityindicator.c.o [ 56%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/rfc4103_source.c.o [ 57%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/rfc4103_sink.c.o [ 58%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/msudp.c.o [ 59%] 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/audiofilters/pulseaudio.c.o [ 65%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msopus.c.o [ 66%] Building C object src/CMakeFiles/mediastreamer.dir/utils/bits_rw.c.o [ 66%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/extdisplay.c.o [ 67%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/mire.c.o [ 68%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/nowebcam.c.o [ 69%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/pixconv.c.o [ 70%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/sizeconv.c.o [ 71%] Building C object src/CMakeFiles/mediastreamer.dir/voip/layouts.c.o [ 72%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvideo_neon.c.o [ 73%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvideo.c.o [ 74%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvideoqualitycontroller.c.o [ 75%] Building C object src/CMakeFiles/mediastreamer.dir/voip/video_preset_high_fps.c.o [ 77%] Building C object src/CMakeFiles/mediastreamer.dir/voip/videostream.c.o [ 77%] Building C object src/CMakeFiles/mediastreamer.dir/voip/videostarter.c.o [ 78%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/ffmpegnowebcam.c.o [ 80%] Building C object src/CMakeFiles/mediastreamer.dir/utils/ffmpeg-priv.c.o [ 80%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/videodec.c.o [ 81%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/videoenc.c.o [ 82%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/ffmpegjpegwriter.c.o In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/msvideo.c:23: /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'; have 'AVCodecContext *(AVCodec *)' 128 | 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: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' with type 'AVCodecContext *(const AVCodec *)' 2306 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/audiofilters/pulseaudio.c: In function 'pulse_card_compare': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/audiofilters/pulseaudio.c:232:16: warning: 'strncmp' specified bound 512 exceeds source size 256 [-Wstringop-overread] 232 | return strncmp(sink->description, source->description, 512); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/audiofilters/pulseaudio.c:31:14: note: source object allocated here 31 | char description[PA_STRING_SIZE]; | ^~~~~~~~~~~ [ 83%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/msv4l2.c.o [ 83%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/mspcapfileplayer.c.o [ 84%] Building CXX object src/CMakeFiles/mediastreamer.dir/utils/filter-wrapper/decoding-filter-wrapper.cpp.o make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1157: src/CMakeFiles/mediastreamer.dir/voip/msvideo.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 85%] Building CXX object src/CMakeFiles/mediastreamer.dir/utils/filter-wrapper/encoding-filter-wrapper.cpp.o In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:21: /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'; have 'AVCodecContext *(AVCodec *)' 128 | 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: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' with type 'AVCodecContext *(const AVCodec *)' 2306 | 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:19: warning: implicit declaration of function 'avcodec_encode_video'; did you mean 'avcodec_encode_video2'? [-Wimplicit-function-declaration] 26 | 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:9: warning: implicit declaration of function 'avcodec_get_context_defaults'; did you mean 'avcodec_get_context_defaults3'? [-Wimplicit-function-declaration] 43 | 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'; have 'AVCodecContext *(AVCodec *)' 47 | AVCodecContext *avcodec_alloc_context3(AVCodec *codec){ | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' with type 'AVCodecContext *(const AVCodec *)' 2306 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegnowebcam.c:32: /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'; have 'AVCodecContext *(AVCodec *)' 128 | AVCodecContext *avcodec_alloc_context3(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:16: warning: implicit declaration of function 'avcodec_alloc_context'; did you mean 'avcodec_alloc_context3'? [-Wimplicit-function-declaration] 48 | return avcodec_alloc_context(); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_alloc_context3 /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.c:48:16: warning: returning 'int' from a function with return type 'AVCodecContext *' makes pointer from integer without a cast [-Wint-conversion] 48 | return avcodec_alloc_context(); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:52: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' with type 'AVCodecContext *(const AVCodec *)' 2306 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegnowebcam.c: In function 'jpeg2yuv': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegnowebcam.c:70:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 70 | AVCodec *codec=avcodec_find_decoder(CODEC_ID_MJPEG); | ^~~~~~~~~~~~~~~~~~~~ make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1241: src/CMakeFiles/mediastreamer.dir/utils/ffmpeg-priv.c.o] Error 1 /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegnowebcam.c:87:13: warning: implicit declaration of function 'avcodec_decode_video2'; did you mean 'avcodec_encode_video2'? [-Wimplicit-function-declaration] 87 | if (avcodec_decode_video2(&av_context,orig,&got_picture,&pkt) < 0) { | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_encode_video2 In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videodec.c:29: /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'; have 'AVCodecContext *(AVCodec *)' 128 | AVCodecContext *avcodec_alloc_context3(AVCodec *codec); | ^~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1227: src/CMakeFiles/mediastreamer.dir/videofilters/ffmpegnowebcam.c.o] Error 1 In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/utils/ffmpeg-priv.h:52: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' with type 'AVCodecContext *(const AVCodec *)' 2306 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:24: /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'; have 'AVCodecContext *(AVCodec *)' 128 | 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: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' with type 'AVCodecContext *(const AVCodec *)' 2306 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); | ^~~~~~~~~~~~~~~~~~~~~~ /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:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 84 | s->av_codec=avcodec_find_decoder(s->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:17: warning: implicit declaration of function 'avcodec_register_all' [-Wimplicit-function-declaration] 131 | avcodec_register_all(); | ^~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c: In function 'prepare_h263': In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/include/mediastreamer2/msfilter.h:24, 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/videoenc.c:335:10: error: 'AVCodecContext' has no member named 'rtp_payload_size' 335 | 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/videodec.c:664:58: error: 'AVFrame' has no member named 'pkt_pts'; did you mean 'pkt_dts'? 664 | 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' 99 | #define mblk_set_timestamp_info(m,ts) (m)->reserved1=(ts); | ^~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/videoenc.c:380:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 380 | s->av_codec=avcodec_find_encoder(s->codec); | ^ /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:37: warning: implicit declaration of function 'avcodec_decode_video2'; did you mean 'avcodec_encode_video2'? [-Wimplicit-function-declaration] 717 | len=avcodec_decode_video2(&s->av_context, s->orig, &got_picture,&pkt); | ^~~~~~~~~~~~~~~~~~~~~ | avcodec_encode_video2 /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:9: warning: implicit declaration of function 'avpicture_fill' [-Wimplicit-function-declaration] 818 | 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:25: error: 'AVPicture' undeclared (first use in this function); did you mean 'MSPicture'? 818 | 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:25: 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:35: error: expected expression before ')' token 818 | avpicture_fill((AVPicture*)s->pict,yuv.planes[0],c->pix_fmt,c->width,c->height); | ^ In file included from /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegjpegwriter.c:26: /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'; have 'AVCodecContext *(AVCodec *)' 128 | 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: /home/buildroot/instance-0/output-1/host/microblaze-buildroot-linux-musl/sysroot/usr/include/libavcodec/avcodec.h:2306:17: note: previous declaration of 'avcodec_alloc_context3' with type 'AVCodecContext *(const AVCodec *)' 2306 | AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); | ^~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegjpegwriter.c: In function 'jpg_init': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegjpegwriter.c:83:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | s->codec=avcodec_find_encoder(CODEC_ID_MJPEG); | ^ make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1255: src/CMakeFiles/mediastreamer.dir/videofilters/videodec.c.o] Error 1 make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1269: src/CMakeFiles/mediastreamer.dir/videofilters/videoenc.c.o] Error 1 /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegjpegwriter.c: In function 'jpg_process': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegjpegwriter.c:177:25: warning: implicit declaration of function 'avpicture_fill' [-Wimplicit-function-declaration] 177 | avpicture_fill((AVPicture*)s->pict,(uint8_t*)jpegm->b_rptr,avctx->pix_fmt,avctx->width,avctx->height); | ^~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegjpegwriter.c:177:41: error: 'AVPicture' undeclared (first use in this function); did you mean 'MSPicture'? 177 | avpicture_fill((AVPicture*)s->pict,(uint8_t*)jpegm->b_rptr,avctx->pix_fmt,avctx->width,avctx->height); | ^~~~~~~~~ | MSPicture /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/videofilters/ffmpegjpegwriter.c:177:41: 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/ffmpegjpegwriter.c:177:51: error: expected expression before ')' token 177 | avpicture_fill((AVPicture*)s->pict,(uint8_t*)jpegm->b_rptr,avctx->pix_fmt,avctx->width,avctx->height); | ^ make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1283: src/CMakeFiles/mediastreamer.dir/videofilters/ffmpegjpegwriter.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8' make[2]: *** [CMakeFiles/Makefile2:252: 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:289: /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'