cd /usr/local/src git clone https://github.com/ayufan-research/camera-streamer.git --recursive apt-get -y install libavformat-dev libavutil-dev libavcodec-dev libcamera-dev liblivemedia-dev v4l-utils pkg-config xxd build-essential cmake libssl-dev cd camera-streamer/ make sudo make install =================================================================== root@raspberrypi:~# cd /usr/local/src root@raspberrypi:/usr/local/src# git clone https://github.com/ayufan-research/camera-streamer.git --recursive Cloning into 'camera-streamer'... remote: Enumerating objects: 3621, done. remote: Counting objects: 100% (512/512), done. remote: Compressing objects: 100% (98/98), done. remote: Total 3621 (delta 439), reused 429 (delta 412), pack-reused 3109 Receiving objects: 100% (3621/3621), 5.85 MiB | 12.33 MiB/s, done. Resolving deltas: 100% (2500/2500), done. Submodule 'third_party/libdatachannel' (https://github.com/paullouisageneau/libdatachannel.git) registered for path 'third_party/libdatachannel' Submodule 'third_party/magic_enum' (https://github.com/Neargye/magic_enum.git) registered for path 'third_party/magic_enum' Cloning into '/usr/local/src/camera-streamer/third_party/libdatachannel'... remote: Enumerating objects: 17612, done. remote: Counting objects: 100% (4730/4730), done. remote: Compressing objects: 100% (483/483), done. remote: Total 17612 (delta 4361), reused 4320 (delta 4223), pack-reused 12882 Receiving objects: 100% (17612/17612), 53.60 MiB | 17.86 MiB/s, done. Resolving deltas: 100% (10765/10765), done. Cloning into '/usr/local/src/camera-streamer/third_party/magic_enum'... remote: Enumerating objects: 2871, done. remote: Counting objects: 100% (2871/2871), done. remote: Compressing objects: 100% (884/884), done. remote: Total 2871 (delta 1769), reused 2787 (delta 1721), pack-reused 0 Receiving objects: 100% (2871/2871), 816.30 KiB | 3.39 MiB/s, done. Resolving deltas: 100% (1769/1769), done. Submodule path 'third_party/libdatachannel': checked out '04cf4738961f55ba3f0aa39b4a61342f66bb3781' Submodule 'deps/json' (https://github.com/nlohmann/json.git) registered for path 'third_party/libdatachannel/deps/json' Submodule 'deps/libjuice' (https://github.com/paullouisageneau/libjuice.git) registered for path 'third_party/libdatachannel/deps/libjuice' Submodule 'deps/libsrtp' (https://github.com/cisco/libsrtp.git) registered for path 'third_party/libdatachannel/deps/libsrtp' Submodule 'deps/plog' (https://github.com/SergiusTheBest/plog.git) registered for path 'third_party/libdatachannel/deps/plog' Submodule 'deps/usrsctp' (https://github.com/sctplab/usrsctp.git) registered for path 'third_party/libdatachannel/deps/usrsctp' Cloning into '/usr/local/src/camera-streamer/third_party/libdatachannel/deps/json'... remote: Enumerating objects: 37986, done. remote: Counting objects: 100% (2256/2256), done. remote: Compressing objects: 100% (522/522), done. remote: Total 37986 (delta 1319), reused 2107 (delta 1242), pack-reused 35730 Receiving objects: 100% (37986/37986), 182.52 MiB | 17.22 MiB/s, done. Resolving deltas: 100% (23513/23513), done. Cloning into '/usr/local/src/camera-streamer/third_party/libdatachannel/deps/libjuice'... remote: Enumerating objects: 3377, done. remote: Counting objects: 100% (1301/1301), done. remote: Compressing objects: 100% (307/307), done. remote: Total 3377 (delta 1052), reused 1132 (delta 987), pack-reused 2076 Receiving objects: 100% (3377/3377), 785.48 KiB | 3.08 MiB/s, done. Resolving deltas: 100% (2294/2294), done. Cloning into '/usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp'... remote: Enumerating objects: 11674, done. remote: Counting objects: 100% (2749/2749), done. remote: Compressing objects: 100% (452/452), done. remote: Total 11674 (delta 2405), reused 2437 (delta 2251), pack-reused 8925 Receiving objects: 100% (11674/11674), 6.85 MiB | 7.94 MiB/s, done. Resolving deltas: 100% (6513/6513), done. Cloning into '/usr/local/src/camera-streamer/third_party/libdatachannel/deps/plog'... remote: Enumerating objects: 3355, done. remote: Counting objects: 100% (690/690), done. remote: Compressing objects: 100% (307/307), done. remote: Total 3355 (delta 349), reused 617 (delta 308), pack-reused 2665 Receiving objects: 100% (3355/3355), 690.42 KiB | 2.95 MiB/s, done. Resolving deltas: 100% (1883/1883), done. Cloning into '/usr/local/src/camera-streamer/third_party/libdatachannel/deps/usrsctp'... remote: Enumerating objects: 15504, done. remote: Counting objects: 100% (1351/1351), done. remote: Compressing objects: 100% (350/350), done. remote: Total 15504 (delta 1067), reused 1195 (delta 999), pack-reused 14153 Receiving objects: 100% (15504/15504), 6.30 MiB | 10.54 MiB/s, done. Resolving deltas: 100% (11412/11412), done. Submodule path 'third_party/libdatachannel/deps/json': checked out '4f8fba14066156b73f1189a2b8bd568bde5284c5' Submodule path 'third_party/libdatachannel/deps/libjuice': checked out '06bbfe93ab344e95797220d89b55c7204c3ffa9d' Submodule path 'third_party/libdatachannel/deps/libsrtp': checked out '90d05bf8980d16e4ac3f16c19b77e296c4bc207b' Submodule path 'third_party/libdatachannel/deps/plog': checked out 'd8461e9d473e59fbcc1f79eee021550dcf81e618' Submodule path 'third_party/libdatachannel/deps/usrsctp': checked out '7c31bd35c79ba67084ce029511193a19ceb97447' Submodule path 'third_party/magic_enum': checked out '48054f64abcfc83f58d9aa2efbbd21604f93aca4' root@raspberrypi:/usr/local/src# ======================================================================= root@raspberrypi:/usr/local/src# apt-get -y install libavformat-dev libavutil-dev libavcodec-dev libcamera-dev liblivemedia-dev v4l-utils pkg-config xxd build-essential cmake libssl-dev Reading package lists... Done Building dependency tree... Done Reading state information... Done v4l-utils is already the newest version (1.22.1-5+b2). pkg-config is already the newest version (1.8.1-1). build-essential is already the newest version (12.9). The following package was automatically installed and is no longer required: libcamera0.1 Use 'apt autoremove' to remove it. The following additional packages will be installed: cmake-data libjsoncpp25 librhash0 libswresample-dev libuv1 Suggested packages: cmake-doc cmake-format elpa-cmake-mode ninja-build libssl-doc The following NEW packages will be installed: cmake cmake-data libavcodec-dev libavformat-dev libavutil-dev libcamera-dev libjsoncpp25 liblivemedia-dev librhash0 libssl-dev libswresample-dev libuv1 xxd 0 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. Need to get 19.0 MB of archives. After this operation, 78.6 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian bookworm/main arm64 libjsoncpp25 arm64 1.9.5-4 [72.3 kB] Get:2 http://deb.debian.org/debian bookworm/main arm64 librhash0 arm64 1.4.3-3 [131 kB] Get:3 http://deb.debian.org/debian bookworm/main arm64 libuv1 arm64 1.44.2-1 [133 kB] Get:4 http://deb.debian.org/debian bookworm/main arm64 cmake-data all 3.25.1-1 [2,026 kB] Get:5 http://deb.debian.org/debian bookworm/main arm64 cmake arm64 3.25.1-1 [6,806 kB] Get:6 http://deb.debian.org/debian bookworm/main arm64 xxd arm64 2:9.0.1378-2 [83.4 kB] Get:7 http://archive.raspberrypi.com/debian bookworm/main arm64 libavutil-dev arm64 8:5.1.4-0+rpt2+deb12u1 [483 kB] Get:8 http://archive.raspberrypi.com/debian bookworm/main arm64 libswresample-dev arm64 8:5.1.4-0+rpt2+deb12u1 [97.8 kB] Get:9 http://archive.raspberrypi.com/debian bookworm/main arm64 libavcodec-dev arm64 8:5.1.4-0+rpt2+deb12u1 [5,397 kB] Get:10 http://archive.raspberrypi.com/debian bookworm/main arm64 libavformat-dev arm64 8:5.1.4-0+rpt2+deb12u1 [1,283 kB] Get:11 http://archive.raspberrypi.com/debian bookworm/main arm64 libcamera-dev arm64 0.2.0+rpt20240215-1 [32.4 kB] Get:12 http://archive.raspberrypi.com/debian bookworm/main arm64 liblivemedia-dev arm64 2020.01.19-1+build1 [126 kB] Get:13 http://archive.raspberrypi.com/debian bookworm/main arm64 libssl-dev arm64 3.0.11-1~deb12u2+rpt1 [2,303 kB] Fetched 19.0 MB in 5s (4,124 kB/s) Selecting previously unselected package libjsoncpp25:arm64. (Reading database ... 164008 files and directories currently installed.) Preparing to unpack .../00-libjsoncpp25_1.9.5-4_arm64.deb ... Unpacking libjsoncpp25:arm64 (1.9.5-4) ... Selecting previously unselected package librhash0:arm64. Preparing to unpack .../01-librhash0_1.4.3-3_arm64.deb ... Unpacking librhash0:arm64 (1.4.3-3) ... Selecting previously unselected package libuv1:arm64. Preparing to unpack .../02-libuv1_1.44.2-1_arm64.deb ... Unpacking libuv1:arm64 (1.44.2-1) ... Selecting previously unselected package cmake-data. Preparing to unpack .../03-cmake-data_3.25.1-1_all.deb ... Unpacking cmake-data (3.25.1-1) ... Selecting previously unselected package cmake. Preparing to unpack .../04-cmake_3.25.1-1_arm64.deb ... Unpacking cmake (3.25.1-1) ... Selecting previously unselected package libavutil-dev:arm64. Preparing to unpack .../05-libavutil-dev_8%3a5.1.4-0+rpt2+deb12u1_arm64.deb ... Unpacking libavutil-dev:arm64 (8:5.1.4-0+rpt2+deb12u1) ... Selecting previously unselected package libswresample-dev:arm64. Preparing to unpack .../06-libswresample-dev_8%3a5.1.4-0+rpt2+deb12u1_arm64.deb ... Unpacking libswresample-dev:arm64 (8:5.1.4-0+rpt2+deb12u1) ... Selecting previously unselected package libavcodec-dev:arm64. Preparing to unpack .../07-libavcodec-dev_8%3a5.1.4-0+rpt2+deb12u1_arm64.deb ... Unpacking libavcodec-dev:arm64 (8:5.1.4-0+rpt2+deb12u1) ... Selecting previously unselected package libavformat-dev:arm64. Preparing to unpack .../08-libavformat-dev_8%3a5.1.4-0+rpt2+deb12u1_arm64.deb ... Unpacking libavformat-dev:arm64 (8:5.1.4-0+rpt2+deb12u1) ... Selecting previously unselected package libcamera-dev:arm64. Preparing to unpack .../09-libcamera-dev_0.2.0+rpt20240215-1_arm64.deb ... Unpacking libcamera-dev:arm64 (0.2.0+rpt20240215-1) ... Selecting previously unselected package liblivemedia-dev:arm64. Preparing to unpack .../10-liblivemedia-dev_2020.01.19-1+build1_arm64.deb ... Unpacking liblivemedia-dev:arm64 (2020.01.19-1+build1) ... Selecting previously unselected package libssl-dev:arm64. Preparing to unpack .../11-libssl-dev_3.0.11-1~deb12u2+rpt1_arm64.deb ... Unpacking libssl-dev:arm64 (3.0.11-1~deb12u2+rpt1) ... Selecting previously unselected package xxd. Preparing to unpack .../12-xxd_2%3a9.0.1378-2_arm64.deb ... Unpacking xxd (2:9.0.1378-2) ... Setting up libavutil-dev:arm64 (8:5.1.4-0+rpt2+deb12u1) ... Setting up libswresample-dev:arm64 (8:5.1.4-0+rpt2+deb12u1) ... Setting up libavcodec-dev:arm64 (8:5.1.4-0+rpt2+deb12u1) ... Setting up libavformat-dev:arm64 (8:5.1.4-0+rpt2+deb12u1) ... Setting up libcamera-dev:arm64 (0.2.0+rpt20240215-1) ... Setting up xxd (2:9.0.1378-2) ... Setting up libuv1:arm64 (1.44.2-1) ... Setting up libssl-dev:arm64 (3.0.11-1~deb12u2+rpt1) ... Setting up libjsoncpp25:arm64 (1.9.5-4) ... Setting up librhash0:arm64 (1.4.3-3) ... Setting up cmake-data (3.25.1-1) ... Setting up liblivemedia-dev:arm64 (2020.01.19-1+build1) ... Setting up cmake (3.25.1-1) ... Processing triggers for man-db (2.11.2-2) ... Processing triggers for libc-bin (2.36-9+rpt2+deb12u4) ... root@raspberrypi:/usr/local/src# ============================================================== root@raspberrypi:/usr/local/src# cd camera-streamer/ root@raspberrypi:/usr/local/src/camera-streamer# ============================================================= Copy missed some of: make cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o output/http_h264.o output/http_h264.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o output/http_hls.o output/http_hls.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o output/http_jpeg.o output/http_jpeg.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o output/output.o output/output.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/camera/camera.o device/camera/camera.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/camera/camera_debug.o device/camera/camera_debug.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/camera/camera_decoder.o device/camera/camera_decoder.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/camera/camera_input.o device/camera/camera_input.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/camera/camera_isp.o device/camera/camera_isp.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/camera/camera_output.o device/camera/camera_output.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/camera/camera_pipeline.o device/camera/camera_pipeline.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/camera/camera_rescaller.o device/camera/camera_rescaller.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/dummy/buffer.o device/dummy/buffer.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/dummy/buffer_list.o device/dummy/buffer_list.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/dummy/device.o device/dummy/device.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/dummy/dummy.o device/dummy/dummy.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/libcamera/fake_camera.o device/libcamera/fake_camera.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/v4l2/buffer.o device/v4l2/buffer.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/v4l2/buffer_list.o device/v4l2/buffer_list.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/v4l2/debug.o device/v4l2/debug.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/v4l2/device.o device/v4l2/device.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/v4l2/device_list.o device/v4l2/device_list.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/v4l2/device_media.o device/v4l2/device_media.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/v4l2/device_options.o device/v4l2/device_options.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/v4l2/v4l2.o device/v4l2/v4l2.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o util/ffmpeg/remuxer.o util/ffmpeg/remuxer.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o util/http/http.o util/http/http.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o util/http/http_methods.o util/http/http_methods.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o util/opts/control.o util/opts/control.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o util/opts/fourcc.o util/opts/fourcc.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o util/opts/log.o util/opts/log.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o util/opts/opts.o util/opts/opts.c g++ -std=c++17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/libcamera/buffer.o device/libcamera/buffer.cc g++ -std=c++17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/libcamera/buffer_list.o device/libcamera/buffer_list.cc g++ -std=c++17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/libcamera/device.o device/libcamera/device.cc g++ -std=c++17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/libcamera/libcamera.o device/libcamera/libcamera.cc g++ -std=c++17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o device/libcamera/options.o device/libcamera/options.cc g++ -std=c++17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o output/rtsp/rtsp.o output/rtsp/rtsp.cc g++ -std=c++17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o output/webrtc/webrtc.o output/webrtc/webrtc.cc xxd -i html/control.html > html/control.html.c.tmp mv html/control.html.c.tmp html/control.html.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o html/control.html.o html/control.html.c xxd -i html/index.html > html/index.html.c.tmp mv html/index.html.c.tmp html/index.html.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o html/index.html.o html/index.html.c xxd -i html/webrtc.html > html/webrtc.html.c.tmp mv html/webrtc.html.c.tmp html/webrtc.html.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o html/webrtc.html.o html/webrtc.html.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o cmd/camera-streamer/http.o cmd/camera-streamer/http.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o cmd/camera-streamer/main.o cmd/camera-streamer/main.c cc -std=gnu17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o cmd/camera-streamer/opts.o cmd/camera-streamer/opts.c g++ -std=c++17 -MMD -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -c -o cmd/camera-streamer/status.o cmd/camera-streamer/status.cc [ -e third_party/libdatachannel/build/Makefile ] || cmake -S third_party/libdatachannel -B third_party/libdatachannel/build -- The CXX compiler identification is GNU 12.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- The C compiler identification is GNU 12.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- No build type selected, using DEBUG -- Looking for include file sys/queue.h -- Looking for include file sys/queue.h - found -- Looking for include files sys/socket.h, linux/if_addr.h -- Looking for include files sys/socket.h, linux/if_addr.h - found -- Looking for include files sys/socket.h, linux/rtnetlink.h -- Looking for include files sys/socket.h, linux/rtnetlink.h - found -- Looking for 4 include files sys/types.h, ..., netinet/ip_icmp.h -- Looking for 4 include files sys/types.h, ..., netinet/ip_icmp.h - found -- Looking for 3 include files sys/types.h, ..., net/route.h -- Looking for 3 include files sys/types.h, ..., net/route.h - found -- Looking for include file stdatomic.h -- Looking for include file stdatomic.h - found -- Looking for usrsctp.h -- Looking for usrsctp.h - found -- Performing Test have_sa_len -- Performing Test have_sa_len - Failed -- Performing Test have_sin_len -- Performing Test have_sin_len - Failed -- Performing Test have_sin6_len -- Performing Test have_sin6_len - Failed -- Performing Test have_sconn_len -- Performing Test have_sconn_len - Failed -- Performing Test has_wfloat_equal -- Performing Test has_wfloat_equal - Success -- Performing Test has_wshadow -- Performing Test has_wshadow - Success -- Performing Test has_wpointer_aritih -- Performing Test has_wpointer_aritih - Success -- Performing Test has_wunreachable_code -- Performing Test has_wunreachable_code - Success -- Performing Test has_winit_self -- Performing Test has_winit_self - Success -- Performing Test has_wno_unused_function -- Performing Test has_wno_unused_function - Success -- Performing Test has_wno_unused_parameter -- Performing Test has_wno_unused_parameter - Success -- Performing Test has_wno_unreachable_code -- Performing Test has_wno_unreachable_code - Success -- Performing Test has_wstrict_prototypes -- Performing Test has_wstrict_prototypes - Success -- Compiler flags (CMAKE_C_FLAGS): -std=c99 -pedantic -Wall -Wextra -Wfloat-equal -Wshadow -Wpointer-arith -Wunreachable-code -Winit-self -Wno-unused-function -Wno-unused-parameter -Wno-unreachable-code -Wstrict-prototypes -Werror -- Performing Test has_wno_address_of_packed_member -- Performing Test has_wno_address_of_packed_member - Success -- Performing Test has_wno_deprecated_declarations -- Performing Test has_wno_deprecated_declarations - Success -- Looking for arpa/inet.h -- Looking for arpa/inet.h - found -- Looking for byteswap.h -- Looking for byteswap.h - found -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for machine/types.h -- Looking for machine/types.h - not found -- Looking for netinet/in.h -- Looking for netinet/in.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stdlib.h -- Looking for stdlib.h - found -- Looking for sys/int_types.h -- Looking for sys/int_types.h - not found -- Looking for sys/socket.h -- Looking for sys/socket.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for windows.h -- Looking for windows.h - not found -- Looking for winsock2.h -- Looking for winsock2.h - not found -- Looking for sigaction -- Looking for sigaction - found -- Looking for inet_aton -- Looking for inet_aton - found -- Looking for usleep -- Looking for usleep - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of uint8_t -- Check size of uint8_t - done -- Check size of uint16_t -- Check size of uint16_t - done -- Check size of uint32_t -- Check size of uint32_t - done -- Check size of uint64_t -- Check size of uint64_t - done -- Check size of int32_t -- Check size of int32_t - done -- Check size of unsigned long -- Check size of unsigned long - done -- Check size of unsigned long long -- Check size of unsigned long long - done -- Performing Test HAVE_INLINE -- Performing Test HAVE_INLINE - Success -- Found OpenSSL: /usr/lib/aarch64-linux-gnu/libcrypto.so (found version "3.0.11") -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_HAS_DEPRECATED_ATTR -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success -- Using the single-header code from /usr/local/src/camera-streamer/third_party/libdatachannel/deps/json/single_include/ -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/camera-streamer/third_party/libdatachannel/build make -C third_party/libdatachannel/build datachannel-static make[2]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[3]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[4]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' [ 0%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/addr.c.o [ 2%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/agent.c.o [ 2%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/crc32.c.o [ 2%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/const_time.c.o [ 4%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/conn.c.o [ 4%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/conn_poll.c.o [ 4%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/conn_thread.c.o [ 7%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/conn_mux.c.o [ 7%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/base64.c.o [ 7%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/hash.c.o [ 9%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/hmac.c.o [ 9%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/ice.c.o [ 9%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/juice.c.o [ 12%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/log.c.o [ 12%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/random.c.o [ 14%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/server.c.o [ 14%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/stun.c.o [ 14%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/timestamp.c.o [ 17%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/turn.c.o [ 17%] Building C object deps/libjuice/CMakeFiles/juice-static.dir/src/udp.c.o [ 17%] Linking C static library libjuice-static.a make[5]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' [ 17%] Built target juice-static make[5]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' [ 17%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_asconf.c.o [ 19%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_auth.c.o [ 19%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_bsd_addr.c.o [ 19%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_callout.c.o [ 21%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_cc_functions.c.o [ 21%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_crc32.c.o [ 21%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_indata.c.o [ 24%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_input.c.o [ 24%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_output.c.o [ 24%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_pcb.c.o [ 26%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_peeloff.c.o [ 26%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_sha1.c.o [ 29%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_ss_functions.c.o [ 29%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_sysctl.c.o [ 29%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_timer.c.o [ 31%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_userspace.c.o [ 31%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctp_usrreq.c.o [ 31%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet/sctputil.c.o [ 34%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/netinet6/sctp6_usrreq.c.o [ 34%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/user_environment.c.o [ 34%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/user_mbuf.c.o [ 36%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/user_recv_thread.c.o [ 36%] Building C object deps/usrsctp/usrsctplib/CMakeFiles/usrsctp.dir/user_socket.c.o [ 39%] Linking C static library libusrsctp.a make[5]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' [ 39%] Built target usrsctp make[5]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' [ 39%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/srtp/srtp.c.o [ 41%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/cipher/cipher.c.o [ 41%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/cipher/cipher_test_cases.c.o [ 41%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/cipher/null_cipher.c.o [ 43%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/cipher/aes_icm_ossl.c.o [ 43%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/cipher/aes_gcm_ossl.c.o [ 43%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/hash/auth.c.o [ 46%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/hash/auth_test_cases.c.o [ 46%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/hash/null_auth.c.o [ 48%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/hash/hmac_ossl.c.o /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c: In function ‘srtp_hmac_alloc’: /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c:106:5: warning: ‘HMAC_CTX_new’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 106 | (*a)->state = HMAC_CTX_new(); | ^ In file included from /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c:54: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c: In function ‘srtp_hmac_dealloc’: /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c:136:5: warning: ‘HMAC_CTX_free’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 136 | HMAC_CTX_free(hmac_ctx); | ^~~~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c: In function ‘srtp_hmac_start’: /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c:152:5: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 152 | if (HMAC_Init_ex(state, NULL, 0, NULL, NULL) == 0) | ^~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c: In function ‘srtp_hmac_init’: /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c:164:5: warning: ‘HMAC_Init_ex’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 164 | if (HMAC_Init_ex(state, key, key_len, EVP_sha1(), NULL) == 0) | ^~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c: In function ‘srtp_hmac_update’: /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c:179:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 179 | if (HMAC_Update(state, message, msg_octets) == 0) | ^~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c: In function ‘srtp_hmac_compute’: /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c:205:5: warning: ‘HMAC_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 205 | if (HMAC_Update(state, message, msg_octets) == 0) | ^~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/deps/libsrtp/crypto/hash/hmac_ossl.c:208:5: warning: ‘HMAC_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 208 | if (HMAC_Final(state, hash_value, &len) == 0) | ^~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 48%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/kernel/alloc.c.o [ 48%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/kernel/crypto_kernel.c.o [ 51%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/kernel/err.c.o [ 51%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/kernel/key.c.o [ 51%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/math/datatypes.c.o [ 53%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/replay/rdb.c.o [ 53%] Building C object deps/libsrtp/CMakeFiles/srtp2.dir/crypto/replay/rdbx.c.o [ 53%] Linking C static library libsrtp2.a make[5]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' [ 53%] Built target srtp2 make[5]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[5]: Entering directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' [ 53%] Building CXX object CMakeFiles/datachannel-static.dir/src/candidate.cpp.o [ 53%] Building CXX object CMakeFiles/datachannel-static.dir/src/channel.cpp.o [ 56%] Building CXX object CMakeFiles/datachannel-static.dir/src/configuration.cpp.o [ 56%] Building CXX object CMakeFiles/datachannel-static.dir/src/datachannel.cpp.o [ 56%] Building CXX object CMakeFiles/datachannel-static.dir/src/description.cpp.o [ 58%] Building CXX object CMakeFiles/datachannel-static.dir/src/global.cpp.o [ 58%] Building CXX object CMakeFiles/datachannel-static.dir/src/message.cpp.o [ 60%] Building CXX object CMakeFiles/datachannel-static.dir/src/peerconnection.cpp.o [ 60%] Building CXX object CMakeFiles/datachannel-static.dir/src/rtcpreceivingsession.cpp.o [ 60%] Building CXX object CMakeFiles/datachannel-static.dir/src/track.cpp.o [ 63%] Building CXX object CMakeFiles/datachannel-static.dir/src/websocket.cpp.o [ 63%] Building CXX object CMakeFiles/datachannel-static.dir/src/websocketserver.cpp.o [ 63%] Building CXX object CMakeFiles/datachannel-static.dir/src/rtppacketizationconfig.cpp.o [ 65%] Building CXX object CMakeFiles/datachannel-static.dir/src/rtcpsrreporter.cpp.o [ 65%] Building CXX object CMakeFiles/datachannel-static.dir/src/rtppacketizer.cpp.o [ 65%] Building CXX object CMakeFiles/datachannel-static.dir/src/opusrtppacketizer.cpp.o [ 68%] Building CXX object CMakeFiles/datachannel-static.dir/src/opuspacketizationhandler.cpp.o [ 68%] Building CXX object CMakeFiles/datachannel-static.dir/src/h264rtppacketizer.cpp.o [ 70%] Building CXX object CMakeFiles/datachannel-static.dir/src/nalunit.cpp.o [ 70%] Building CXX object CMakeFiles/datachannel-static.dir/src/h264packetizationhandler.cpp.o [ 70%] Building CXX object CMakeFiles/datachannel-static.dir/src/mediachainablehandler.cpp.o [ 73%] Building CXX object CMakeFiles/datachannel-static.dir/src/mediahandlerelement.cpp.o [ 73%] Building CXX object CMakeFiles/datachannel-static.dir/src/mediahandlerrootelement.cpp.o [ 73%] Building CXX object CMakeFiles/datachannel-static.dir/src/rtcpnackresponder.cpp.o [ 75%] Building CXX object CMakeFiles/datachannel-static.dir/src/rtp.cpp.o [ 75%] Building CXX object CMakeFiles/datachannel-static.dir/src/capi.cpp.o [ 75%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/certificate.cpp.o /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp: In static member function ‘static rtc::impl::Certificate rtc::impl::Certificate::Generate(rtc::CertificateType, const std::string&)’: /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:241:46: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 241 | unique_ptr ecc( | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tls.hpp:56, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.hpp:24, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:19: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:242:45: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | EC_KEY_new_by_curve_name(NID_X9_62_prime256v1), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:242:80: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 242 | EC_KEY_new_by_curve_name(NID_X9_62_prime256v1), EC_KEY_free); | ^ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:246:37: warning: ‘void EC_KEY_set_asn1_flag(EC_KEY*, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 246 | EC_KEY_set_asn1_flag(ecc.get(), OPENSSL_EC_NAMED_CURVE); // Set ASN1 OID | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:1087:28: note: declared here 1087 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_set_asn1_flag(EC_KEY *eckey, int asn1_flag); | ^~~~~~~~~~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:247:41: warning: ‘int EC_KEY_generate_key(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 247 | if (!EC_KEY_generate_key(ecc.get()) || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/ec.h:1101:27: note: declared here 1101 | OSSL_DEPRECATEDIN_3_0 int EC_KEY_generate_key(EC_KEY *key); | ^~~~~~~~~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:260:43: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 260 | unique_ptr rsa(RSA_new(), RSA_free); | ^~~~~~~~ In file included from /usr/include/openssl/x509.h:36: /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:260:65: warning: ‘RSA* RSA_new()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 260 | unique_ptr rsa(RSA_new(), RSA_free); | ~~~~~~~^~ /usr/include/openssl/rsa.h:201:28: note: declared here 201 | OSSL_DEPRECATEDIN_3_0 RSA *RSA_new(void); | ^~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:260:77: warning: ‘void RSA_free(RSA*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 260 | unique_ptr rsa(RSA_new(), RSA_free); | ^ /usr/include/openssl/rsa.h:293:28: note: declared here 293 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:266:41: warning: ‘int RSA_generate_key_ex(RSA*, int, BIGNUM*, BN_GENCB*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 266 | !RSA_generate_key_ex(rsa.get(), bits, exponent.get(), NULL) || | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/rsa.h:260:27: note: declared here 260 | OSSL_DEPRECATEDIN_3_0 int RSA_generate_key_ex(RSA *rsa, int bits, BIGNUM *e, | ^~~~~~~~~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.cpp:287:28: warning: ‘int BN_pseudo_rand(BIGNUM*, int, int, int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 287 | !BN_pseudo_rand(serial_number.get(), serialSize, 0, 0) || | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/params.h:16, from /usr/include/openssl/evp.h:32, from /usr/include/openssl/x509.h:29: /usr/include/openssl/bn.h:231:5: note: declared here 231 | int BN_pseudo_rand(BIGNUM *rnd, int bits, int top, int bottom); | ^~~~~~~~~~~~~~ [ 78%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/channel.cpp.o [ 78%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/datachannel.cpp.o [ 78%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/dtlssrtptransport.cpp.o [ 80%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/dtlstransport.cpp.o /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/dtlstransport.cpp: In constructor ‘rtc::impl::DtlsTransport::DtlsTransport(std::shared_ptr, rtc::impl::certificate_ptr, std::optional, verifier_callback, rtc::impl::Transport::state_callback)’: /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/dtlstransport.cpp:439:58: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 439 | auto ecdh = unique_ptr( | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tls.hpp:56, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.hpp:24, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/dtlstransport.hpp:22, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/dtlstransport.cpp:19: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/dtlstransport.cpp:440:45: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 440 | EC_KEY_new_by_curve_name(NID_X9_62_prime256v1), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/dtlstransport.cpp:440:80: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 440 | EC_KEY_new_by_curve_name(NID_X9_62_prime256v1), EC_KEY_free); | ^ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ [ 80%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/icetransport.cpp.o [ 82%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/init.cpp.o [ 82%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/peerconnection.cpp.o [ 82%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/logcounter.cpp.o [ 85%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/sctptransport.cpp.o [ 85%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/threadpool.cpp.o [ 85%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/tls.cpp.o [ 87%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/track.cpp.o [ 87%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/utils.cpp.o [ 87%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/processor.cpp.o [ 90%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/sha.cpp.o /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/sha.cpp: In function ‘rtc::binary rtc::impl::{anonymous}::Sha1(const std::byte*, std::size_t)’: /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/sha.cpp:47:18: warning: ‘int SHA1_Init(SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 47 | SHA1_Init(&ctx); | ~~~~~~~~~^~~~~~ In file included from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/sha.cpp:26: /usr/include/openssl/sha.h:49:27: note: declared here 49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c); | ^~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/sha.cpp:48:20: warning: ‘int SHA1_Update(SHA_CTX*, const void*, size_t)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 48 | SHA1_Update(&ctx, data, size); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:50:27: note: declared here 50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len); | ^~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/sha.cpp:49:19: warning: ‘int SHA1_Final(unsigned char*, SHA_CTX*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 49 | SHA1_Final(reinterpret_cast(output.data()), &ctx); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/sha.h:51:27: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c); | ^~~~~~~~~~ [ 90%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/pollinterrupter.cpp.o [ 92%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/pollservice.cpp.o [ 92%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/tcpserver.cpp.o [ 92%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/tcptransport.cpp.o [ 95%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/tlstransport.cpp.o /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tlstransport.cpp: In constructor ‘rtc::impl::TlsTransport::TlsTransport(std::shared_ptr, std::optional >, rtc::impl::certificate_ptr, rtc::impl::Transport::state_callback)’: /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tlstransport.cpp:351:58: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 351 | auto ecdh = unique_ptr( | ^~~~~~~~~~~ In file included from /usr/include/openssl/x509.h:33, from /usr/include/openssl/ssl.h:31, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tls.hpp:56, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/certificate.hpp:24, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tlstransport.hpp:22, from /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tlstransport.cpp:19: /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tlstransport.cpp:352:45: warning: ‘EC_KEY* EC_KEY_new_by_curve_name(int)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 352 | EC_KEY_new_by_curve_name(NID_X9_62_prime256v1), EC_KEY_free); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/ec.h:998:31: note: declared here 998 | OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_by_curve_name(int nid); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/src/camera-streamer/third_party/libdatachannel/src/impl/tlstransport.cpp:352:80: warning: ‘void EC_KEY_free(EC_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 352 | EC_KEY_new_by_curve_name(NID_X9_62_prime256v1), EC_KEY_free); | ^ /usr/include/openssl/ec.h:1003:28: note: declared here 1003 | OSSL_DEPRECATEDIN_3_0 void EC_KEY_free(EC_KEY *key); | ^~~~~~~~~~~ [ 95%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/verifiedtlstransport.cpp.o [ 95%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/websocket.cpp.o [ 97%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/websocketserver.cpp.o [ 97%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/wstransport.cpp.o [ 97%] Building CXX object CMakeFiles/datachannel-static.dir/src/impl/wshandshake.cpp.o [100%] Linking CXX static library libdatachannel-static.a make[5]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' [100%] Built target datachannel-static make[4]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[3]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' make[2]: Leaving directory '/usr/local/src/camera-streamer/third_party/libdatachannel/build' g++ -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -o camera-streamer device/buffer.o device/buffer_list.o device/buffer_lock.o device/buffer_queue.o device/device.o device/device_list.o device/links.o output/http_ffmpeg.o output/http_h264.o output/http_hls.o output/http_jpeg.o output/output.o device/camera/camera.o device/camera/camera_debug.o device/camera/camera_decoder.o device/camera/camera_input.o device/camera/camera_isp.o device/camera/camera_output.o device/camera/camera_pipeline.o device/camera/camera_rescaller.o device/dummy/buffer.o device/dummy/buffer_list.o device/dummy/device.o device/dummy/dummy.o device/libcamera/fake_camera.o device/v4l2/buffer.o device/v4l2/buffer_list.o device/v4l2/debug.o device/v4l2/device.o device/v4l2/device_list.o device/v4l2/device_media.o device/v4l2/device_options.o device/v4l2/v4l2.o util/ffmpeg/remuxer.o util/http/http.o util/http/http_methods.o util/opts/control.o util/opts/fourcc.o util/opts/log.o util/opts/opts.o device/libcamera/buffer.o device/libcamera/buffer_list.o device/libcamera/device.o device/libcamera/libcamera.o device/libcamera/options.o output/rtsp/rtsp.o output/webrtc/webrtc.o html/control.html.o html/index.html.o html/webrtc.html.o cmd/camera-streamer/http.o cmd/camera-streamer/main.o cmd/camera-streamer/opts.o cmd/camera-streamer/status.o third_party/libdatachannel/build/libdatachannel-static.a -lpthread -lstdc++ -lavcodec -lavformat -lavutil -lcamera -lcamera-base -lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment -Lthird_party/libdatachannel/build -ldatachannel-static -Lthird_party/libdatachannel/build/deps/usrsctp/usrsctplib -lusrsctp -Lthird_party/libdatachannel/build/deps/libsrtp -lsrtp2 -Lthird_party/libdatachannel/build/deps/libjuice -ljuice-static -lcrypto -lssl make[1]: Leaving directory '/usr/local/src/camera-streamer' root@raspberrypi:/usr/local/src/camera-streamer# =============================================================== root@raspberrypi:/usr/local/src/camera-streamer# make install echo "#define GIT_VERSION \"v0.2.8-1-g54bdd9d\"\n#define GIT_REVISION \"54bdd9d\"" > version.h.tmp if g++ -Werror -Wall -g -I/usr/local/src/camera-streamer -D_GNU_SOURCE -Wno-error=deprecated-declarations -DUSE_HW_H264 -DUSE_FFMPEG -DUSE_LIBCAMERA -I/usr/include/libcamera -DUSE_RTSP -I/usr/include/liveMedia -I/usr/include/groupsock -I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment -DUSE_LIBDATACHANNEL -Ithird_party/libdatachannel/include -Ithird_party/libdatachannel/deps/json/include -o tests/libcamera/orientation.o -c tests/libcamera/orientation.cc 2>/dev/null; then \ echo "#define LIBCAMERA_USES_ORIENTATION" >> version.h.tmp; \ else \ echo "#define LIBCAMERA_USES_TRANSFORM" >> version.h.tmp; \ fi diff -u version.h version.h.tmp || mv version.h.tmp version.h rm -f version.h.tmp make camera-streamer make[1]: Entering directory '/usr/local/src/camera-streamer' make[1]: 'camera-streamer' is up to date. make[1]: Leaving directory '/usr/local/src/camera-streamer' install camera-streamer /usr/local/bin/ root@raspberrypi:/usr/local/src/camera-streamer# =========================================================== root@raspberrypi:/usr/local/src/camera-streamer# cd service root@raspberrypi:/usr/local/src/camera-streamer/service# ls -al total 32 drwxr-xr-x 2 root root 4096 Mar 4 07:44 . drwxr-xr-x 17 root root 4096 Mar 4 08:15 .. -rw-r--r-- 1 root root 1047 Mar 4 07:44 camera-streamer-arducam-16MP.service -rw-r--r-- 1 root root 1121 Mar 4 07:44 camera-streamer-arducam-64MP.service -rw-r--r-- 1 root root 758 Mar 4 07:44 camera-streamer-generic-usb-cam.service -rw-r--r-- 1 root root 843 Mar 4 07:44 camera-streamer-raspi-usb-cam.service -rw-r--r-- 1 root root 1104 Mar 4 07:44 camera-streamer-raspi-v2-8MP.service -rw-r--r-- 1 root root 1143 Mar 4 07:44 camera-streamer-raspi-v3-12MP.service root@raspberrypi:/usr/local/src/camera-streamer/service# ================================================================= systemctl enable /usr/local/src/camera-streamer/service/camera-streamer-raspi-v3-12MP.service root@raspberrypi:/usr/local/src# cd /usr/local/bin root@raspberrypi:/usr/local/bin# systemctl enable /usr/local/src/camera-streamer/service/camera-streamer-raspi-v3-12MP.service Created symlink /etc/systemd/system/camera-streamer-raspi-v3-12MP.service → /usr/local/src/camera-streamer/service/camera-streamer-raspi-v3-12MP.service. Created symlink /etc/systemd/system/multi-user.target.wants/camera-streamer-raspi-v3-12MP.service → /usr/local/src/camera-streamer/service/camera-streamer-raspi-v3-12MP.service. root@raspberrypi:/usr/local/bin# root@raspberrypi:/usr/local/bin# systemctl start camera-streamer-raspi-v3-12MP root@raspberrypi:/usr/local/bin# journalctl -xef -u camera-streamer-raspi-v3-12MP ================================================================= root@raspberrypi:/usr/local/bin# journalctl -xef -u camera-streamer-raspi-v3-12MP Mar 04 08:44:00 raspberrypi systemd[1]: camera-streamer-raspi-v3-12MP.service - camera-streamer web camera for Pi Camera Module 3 12MP on Raspberry PI was skipped because of an unmet condition check (ConditionPathExists=/sys/bus/i2c/drivers/imx708/10-001a/video4linux). ░░ Subject: A start job for unit camera-streamer-raspi-v3-12MP.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit camera-streamer-raspi-v3-12MP.service has finished successfully. ░░ ░░ The job identifier is 2113. Mar 04 09:01:47 raspberrypi systemd[1]: camera-streamer-raspi-v3-12MP.service - camera-streamer web camera for Pi Camera Module 3 12MP on Raspberry PI was skipped because of an unmet condition check (ConditionPathExists=/sys/bus/i2c/drivers/imx708/10-001a/video4linux). ░░ Subject: A start job for unit camera-streamer-raspi-v3-12MP.service has finished successfully ░░ Defined-By: systemd ░░ Support: https://www.debian.org/support ░░ ░░ A start job for unit camera-streamer-raspi-v3-12MP.service has finished successfully. ░░ ░░ The job identifier is 2190.