Making all in sip fails with "struct pj_ssl_cert_inf'" has no member named 'raw_chain'
Make aborts while building daemon module from top level make-ring.py or by manually invoking from within the tree.
Here is the full error message::
Making all in sip make[3]: Entering directory '/home/pete/sources/ring-project/daemon/src/sip' CXX libsiplink_la-siptransport.lo siptransport.cpp: In member function 'void jami::SipTransport::stateCallback(pjsip_transport_state, const pjsip_transport_state_info*)': siptransport.cpp:124:56: error: 'pj_ssl_cert_info' {aka 'struct pj_ssl_cert_inf'} has no member named 'raw_chain' 124 | const auto& peers = tlsInfo->remote_cert_info->raw_chain;
siptransport.cpp: In member function 'std::shared_ptrjami::SipTransport jami::SipTransportBroker::getTlsTransport(const std::shared_ptrjami::TlsListener&, const jami::IpAddr&, const string&)': siptransport.cpp:387:9: error: 'pjsip_tpselector' {aka 'struct pjsip_tpselector'} has no member named 'disable_connection_reuse' 387 | sel.disable_connection_reuse = PJ_FALSE; | ^~~~~~~~~~~~~~~~~~~~~~~~ siptransport.cpp: In member function 'std::shared_ptrjami::SipTransport jami::SipTransportBroker::getTlsIceTransport(const std::shared_ptrjami::IceTransport&, unsigned int, const jami::tls::TlsParams&)': siptransport.cpp:421:24: error: 'PJSIP_TRANSPORT_DTLS6' was not declared in this scope; did you mean 'PJSIP_TRANSPORT_TLS6'? 421 | auto type = ipv6 ? PJSIP_TRANSPORT_DTLS6 : PJSIP_TRANSPORT_DTLS; | ^~~~~~~~~~~~~~~~~~~~~ | PJSIP_TRANSPORT_TLS6 siptransport.cpp:421:48: error: 'PJSIP_TRANSPORT_DTLS' was not declared in this scope; did you mean 'PJSIP_TRANSPORT_TLS'? 421 | auto type = ipv6 ? PJSIP_TRANSPORT_DTLS6 : PJSIP_TRANSPORT_DTLS; | ^~~~~~~~~~~~~~~~~~~~ | PJSIP_TRANSPORT_TLS
Build System :: (( /etc/os-release ))
NAME="Devuan GNU/Linux" VERSION_ID="3" VERSION="3 (beowulf)" VERSION_CODENAME=beowulf ID=debian ID_LIKE=debian
GCC and C++ gcc (Debian 9.2.1-6) 9.2.1 20190827
I have installed dependencies ::
- via the make-ring.py script --dependencies
- via apt-get build-dep jami-daemon
- via apt-get build-dep jami
Checked with::
apt-cache depends jami-daemon
I have git pulled in the daemon submodule by hand as well ...
I know so little of C++ but it looks like an include error or missing header or ?? This should break everywhere if so ... so it can not be that...