jami-daemon fails to build with pjsip-2.13: unknown type name 'pj_ice_cand_transport'; did you mean 'pj_ice_cand_type'?
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:214:9: error: unknown type name 'pj_ice_cand_transport'; did you mean 'pj_ice_cand_type'?
pj_ice_cand_transport transport;
^~~~~~~~~~~~~~~~~~~~~
pj_ice_cand_type
/usr/local/include/pjnath/ice_session.h:163:3: note: 'pj_ice_cand_type' declared here
} pj_ice_cand_type;
^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:136:48: error: no member named 'protocol' in 'pj_ice_strans_cfg'
bool isTcpEnabled() const { return config_.protocol == PJ_ICE_TP_TCP; }
~~~~~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:136:60: error: use of undeclared identifier 'PJ_ICE_TP_TCP'; did you mean 'PJ_TURN_TP_TCP'?
bool isTcpEnabled() const { return config_.protocol == PJ_ICE_TP_TCP; }
^~~~~~~~~~~~~
PJ_TURN_TP_TCP
/usr/local/include/pjnath/turn_session.h:148:5: note: 'PJ_TURN_TP_TCP' declared here
PJ_TURN_TP_TCP = 6,
^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:260:23: error: no member named 'protocol' in 'pj_ice_strans_cfg'
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/logger.h:175:83: note: expanded from macro 'JAMI_DBG'
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:260:35: error: use of undeclared identifier 'PJ_ICE_TP_TCP'; did you mean 'PJ_TURN_TP_TCP'?
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^~~~~~~~~~~~~
PJ_TURN_TP_TCP
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/logger.h:175:83: note: expanded from macro 'JAMI_DBG'
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^
/usr/local/include/pjnath/turn_session.h:148:5: note: 'PJ_TURN_TP_TCP' declared here
PJ_TURN_TP_TCP = 6,
^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:272:10: error: no member named 'conn_type' in 'pj_ice_strans_stun_cfg'
stun.conn_type = cfg.stun.conn_type;
~~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:272:31: error: no member named 'conn_type' in 'pj_ice_strans_stun_cfg'
stun.conn_type = cfg.stun.conn_type;
~~~~~~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:275:19: error: no member named 'protocol' in 'pj_ice_strans_cfg'
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/logger.h:175:83: note: expanded from macro 'JAMI_DBG'
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:275:31: error: use of undeclared identifier 'PJ_ICE_TP_TCP'; did you mean 'PJ_TURN_TP_TCP'?
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^~~~~~~~~~~~~
PJ_TURN_TP_TCP
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/logger.h:175:83: note: expanded from macro 'JAMI_DBG'
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^
/usr/local/include/pjnath/turn_session.h:148:5: note: 'PJ_TURN_TP_TCP' declared here
PJ_TURN_TP_TCP = 6,
^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:291:23: error: no member named 'protocol' in 'pj_ice_strans_cfg'
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/logger.h:175:83: note: expanded from macro 'JAMI_DBG'
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:291:35: error: use of undeclared identifier 'PJ_ICE_TP_TCP'; did you mean 'PJ_TURN_TP_TCP'?
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^~~~~~~~~~~~~
PJ_TURN_TP_TCP
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/logger.h:175:83: note: expanded from macro 'JAMI_DBG'
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^
/usr/local/include/pjnath/turn_session.h:148:5: note: 'PJ_TURN_TP_TCP' declared here
PJ_TURN_TP_TCP = 6,
^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:321:19: error: no member named 'protocol' in 'pj_ice_strans_cfg'
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/logger.h:175:83: note: expanded from macro 'JAMI_DBG'
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^~~~~~~~~~~
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:321:31: error: use of undeclared identifier 'PJ_ICE_TP_TCP'; did you mean 'PJ_TURN_TP_TCP'?
(cfg.protocol == PJ_ICE_TP_TCP ? "TCP" : "UDP"),
^~~~~~~~~~~~~
PJ_TURN_TP_TCP
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/logger.h:175:83: note: expanded from macro 'JAMI_DBG'
#define JAMI_DBG(...) ::jami::Logger::log(LOG_DEBUG, __FILE__, __LINE__, true, ##__VA_ARGS__)
^
/usr/local/include/pjnath/turn_session.h:148:5: note: 'PJ_TURN_TP_TCP' declared here
PJ_TURN_TP_TCP = 6,
^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:420:17: error: no member named 'protocol' in 'pj_ice_strans_cfg'
config_.protocol = PJ_ICE_TP_TCP;
~~~~~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:420:28: error: use of undeclared identifier 'PJ_ICE_TP_TCP'; did you mean 'PJ_TURN_TP_TCP'?
config_.protocol = PJ_ICE_TP_TCP;
^~~~~~~~~~~~~
PJ_TURN_TP_TCP
/usr/local/include/pjnath/turn_session.h:148:5: note: 'PJ_TURN_TP_TCP' declared here
PJ_TURN_TP_TCP = 6,
^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:421:22: error: no member named 'conn_type' in 'pj_ice_strans_stun_cfg'
config_.stun.conn_type = PJ_STUN_TP_TCP;
~~~~~~~~~~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:421:34: error: use of undeclared identifier 'PJ_STUN_TP_TCP'; did you mean 'PJ_TURN_TP_TCP'?
config_.stun.conn_type = PJ_STUN_TP_TCP;
^~~~~~~~~~~~~~
PJ_TURN_TP_TCP
/usr/local/include/pjnath/turn_session.h:148:5: note: 'PJ_TURN_TP_TCP' declared here
PJ_TURN_TP_TCP = 6,
^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:424:17: error: no member named 'protocol' in 'pj_ice_strans_cfg'
config_.protocol = PJ_ICE_TP_UDP;
~~~~~~~ ^
/usr/ports/net-im/jami-daemon/work/jami-daemon-3062351d377cc055a4bcc697ec4501a22d534229/src/connectivity/ice_transport.cpp:424:28: error: use of undeclared identifier 'PJ_ICE_TP_UDP'; did you mean 'PJ_TURN_TP_UDP'?
config_.protocol = PJ_ICE_TP_UDP;
^~~~~~~~~~~~~
PJ_TURN_TP_UDP
/usr/local/include/pjnath/turn_session.h:143:5: note: 'PJ_TURN_TP_UDP' declared here
PJ_TURN_TP_UDP = 17,
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
rev. 3062351d
pjsip-2.13 (the latest version of pjproject)
clang-14
FreeBSD 13.1