>>> 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=OFF -DENABLE_G729=ON -DENABLE_JPEG=OFF -DENABLE_GSM=OFF -DENABLE_PCAP=ON -DENABLE_SRTP=OFF -DENABLE_VPX=OFF -DENABLE_OPUS=ON -DENABLE_PORTAUDIO=OFF -DENABLE_PULSEAUDIO=OFF -DENABLE_SPEEX_CODEC=ON -DENABLE_SPEEX_DSP=ON -DENABLE_RESAMPLE=ON -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.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 13.2.0 -- The CXX compiler identification is GNU 13.2.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/s390x-linux-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/s390x-linux-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. -- Found Opus: /home/buildroot/instance-0/output-1/host/s390x-buildroot-linux-gnu/sysroot/usr/include -- Found Speex: /home/buildroot/instance-0/output-1/host/s390x-buildroot-linux-gnu/sysroot/usr/include -- Found SpeexDsp: /home/buildroot/instance-0/output-1/host/s390x-buildroot-linux-gnu/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/s390x-buildroot-linux-gnu/sysroot/usr/include -- Found V4L: /home/buildroot/instance-0/output-1/host/s390x-buildroot-linux-gnu/sysroot/usr/include -- Found Git: /usr/bin/git (found version "2.30.2") -- Configuring done (0.8s) -- 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 [ 6%] Building C object src/CMakeFiles/mediastreamer.dir/base/msticker.c.o [ 6%] Building C object src/CMakeFiles/mediastreamer.dir/base/msqueue.c.o [ 6%] Building C object src/CMakeFiles/mediastreamer.dir/base/mssndcard.c.o [ 7%] 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 [ 10%] Building C object src/CMakeFiles/mediastreamer.dir/base/msasync.c.o [ 12%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/itc.c.o [ 12%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/join.c.o [ 12%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/tee.c.o [ 13%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/void.c.o [ 14%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/alaw.c.o [ 15%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/audiomixer.c.o [ 17%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/devices.c.o [ 17%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/chanadapt.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 [ 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 [ 24%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/l16.c.o [ 25%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msfileplayer.c.o [ 25%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msfilerec.c.o [ 26%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/asyncrw.c.o [ 27%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msg722.c.o [ 28%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msvaddtx.c.o [ 29%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msvolume.c.o [ 30%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/tonedetector.c.o [ 31%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/ulaw.c.o [ 32%] Building C object src/CMakeFiles/mediastreamer.dir/crypto/dtls_srtp.c.o [ 34%] Building C object src/CMakeFiles/mediastreamer.dir/crypto/zrtp.c.o [ 34%] Building C object src/CMakeFiles/mediastreamer.dir/crypto/ms_srtp.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 [ 37%] Building C object src/CMakeFiles/mediastreamer.dir/utils/dsptools.c.o [ 38%] Building C object src/CMakeFiles/mediastreamer.dir/utils/g722_decode.c.o [ 39%] Building C object src/CMakeFiles/mediastreamer.dir/utils/g722_encode.c.o [ 40%] Building C object src/CMakeFiles/mediastreamer.dir/utils/kiss_fft.c.o [ 41%] Building C object src/CMakeFiles/mediastreamer.dir/utils/kiss_fftr.c.o [ 42%] Building C object src/CMakeFiles/mediastreamer.dir/utils/pcap_sender.c.o [ 43%] Building C object src/CMakeFiles/mediastreamer.dir/utils/stream_regulator.c.o /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/audiofilters/tonedetector.c: In function 'detector_process': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/audiofilters/tonedetector.c:175:57: warning: '__builtin_strncpy' specified bound 8 equals destination size [-Wstringop-truncation] 175 | strncpy(event.tone_name,tone_def->tone_name,sizeof(event.tone_name)); | ^ [ 44%] Building C object src/CMakeFiles/mediastreamer.dir/voip/audioconference.c.o [ 46%] Building C object src/CMakeFiles/mediastreamer.dir/voip/bandwidthcontroller.c.o [ 46%] Building C object src/CMakeFiles/mediastreamer.dir/voip/audiostream.c.o [ 47%] Building C object src/CMakeFiles/mediastreamer.dir/voip/bitratecontrol.c.o [ 48%] Building C object src/CMakeFiles/mediastreamer.dir/voip/bitratedriver.c.o [ 49%] 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/msmediaplayer.c.o [ 51%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msiframerequestslimiter.c.o [ 52%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvoip.c.o [ 53%] Building C object src/CMakeFiles/mediastreamer.dir/voip/qosanalyzer.c.o [ 54%] Building C object src/CMakeFiles/mediastreamer.dir/voip/qualityindicator.c.o [ 55%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/rfc4103_source.c.o [ 56%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/rfc4103_sink.c.o [ 57%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/msudp.c.o [ 58%] Building C object src/CMakeFiles/mediastreamer.dir/voip/rfc4103_textstream.c.o [ 59%] Building C object src/CMakeFiles/mediastreamer.dir/voip/ringstream.c.o [ 60%] Building C object src/CMakeFiles/mediastreamer.dir/voip/stun.c.o [ 61%] Building C object src/CMakeFiles/mediastreamer.dir/voip/offeranswer.c.o [ 62%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/g729.c.o [ 62%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msopus.c.o [ 63%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msresample.c.o [ 64%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/msspeex.c.o [ 65%] Building C object src/CMakeFiles/mediastreamer.dir/audiofilters/speexec.c.o [ 66%] Building C object src/CMakeFiles/mediastreamer.dir/utils/bits_rw.c.o [ 67%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/extdisplay.c.o [ 68%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/nowebcam.c.o [ 69%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/mire.c.o [ 70%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/pixconv.c.o [ 71%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/sizeconv.c.o [ 72%] Building C object src/CMakeFiles/mediastreamer.dir/voip/layouts.c.o [ 73%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvideo_neon.c.o [ 74%] Building C object src/CMakeFiles/mediastreamer.dir/voip/msvideo.c.o [ 75%] 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 [ 76%] Building C object src/CMakeFiles/mediastreamer.dir/voip/videostarter.c.o [ 77%] Building C object src/CMakeFiles/mediastreamer.dir/voip/videostream.c.o [ 78%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/ffmpegnowebcam.c.o [ 79%] Building C object src/CMakeFiles/mediastreamer.dir/utils/ffmpeg-priv.c.o [ 81%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/videoenc.c.o [ 81%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/videodec.c.o [ 82%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/ffmpegjpegwriter.c.o [ 83%] Building C object src/CMakeFiles/mediastreamer.dir/videofilters/msv4l2.c.o [ 84%] Building C object src/CMakeFiles/mediastreamer.dir/otherfilters/mspcapfileplayer.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/s390x-buildroot-linux-gnu/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); | ^~~~~~~~~~~~~~~~~~~~~~ [ 85%] Building CXX object src/CMakeFiles/mediastreamer.dir/utils/filter-wrapper/decoding-filter-wrapper.cpp.o [ 86%] Building CXX object src/CMakeFiles/mediastreamer.dir/utils/filter-wrapper/encoding-filter-wrapper.cpp.o make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1182: src/CMakeFiles/mediastreamer.dir/voip/msvideo.c.o] Error 1 make[3]: *** Waiting for unfinished jobs.... [ 87%] Building CXX object src/CMakeFiles/mediastreamer.dir/voip/turn_tcp.cpp.o /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/ice.c: In function 'ice_compute_candidate_foundation': 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/s390x-buildroot-linux-gnu/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/voip/ice.c:3277:25: warning: '__builtin_strncpy' output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] 3277 | strncpy(candidate->foundation, other_candidate->foundation, sizeof(candidate->foundation) - 1); | ^ /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/s390x-buildroot-linux-gnu/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_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(); | ^~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/ice.c: In function 'ice_candidate_new': make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1266: src/CMakeFiles/mediastreamer.dir/utils/ffmpeg-priv.c.o] Error 1 /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/ice.c:2988:9: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 2988 | strncpy(candidate->taddr.ip, ip, sizeof(candidate->taddr.ip)); | ^ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/ice.c:2988:9: warning: '__builtin_strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 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); | ^~~~~~~~~~~~~~~~~~~~~~ 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/s390x-buildroot-linux-gnu/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/s390x-buildroot-linux-gnu/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/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/s390x-buildroot-linux-gnu/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); | ^ /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/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); | ^~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~ 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/s390x-buildroot-linux-gnu/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); | ^~~~~~~~~~~~~~~~~~~~ /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); | ^ 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/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/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 make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1308: src/CMakeFiles/mediastreamer.dir/videofilters/ffmpegjpegwriter.c.o] Error 1 /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 make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1252: src/CMakeFiles/mediastreamer.dir/videofilters/ffmpegnowebcam.c.o] Error 1 /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/ice.c: In function 'ice_generate_pair_foundations_list': /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/ice.c:3583:9: warning: '__builtin_strncpy' output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] 3583 | strncpy(foundation.local, pair->local->foundation, sizeof(foundation.local) - 1); | ^ /home/buildroot/instance-0/output-1/build/mediastreamer-4.4.8/src/voip/ice.c:3584:9: warning: '__builtin_strncpy' output may be truncated copying 31 bytes from a string of length 31 [-Wstringop-truncation] 3584 | strncpy(foundation.remote, pair->remote->foundation, sizeof(foundation.remote) - 1); | ^ make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1280: src/CMakeFiles/mediastreamer.dir/videofilters/videodec.c.o] Error 1 /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': /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/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/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); | ^ make[3]: *** [src/CMakeFiles/mediastreamer.dir/build.make:1294: src/CMakeFiles/mediastreamer.dir/videofilters/videoenc.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'