Open phamhieptel4vn opened 1 year ago
mv -f src/.deps/drachtio-invite-in-progress.Tpo src/.deps/drachtio-invite-in-progress.Po
g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -I../deps/sofia-sip/libsofia-sip-ua/su -I../deps/sofia-sip/libsofia-sip-ua/nta -I../deps/sofia-sip/libsofia-sip-ua/sip -I../deps/sofia-sip/libsofia-sip-ua/msg -I../deps/sofia-sip/libsofia-sip-ua/url -I../deps/sofia-sip/libsofia-sip-ua/tport -I../deps/sofia-sip/libsofia-sip-ua/bnf -I../deps/jansson/src -I../deps/cpp-bredis/include -I../deps/prometheus-cpp/build/include -I/usr/local/include -D_REENTRANT -DDRACHTIO_VERSION=\"1.0.0\" -Wno-error=deprecated-declarations -DBOOST_ALLOW_DEPRECATED_HEADERS -DBOOST_LOG_DYN_LINK -O2 -Wno-stringop-overflow -DNDEBUG -g -O2 -MT src/drachtio-blacklist.o -MD -MP -MF src/.deps/drachtio-blacklist.Tpo -c -o src/drachtio-blacklist.o test -f 'src/blacklist.cpp' || echo '../'
src/blacklist.cpp
In file included from ../deps/cpp-bredis/include/bredis.hpp:9,
from ../src/blacklist.cpp:25:
../deps/cpp-bredis/include/bredis/Command.hpp:34:33: error: ‘enable_if_t’ in namespace ‘boost’ does not name a template type
typename = boost::enable_if_t<detail::are_all_constructible<
^~~
../deps/cpp-bredis/include/bredis/Command.hpp:34:26: note: suggested alternative: ‘enable_if_c’
typename = boost::enable_if_t<detail::are_all_constructible<
^~~~~
enable_if_c
../deps/cpp-bredis/include/bredis/Command.hpp:34:44: error: expected ‘>’ before ‘<’ token
typename = boost::enable_if_t<detail::are_all_constructible<
^
../deps/cpp-bredis/include/bredis/Command.hpp:41:33: error: ‘enable_if_t’ in namespace ‘boost’ does not name a template type
typename = boost::enable_if_t<std::is_constructible<
^~~
../deps/cpp-bredis/include/bredis/Command.hpp:41:26: note: suggested alternative: ‘enable_if_c’
typename = boost::enable_if_t<std::is_constructible<
^~~~~
enable_if_c
../deps/cpp-bredis/include/bredis/Command.hpp:41:44: error: expected ‘>’ before ‘<’ token
typename = boost::enable_if_t<std::is_constructible<
^
../src/blacklist.cpp: In function ‘bool drachtio::QueryRedis(boost::asio::io_context&, std::cxx11::string, const endpoint&, std::unordered_set<std::__cxx11::basic_string~~~
../deps/cpp-bredis/include/bredis/Command.hpp:44:5: note: template argument deduction/substitution failed:
../src/blacklist.cpp:53:57: note: deduced conflicting types for parameter ‘InputIterator’ (‘const char*’ and ‘std::~~~
../deps/cpp-bredis/include/bredis/Command.hpp:36:5: note: template argument deduction/substitution failed:
../deps/cpp-bredis/include/bredis/Command.hpp:30:8: note: candidate: ‘bredis::single_command_t::single_command_t(const bredis::single_command_t&)’
struct single_command_t {
^~~~
../deps/cpp-bredis/include/bredis/Command.hpp:30:8: note: candidate expects 1 argument, 2 provided
../deps/cpp-bredis/include/bredis/Command.hpp:30:8: note: candidate: ‘bredis::single_command_t::single_command_t(bredis::single_command_t&&)’
../deps/cpp-bredis/include/bredis/Command.hpp:30:8: note: candidate expects 1 argument, 2 provided
make[1]: [Makefile:952: src/drachtio-blacklist.o] Error 1
make[1]: Leaving directory '/usr/src/drachtio-server/build'
make: [Makefile:459: all] Error 2
I try build drachtio-server and have install all package require for drachtio-server. When I run command make then show error