Emmanuel Lepage wrote:
> Hi again,
>
> Seriously, the best way from there is to upgrade you Ubuntu, but in this 
> case, I think you forgot to compile pjproject.
>
> cd libs/pjproject*
> ./configure
> make
>
> Hope it helps!

Per the INSTALL I went to daemon/libs and ran ./compile_pjsip.sh and 
captured output terminating with:

=================================================================
make[2]: Leaving directory 
`/perm/home/dhdurgee/Src/sflphone-1.2.3/daemon/libs/pjproject-2.0.1/pjsip-apps/build'
make[1]: Leaving directory 
`/perm/home/dhdurgee/Src/sflphone-1.2.3/daemon/libs/pjproject-2.0.1/pjsip-apps/build'
pjsip successfully compiled
=================================================================

So that claims the pjproject was successfully compiled. Looking further 
at the log I see no errors but several warnings:

=================================================================
../src/pjnath/stun_msg_dump.c:277:7: warning: dereferencing type-punned 
pointer will break strict-aliasing rules
../src/pjnath/stun_sock.c:473:1: warning: label 
‘TODO___SUPPORT_IPV6_IN_RESOLVER’ defined but not used
../src/pjturn-srv/allocation.c:218:1: warning: label 
‘TODO___ADD_RESERVATION_TOKEN’ defined but not used
../src/pjmedia/converter.c:42:17: warning: unused variable ‘status’
../src/pjmedia/sdp.c:998:1: warning: label 
‘TODO___PARSE_SDP_CONN_ADDRESS_SUBFIELDS’ defined but not used
../src/pjmedia/sdp_neg.c:677:1: warning: label 
‘TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED’ defined 
but not used
../src/pjmedia-codec/audio_codecs.c:37:17: warning: unused variable ‘status’
../src/pjmedia/sdp.c:998:1: warning: label 
‘TODO___PARSE_SDP_CONN_ADDRESS_SUBFIELDS’ defined but not used
../src/pjmedia/sdp_neg.c:677:1: warning: label 
‘TODO___CHECK_SDP_NEGOTIATION_WHEN_ASYMETRIC_MEDIA_IS_ALLOWED’ defined 
but not used
../src/test/mips_test.c:733:22: warning: ‘codec_encode_decode’ defined 
but not used
../src/test/mips_test.c:1682:22: warning: ‘create_stream’ defined but 
not used
../src/test/test.c:53:12: warning: cast from pointer to integer of 
different size
../src/pjsip/sip_endpoint.c:949:1: warning: label 
‘TODO___ENDPT_RESPOND_UNHANDLED_REQUEST’ defined but not used
../src/pjsip/sip_endpoint.c:918:1: warning: label 
‘TODO___ENDPT_REPORT_WHEN_DROPPING_MESSAGE’ defined but not used
../src/pjsip/sip_util.c:856:1: warning: label 
‘TODO___SUPPORT_REQUEST_ADDR_RESOLUTION_FOR_TEL_URI’ defined but not used
../src/pjsip/sip_resolve.c:326:1: warning: label 
‘TODO___SUPPORT_DNS_NAPTR’ defined but not used
../src/pjsip/sip_auth_client.c:532:1: warning: label 
‘TODO___FULL_CLONE_OF_AUTH_CLIENT_SESSION’ defined but not used
../src/pjsip/sip_transaction.c:664:1: warning: label 
‘TODO___FIX_RACE_CONDITION_HERE’ defined but not used
../src/pjsip/sip_transaction.c:812:1: warning: label 
‘TODO___FIX_RACE_CONDITION_HERE’ defined but not used
../src/pjsip/sip_transaction.c:861:1: warning: label 
‘TODO___FIX_RACE_CONDITION_HERE’ defined but not used
../src/pjsip/sip_dialog.c:539:1: warning: label 
‘TODO___DIALOG_APP_TIMER’ defined but not used
../src/pjsip-ua/sip_replaces.c:167:1: warning: label 
‘TODO___provide_initialized_flag_for_each_endpoint’ defined but not used
../src/pjsip-ua/sip_timer.c:500:1: warning: label 
‘TODO___provide_initialized_flag_for_each_endpoint’ defined but not used
../src/pjsua-lib/pjsua_call.c:3349:1: warning: label 
‘TODO___HANDLE_FORKED_DIALOG’ defined but not used
../src/pjsua-lib/pjsua_core.c:2272:1: warning: label 
‘TODO___pjsua_transport_set_enable’ defined but not used
../src/pjsua/pjsua_app.c:816:13: warning: ignoring return value of 
‘freopen’, declared with attribute warn_unused_result
==========================================================================

I don't know if any of the above are critical. Looking again at where 
the make broke I see:

==========================================================================
./.libs/libsflphone.a(libsiplink_la-sipaccount.o): In function 
`SIPAccount::initTlsConfiguration()':
/home/dhdurgee/Src/sflphone-1.2.3/daemon/src/sip/sipaccount.cpp:750: 
undefined reference to `pj_ssl_cipher_get_availables'
./.libs/libsflphone.a(libsiplink_la-sipaccount.o): In function 
`SIPAccount::displayCipherSuite()':
/home/dhdurgee/Src/sflphone-1.2.3/daemon/src/sip/sipaccount.cpp:740: 
undefined reference to `pj_ssl_cipher_name'
./.libs/libsflphone.a(libsiplink_la-siptransport.o): In function 
`SipTransport::createTlsListener(SIPAccount&)':
/home/dhdurgee/Src/sflphone-1.2.3/daemon/src/sip/siptransport.cpp:281: 
undefined reference to `pjsip_tls_transport_start'
==========================================================================

Searching in the source I don't see a definition for 
'pj_ssl_cipher_get_availables' or 'pj_ssl_cipher_name' and the only 
definition I see for 'pjsip_tls_transport_start' is within an 
#ifdef/#endif in footprint.c in the samples subdirectory. I do see a 
number of references to each in context of a 
PJ_DECL(pj_status_t)/PJ_END_DECL, but I am unfamiliar with that construct.

Dave
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to