libring build errors on Guix
Hi @sblin , I'm still trying to update Jami on Guix to "20201103.2.b584daa", but I get the following error when building libring. Any ideas what could be the cause? Using GCC 10 seems to silence the "charconv" error, but I still get the rest.
/gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31/include/dirent.h:189:12: note: declared here
extern int __REDIRECT (readdir_r,
^
CXX libring_la-threadloop.lo
CXX libring_la-ip_utils.lo
CXX libring_la-utf8_utils.lo
CXX libring_la-ice_transport.lo
CXX libring_la-string_utils.lo
CXX libring_la-ring_api.lo
string_utils.cpp:31:10: fatal error: charconv: No such file or directory
#include <charconv>
^~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:936: libring_la-string_utils.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
ice_transport.cpp:166:9: error: ‘pj_ice_cand_transport’ does not name a type; did you mean ‘pj_ice_cand_type’?
pj_ice_cand_transport transport;
^~~~~~~~~~~~~~~~~~~~~
pj_ice_cand_type
ice_transport.cpp:177:39: error: ‘pj_ice_cand_transport’ does not name a type; did you mean ‘pj_ice_cand_type’?
const pj_ice_cand_transport& transport);
^~~~~~~~~~~~~~~~~~~~~
pj_ice_cand_type
ice_transport.cpp: In function ‘void jami::add_stun_server(pj_ice_strans_cfg&, int)’:
ice_transport.cpp:223:10: error: ‘struct pj_ice_strans_stun_cfg’ has no member named ‘conn_type’
stun.conn_type = cfg.stun.conn_type;
^~~~~~~~~
ice_transport.cpp:223:31: error: ‘pj_ice_strans_stun_cfg {aka struct pj_ice_strans_stun_cfg}’ has no member named ‘conn_type’
stun.conn_type = cfg.stun.conn_type;
^~~~~~~~~
In file included from ice_transport.cpp:23:0:
ice_transport.cpp:225:56: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
JAMI_DBG("[ice (%s)] added host stun server", (cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"));
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:225:68: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
JAMI_DBG("[ice (%s)] added host stun server", (cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"));
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:225:68: note: suggested alternative: ‘PJ_TURN_TP_TCP’
JAMI_DBG("[ice (%s)] added host stun server", (cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"));
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp: In function ‘void jami::add_stun_server(pj_pool_t&, pj_ice_strans_cfg&, const jami::StunServerInfo&)’:
ice_transport.cpp:240:23: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:240:35: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:240:35: note: suggested alternative: ‘PJ_TURN_TP_TCP’
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:252:10: error: ‘struct pj_ice_strans_stun_cfg’ has no member named ‘conn_type’
stun.conn_type = cfg.stun.conn_type;
^~~~~~~~~
ice_transport.cpp:252:31: error: ‘pj_ice_strans_stun_cfg {aka struct pj_ice_strans_stun_cfg}’ has no member named ‘conn_type’
stun.conn_type = cfg.stun.conn_type;
^~~~~~~~~
In file included from ice_transport.cpp:23:0:
ice_transport.cpp:255:19: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:255:31: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:255:31: note: suggested alternative: ‘PJ_TURN_TP_TCP’
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp: In function ‘void jami::add_turn_server(pj_pool_t&, pj_ice_strans_cfg&, const jami::TurnServerInfo&)’:
ice_transport.cpp:271:23: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:271:35: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:271:35: note: suggested alternative: ‘PJ_TURN_TP_TCP’
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:301:19: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:301:31: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:301:31: note: suggested alternative: ‘PJ_TURN_TP_TCP’
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp: In constructor ‘jami::IceTransport::Impl::Impl(const char*, int, bool, const jami::IceTransportOptions&)’:
ice_transport.cpp:333:17: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
config_.protocol = PJ_ICE_TP_TCP;
^~~~~~~~
ice_transport.cpp:333:28: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
config_.protocol = PJ_ICE_TP_TCP;
^~~~~~~~~~~~~
ice_transport.cpp:333:28: note: suggested alternative: ‘PJ_TURN_TP_TCP’
config_.protocol = PJ_ICE_TP_TCP;
^~~~~~~~~~~~~
PJ_TURN_TP_TCP
ice_transport.cpp:334:22: error: ‘pj_ice_strans_stun_cfg {aka struct pj_ice_strans_stun_cfg}’ has no member named ‘conn_type’
config_.stun.conn_type = PJ_STUN_TP_TCP;
^~~~~~~~~
ice_transport.cpp:334:34: error: ‘PJ_STUN_TP_TCP’ was not declared in this scope
config_.stun.conn_type = PJ_STUN_TP_TCP;
^~~~~~~~~~~~~~
ice_transport.cpp:334:34: note: suggested alternative: ‘PJ_TURN_TP_TCP’
config_.stun.conn_type = PJ_STUN_TP_TCP;
^~~~~~~~~~~~~~
PJ_TURN_TP_TCP
ice_transport.cpp:337:17: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
config_.protocol = PJ_ICE_TP_UDP;
^~~~~~~~
ice_transport.cpp:337:28: error: ‘PJ_ICE_TP_UDP’ was not declared in this scope
config_.protocol = PJ_ICE_TP_UDP;
^~~~~~~~~~~~~
ice_transport.cpp:337:28: note: suggested alternative: ‘PJ_TURN_TP_UDP’
config_.protocol = PJ_ICE_TP_UDP;
^~~~~~~~~~~~~
PJ_TURN_TP_UDP
ice_transport.cpp:338:22: error: ‘pj_ice_strans_stun_cfg {aka struct pj_ice_strans_stun_cfg}’ has no member named ‘conn_type’
config_.stun.conn_type = PJ_STUN_TP_UDP;
^~~~~~~~~
ice_transport.cpp:338:34: error: ‘PJ_STUN_TP_UDP’ was not declared in this scope
config_.stun.conn_type = PJ_STUN_TP_UDP;
^~~~~~~~~~~~~~
ice_transport.cpp:338:34: note: suggested alternative: ‘PJ_TURN_TP_UDP’
config_.stun.conn_type = PJ_STUN_TP_UDP;
^~~~~~~~~~~~~~
PJ_TURN_TP_UDP
ice_transport.cpp:390:11: error: ‘pj_ice_strans_cb {aka struct pj_ice_strans_cb}’ has no member named ‘on_destroy’
icecb.on_destroy = [](pj_ice_strans* ice_st) {
^~~~~~~~~~
In file included from ice_transport.cpp:23:0:
ice_transport.cpp: In member function ‘void jami::IceTransport::Impl::onComplete(pj_ice_strans*, pj_ice_strans_op, pj_status_t)’:
ice_transport.cpp:562:27: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:562:39: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:562:39: note: suggested alternative: ‘PJ_TURN_TP_TCP’
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:568:27: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:155:81: note: in definition of macro ‘JAMI_ERR’
#define JAMI_ERR(...) ::jami::Logger::log(LOG_ERR, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:568:39: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:155:81: note: in definition of macro ‘JAMI_ERR’
#define JAMI_ERR(...) ::jami::Logger::log(LOG_ERR, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:568:39: note: suggested alternative: ‘PJ_TURN_TP_TCP’
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:155:81: note: in definition of macro ‘JAMI_ERR’
#define JAMI_ERR(...) ::jami::Logger::log(LOG_ERR, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:609:31: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:609:43: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp:609:43: note: suggested alternative: ‘PJ_TURN_TP_TCP’
(config_.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^
logger.h:153:83: note: in definition of macro ‘JAMI_DBG’
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
ice_transport.cpp: In member function ‘std::vector<jami::IceTransport::Impl::LocalCandidate> jami::IceTransport::Impl::getLocalICECandidates(unsigned int) const’:
ice_transport.cpp:746:53: error: ‘pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
cand_addrs.push_back({cand[i].addr, cand[i].transport});
^~~~~~~~~
transport_id
ice_transport.cpp:746:63: error: no matching function for call to ‘std::vector<jami::IceTransport::Impl::LocalCandidate>::push_back(<brace-enclosed initializer list>)’
cand_addrs.push_back({cand[i].addr, cand[i].transport});
^
In file included from /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/vector:64:0,
from ip_utils.h:57,
from generic_io.h:23,
from ice_socket.h:22,
from ice_transport.h:23,
from ice_transport.cpp:21:
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/bits/stl_vector.h:939:7: note: candidate: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = jami::IceTransport::Impl::LocalCandidate; _Alloc = std::allocator<jami::IceTransport::Impl::LocalCandidate>; std::vector<_Tp, _Alloc>::value_type = jami::IceTransport::Impl::LocalCandidate]
push_back(const value_type& __x)
^~~~~~~~~
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/bits/stl_vector.h:939:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘const value_type& {aka const jami::IceTransport::Impl::LocalCandidate&}’
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/bits/stl_vector.h:953:7: note: candidate: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = jami::IceTransport::Impl::LocalCandidate; _Alloc = std::allocator<jami::IceTransport::Impl::LocalCandidate>; std::vector<_Tp, _Alloc>::value_type = jami::IceTransport::Impl::LocalCandidate]
push_back(value_type&& __x)
^~~~~~~~~
/gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/include/c++/bits/stl_vector.h:953:7: note: no known conversion for argument 1 from ‘<brace-enclosed initializer list>’ to ‘std::vector<jami::IceTransport::Impl::LocalCandidate>::value_type&& {aka jami::IceTransport::Impl::LocalCandidate&&}’
ice_transport.cpp: At global scope:
ice_transport.cpp:756:50: error: ‘pj_ice_cand_transport’ does not name a type; did you mean ‘pj_ice_cand_type’?
const pj_ice_cand_transport& transport)
^~~~~~~~~~~~~~~~~~~~~
pj_ice_cand_type
ice_transport.cpp: In member function ‘void jami::IceTransport::Impl::addReflectiveCandidate(int, const jami::IpAddr&, const jami::IpAddr&, const int&)’:
ice_transport.cpp:812:10: error: ‘pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
cand.transport = transport;
^~~~~~~~~
transport_id
ice_transport.cpp:824:37: error: ‘pj_ice_strans_get_ice_sess’ was not declared in this scope
auto ret = pj_ice_sess_add_cand(pj_ice_strans_get_ice_sess(icest_.get()),
^~~~~~~~~~~~~~~~~~~~~~~~~~
ice_transport.cpp:824:37: note: suggested alternative: ‘pj_ice_strans_get_role’
auto ret = pj_ice_sess_add_cand(pj_ice_strans_get_ice_sess(icest_.get()),
^~~~~~~~~~~~~~~~~~~~~~~~~~
pj_ice_strans_get_role
ice_transport.cpp:835:42: error: ‘pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
cand.transport);
^~~~~~~~~
transport_id
ice_transport.cpp: In member function ‘void jami::IceTransport::Impl::selectUPnPIceCandidates()’:
ice_transport.cpp:880:31: error: ‘const struct jami::IceTransport::Impl::LocalCandidate’ has no member named ‘transport’
if (candidate.transport == PJ_CAND_TCP_ACTIVE)
^~~~~~~~~
ice_transport.cpp:880:44: error: ‘PJ_CAND_TCP_ACTIVE’ was not declared in this scope
if (candidate.transport == PJ_CAND_TCP_ACTIVE)
^~~~~~~~~~~~~~~~~~
ice_transport.cpp:880:44: note: suggested alternative: ‘PJ_DNS_TYPE_ATMA’
if (candidate.transport == PJ_CAND_TCP_ACTIVE)
^~~~~~~~~~~~~~~~~~
PJ_DNS_TYPE_ATMA
ice_transport.cpp:886:43: error: ‘const struct jami::IceTransport::Impl::LocalCandidate’ has no member named ‘transport’
auto portType = candidate.transport == PJ_CAND_UDP ? upnp::PortType::UDP
^~~~~~~~~
ice_transport.cpp:886:56: error: ‘PJ_CAND_UDP’ was not declared in this scope
auto portType = candidate.transport == PJ_CAND_UDP ? upnp::PortType::UDP
^~~~~~~~~~~
ice_transport.cpp:886:56: note: suggested alternative: ‘PJ_SOL_UDP’
auto portType = candidate.transport == PJ_CAND_UDP ? upnp::PortType::UDP
^~~~~~~~~~~
PJ_SOL_UDP
ice_transport.cpp: In lambda function:
ice_transport.cpp:919:66: error: ‘const struct jami::IceTransport::Impl::LocalCandidate’ has no member named ‘transport’
candidate.transport);
^~~~~~~~~
ice_transport.cpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > jami::IceTransport::getLocalCandidates(unsigned int) const’:
ice_transport.cpp:1218:25: error: ‘pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
val << (cand[i].transport == PJ_CAND_UDP ? " UDP " : " TCP ");
^~~~~~~~~
transport_id
ice_transport.cpp:1218:38: error: ‘PJ_CAND_UDP’ was not declared in this scope
val << (cand[i].transport == PJ_CAND_UDP ? " UDP " : " TCP ");
^~~~~~~~~~~
ice_transport.cpp:1218:38: note: suggested alternative: ‘PJ_SOL_UDP’
val << (cand[i].transport == PJ_CAND_UDP ? " UDP " : " TCP ");
^~~~~~~~~~~
PJ_SOL_UDP
ice_transport.cpp:1224:21: error: ‘pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
if (cand[i].transport != PJ_CAND_UDP) {
^~~~~~~~~
transport_id
ice_transport.cpp:1226:29: error: ‘pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
switch (cand[i].transport) {
^~~~~~~~~
transport_id
ice_transport.cpp:1227:18: error: ‘PJ_CAND_TCP_ACTIVE’ was not declared in this scope
case PJ_CAND_TCP_ACTIVE:
^~~~~~~~~~~~~~~~~~
ice_transport.cpp:1227:18: note: suggested alternative: ‘PJ_DNS_TYPE_ATMA’
case PJ_CAND_TCP_ACTIVE:
^~~~~~~~~~~~~~~~~~
PJ_DNS_TYPE_ATMA
ice_transport.cpp:1230:18: error: ‘PJ_CAND_TCP_PASSIVE’ was not declared in this scope
case PJ_CAND_TCP_PASSIVE:
^~~~~~~~~~~~~~~~~~~
ice_transport.cpp:1233:18: error: ‘PJ_CAND_TCP_SO’ was not declared in this scope
case PJ_CAND_TCP_SO:
^~~~~~~~~~~~~~
ice_transport.cpp:1233:18: note: suggested alternative: ‘PJ_DNS_TYPE_SOA’
case PJ_CAND_TCP_SO:
^~~~~~~~~~~~~~
PJ_DNS_TYPE_SOA
ice_transport.cpp: In member function ‘bool jami::IceTransport::registerPublicIP(unsigned int, const jami::IpAddr&)’:
ice_transport.cpp:1268:71: error: ‘const struct jami::IceTransport::Impl::LocalCandidate’ has no member named ‘transport’
pimpl_->addReflectiveCandidate(compId, cand.addr, pubIP, cand.transport);
^~~~~~~~~
ice_transport.cpp: In member function ‘bool jami::IceTransport::getCandidateFromSDP(const string&, jami::IceCandidate&) const’:
ice_transport.cpp:1364:18: error: ‘using IceCandidate = pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
cand.transport = PJ_CAND_TCP_ACTIVE;
^~~~~~~~~
transport_id
ice_transport.cpp:1364:30: error: ‘PJ_CAND_TCP_ACTIVE’ was not declared in this scope
cand.transport = PJ_CAND_TCP_ACTIVE;
^~~~~~~~~~~~~~~~~~
ice_transport.cpp:1364:30: note: suggested alternative: ‘PJ_DNS_TYPE_ATMA’
cand.transport = PJ_CAND_TCP_ACTIVE;
^~~~~~~~~~~~~~~~~~
PJ_DNS_TYPE_ATMA
ice_transport.cpp:1366:18: error: ‘using IceCandidate = pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
cand.transport = PJ_CAND_TCP_PASSIVE;
^~~~~~~~~
transport_id
ice_transport.cpp:1366:30: error: ‘PJ_CAND_TCP_PASSIVE’ was not declared in this scope
cand.transport = PJ_CAND_TCP_PASSIVE;
^~~~~~~~~~~~~~~~~~~
ice_transport.cpp:1368:18: error: ‘using IceCandidate = pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
cand.transport = PJ_CAND_TCP_SO;
^~~~~~~~~
transport_id
ice_transport.cpp:1368:30: error: ‘PJ_CAND_TCP_SO’ was not declared in this scope
cand.transport = PJ_CAND_TCP_SO;
^~~~~~~~~~~~~~
ice_transport.cpp:1368:30: note: suggested alternative: ‘PJ_DNS_TYPE_SOA’
cand.transport = PJ_CAND_TCP_SO;
^~~~~~~~~~~~~~
PJ_DNS_TYPE_SOA
ice_transport.cpp:1374:14: error: ‘using IceCandidate = pj_ice_sess_cand {aka struct pj_ice_sess_cand}’ has no member named ‘transport’; did you mean ‘transport_id’?
cand.transport = PJ_CAND_UDP;
^~~~~~~~~
transport_id
ice_transport.cpp:1374:26: error: ‘PJ_CAND_UDP’ was not declared in this scope
cand.transport = PJ_CAND_UDP;
^~~~~~~~~~~
ice_transport.cpp:1374:26: note: suggested alternative: ‘PJ_SOL_UDP’
cand.transport = PJ_CAND_UDP;
^~~~~~~~~~~
PJ_SOL_UDP
ice_transport.cpp: In member function ‘bool jami::IceTransport::isTCPEnabled()’:
ice_transport.cpp:1569:28: error: ‘pj_ice_strans_cfg {aka struct pj_ice_strans_cfg}’ has no member named ‘protocol’
return pimpl_->config_.protocol == PJ_ICE_TP_TCP;
^~~~~~~~
ice_transport.cpp:1569:40: error: ‘PJ_ICE_TP_TCP’ was not declared in this scope
return pimpl_->config_.protocol == PJ_ICE_TP_TCP;
^~~~~~~~~~~~~
ice_transport.cpp:1569:40: note: suggested alternative: ‘PJ_TURN_TP_TCP’
return pimpl_->config_.protocol == PJ_ICE_TP_TCP;
^~~~~~~~~~~~~
PJ_TURN_TP_TCP
make[3]: *** [Makefile:929: libring_la-ice_transport.lo] Error 1
make[3]: Leaving directory '/tmp/guix-build-libring-20201103.2.b584daa.drv-0/ring-project/daemon/src'
make[2]: *** [Makefile:1028: all-recursive] Error 1
make[2]: Leaving directory '/tmp/guix-build-libring-20201103.2.b584daa.drv-0/ring-project/daemon/src'
make[1]: *** [Makefile:530: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-libring-20201103.2.b584daa.drv-0/ring-project/daemon'
make: *** [Makefile:461: all] Error 2