belabox / srtla Goto Github PK
View Code? Open in Web Editor NEWSRT transport proxy with link aggregation for connection bonding
Home Page: https://www.twitch.tv/rationalirl
License: GNU Affero General Public License v3.0
SRT transport proxy with link aggregation for connection bonding
Home Page: https://www.twitch.tv/rationalirl
License: GNU Affero General Public License v3.0
I've been unable to build the patched srt using the upstream srt build steps, very likely user error.
Any suggestions on how to resolve?
Operating System: Ubuntu 22.10
Kernel: Linux 5.19.0-1011-aws
Architecture: arm64
ubuntu@:~/srt$ sudo apt-get install tclsh pkg-config cmake libssl-dev build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'tcl' instead of 'tclsh'
tcl is already the newest version (8.6.11+1build2).
pkg-config is already the newest version (0.29.2-1ubuntu3).
cmake is already the newest version (3.24.2-1ubuntu1).
libssl-dev is already the newest version (3.0.5-2ubuntu2).
build-essential is already the newest version (12.9ubuntu3).
ubuntu@:~/srt$ ./configure
Running: cmake .
-- BUILD TYPE: Release
-- LOGGING: ENABLED
-- USE_BUSY_WAITING: OFF (default)
-- No WITH_COMPILER_PREFIX - using C++ compiler /usr/bin/c++
-- SSL via pkg-config: -L /usr/lib/aarch64-linux-gnu -I -l;ssl;crypto
-- ENCRYPTION: ENABLED, using: openssl libcrypto
-- SSL libraries: ssl;crypto
-- COMPILER: GNU (/usr/bin/c++) - GNU compat
-- NOTE: GNU 12.2.0 - assuming default C++11.
-- STDCXX_SYNC: OFF
-- DETECTED SYSTEM: LINUX; LINUX=1
-- SRT Sources: /home/ubuntu/srt/srtcore/api.cpp;/home/ubuntu/srt/srtcore/buffer.cpp;/home/ubuntu/srt/srtcore/cache.cpp;/home/ubuntu/srt/srtcore/channel.cpp;/home/ubuntu/srt/srtcore/common.cpp;/home/ubuntu/srt/srtcore/core.cpp;/home/ubuntu/srt/srtcore/crypto.cpp;/home/ubuntu/srt/srtcore/epoll.cpp;/home/ubuntu/srt/srtcore/fec.cpp;/home/ubuntu/srt/srtcore/handshake.cpp;/home/ubuntu/srt/srtcore/list.cpp;/home/ubuntu/srt/srtcore/logger_default.cpp;/home/ubuntu/srt/srtcore/logger_defs.cpp;/home/ubuntu/srt/srtcore/md5.cpp;/home/ubuntu/srt/srtcore/packet.cpp;/home/ubuntu/srt/srtcore/packetfilter.cpp;/home/ubuntu/srt/srtcore/queue.cpp;/home/ubuntu/srt/srtcore/congctl.cpp;/home/ubuntu/srt/srtcore/srt_c_api.cpp;/home/ubuntu/srt/srtcore/window.cpp;/home/ubuntu/srt/srtcore/srt_compat.c;/home/ubuntu/srt/srtcore/sync.cpp;/home/ubuntu/srt/srtcore/sync_posix.cpp
-- APP: srt_virtual: using default C++ standard
-- ADDING TRANSITIVE LINK DEP to:srt_shared :
-- ADDING TRANSITIVE LINK DEP to:srt_static :
-- INSTALL DIRS: bin=bin lib=lib shlib=lib include=include
-- APPS: ENABLED, std=
-- APP: srtsupport_virtual: using default C++ standard
-- APP: srt-live-transmit: using default C++ standard
-- APP: srt-file-transmit: using default C++ standard
-- APP: srt-tunnel: using default C++ standard
-- DEVEL APPS (testing): DISABLED
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/srt
ubuntu@:~/srt$ make
Consolidate compiler generated dependencies of target srt_virtual
[ 2%] Building CXX object CMakeFiles/srt_virtual.dir/srtcore/api.cpp.o
In file included from /home/ubuntu/srt/srtcore/common.h:70,
from /home/ubuntu/srt/srtcore/packet.h:57,
from /home/ubuntu/srt/srtcore/api.h:62,
from /home/ubuntu/srt/srtcore/api.cpp:64:
/home/ubuntu/srt/srtcore/sync.h: In static member function ‘static constexpr srt::sync::TimePoint<Clock> srt::sync::TimePoint<Clock>::min()’:
/home/ubuntu/srt/srtcore/sync.h:182:68: error: ‘numeric_limits’ was not declared in this scope
182 | static inline ATR_CONSTEXPR TimePoint min() { return TimePoint(numeric_limits<uint64_t>::min()); }
| ^~~~~~~~~~~~~~
/home/ubuntu/srt/srtcore/sync.h:182:94: error: ‘::min’ has not been declared; did you mean ‘std::min’?
182 | static inline ATR_CONSTEXPR TimePoint min() { return TimePoint(numeric_limits<uint64_t>::min()); }
| ^~~
| std::min
In file included from /usr/include/c++/12/algorithm:61,
from /home/ubuntu/srt/srtcore/utilities.h:103,
from /home/ubuntu/srt/srtcore/api.cpp:62:
/usr/include/c++/12/bits/stl_algo.h:5736:5: note: ‘std::min’ declared here
5736 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/home/ubuntu/srt/srtcore/sync.h:182:67: error: expected primary-expression before ‘(’ token
182 | static inline ATR_CONSTEXPR TimePoint min() { return TimePoint(numeric_limits<uint64_t>::min()); }
| ^
/home/ubuntu/srt/srtcore/sync.h:182:91: error: expected primary-expression before ‘>’ token
182 | static inline ATR_CONSTEXPR TimePoint min() { return TimePoint(numeric_limits<uint64_t>::min()); }
| ^
/home/ubuntu/srt/srtcore/sync.h:182:94: error: ‘::min’ has not been declared; did you mean ‘std::min’?
182 | static inline ATR_CONSTEXPR TimePoint min() { return TimePoint(numeric_limits<uint64_t>::min()); }
| ^~~
| std::min
/usr/include/c++/12/bits/stl_algo.h:5736:5: note: ‘std::min’ declared here
5736 | min(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/home/ubuntu/srt/srtcore/sync.h: In static member function ‘static constexpr srt::sync::TimePoint<Clock> srt::sync::TimePoint<Clock>::max()’:
/home/ubuntu/srt/srtcore/sync.h:183:68: error: ‘numeric_limits’ was not declared in this scope
183 | static inline ATR_CONSTEXPR TimePoint max() { return TimePoint(numeric_limits<uint64_t>::max()); }
| ^~~~~~~~~~~~~~
/home/ubuntu/srt/srtcore/sync.h:183:94: error: ‘::max’ has not been declared; did you mean ‘std::max’?
183 | static inline ATR_CONSTEXPR TimePoint max() { return TimePoint(numeric_limits<uint64_t>::max()); }
| ^~~
| std::max
/usr/include/c++/12/bits/stl_algo.h:5756:5: note: ‘std::max’ declared here
5756 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
/home/ubuntu/srt/srtcore/sync.h:183:67: error: expected primary-expression before ‘(’ token
183 | static inline ATR_CONSTEXPR TimePoint max() { return TimePoint(numeric_limits<uint64_t>::max()); }
| ^
/home/ubuntu/srt/srtcore/sync.h:183:91: error: expected primary-expression before ‘>’ token
183 | static inline ATR_CONSTEXPR TimePoint max() { return TimePoint(numeric_limits<uint64_t>::max()); }
| ^
/home/ubuntu/srt/srtcore/sync.h:183:94: error: ‘::max’ has not been declared; did you mean ‘std::max’?
183 | static inline ATR_CONSTEXPR TimePoint max() { return TimePoint(numeric_limits<uint64_t>::max()); }
| ^~~
| std::max
/usr/include/c++/12/bits/stl_algo.h:5756:5: note: ‘std::max’ declared here
5756 | max(initializer_list<_Tp> __l, _Compare __comp)
| ^~~
make[2]: *** [CMakeFiles/srt_virtual.dir/build.make:76: CMakeFiles/srt_virtual.dir/srtcore/api.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/srt_virtual.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.