For my sorry,I can’t use Debian 12 now. The platform is using Debian 11 and Debian 10.
I tried to compile in Debian 11 but have follow error:
14.14 In file included from …/core/AmDtlsConnection.h:16:
14.14 In file included from /usr/include/sems/third/botan/tls_policy.h:13:
14.14 /usr/include/sems/third/botan/tls_version.h:34:13: error: expected unqualified-id
14.14 using enum Version_Code;
14.14 ^
14.14 /usr/include/sems/third/botan/tls_version.h:42:34: error: use of undeclared identifier ‘TLS_V13’
14.14 return Protocol_Version(TLS_V13);
14.14 ^
14.14 /usr/include/sems/third/botan/tls_version.h:53:34: error: use of undeclared identifier ‘DTLS_V12’
14.14 return Protocol_Version(DTLS_V12);
14.14 ^
14.14 In file included from …/core/AmAudio.cpp:33:
14.14 In file included from …/core/AmRtpStream.h:39:
14.14 In file included from …/core/AmMediaTransport.h:6:
14.14 In file included from …/core/AmDtlsConnection.h:17:
14.14 In file included from /usr/include/sems/third/botan/tls_channel.h:15:
14.14 /usr/include/sems/third/botan/tls_alert.h:75:13: error: expected unqualified-id
14.14 using enum AlertType;
14.14 ^
14.14 4 errors generated.
14.14 ninja: build stopped: subcommand failed.
This is not SEMS issue but GCC requirements of Botan TLS library, see Release Notes — Botan
Version 3.0.0, 2023-04-11¶
Botan is now a C++20 codebase;
compiler requirements have been increased to GCC 11, Clang 14,
or MSVC 2022. (GH #2455 #3086)
You could try to install gcc11, but I recommend to update your system to debian 12.