Hi David. Did you find out how to build pjsip for iPhone with TLS enabled? I'm struggling trying to find a solution to this also. Any news on the topic would be welcome from either party. Best regards, Even Andr? On 22. okt. 2010, at 15.23, David Artman wrote: > > Thanks much -- and I made a mistake -- ./configure detects openssl/ssl.h, > but ./iphone-configure does not, and comes back with ** OpenSSL libraries > not found, disabling SSL support **. Using find, the only copies of > openssl/ssl.h on my drive are: > > /Developer/SDKs/MacOSX10.5.sdk/usr/include/openssl/ssl.h > /Developer/SDKs/MacOSX10.6.sdk/usr/include/openssl/ssl.h > /Developer/Xcode3.2.3/SDKs/MacOSX10.5.sdk/usr/include/openssl/ssl.h > /Developer/Xcode3.2.3/SDKs/MacOSX10.6.sdk/usr/include/openssl/ssl.h > /usr/include/openssl/ssl.h > > > Anyone know if I can safely copy the openssl folder from the OS X sdk to > the iPhone sdk? Or would I need to somehow get an iPhone sdk version of > the openssl files? > > On 10/22/10 8:53 AM, "Benny Prijono" <bennylp at teluu.com> wrote: > >> Since 1.5, the way to enable TLS is to #define PJ_HAS_SSL_SOCK 1 >> >> See https://trac.pjsip.org/repos/wiki/TLS >> >> Best regards, >> Benny >> >> >> On Fri, Oct 22, 2010 at 4:58 AM, David Artman >> <david.artman at millicorp.com> wrote: >>> The last few lines of make are: >>> --------------------------------------------- >>> "_pj_ssl_sock_send", referenced from: >>> _tls_keep_alive_timer in >>> libpjsip-arm-apple-darwin9.a(sip_transport_tls.o) >>> _tls_send_msg in libpjsip-arm-apple-darwin9.a(sip_transport_tls.o) >>> _on_connect_complete in >>> libpjsip-arm-apple-darwin9.a(sip_transport_tls.o) >>> "_pj_ssl_sock_start_read2", referenced from: >>> _tls_start_read in >>> libpjsip-arm-apple-darwin9.a(sip_transport_tls.o)ld: symbol(s) not found >>> collect2: ld returned 1 exit status >>> make[2]: *** [../bin/pjsua-arm-apple-darwin9] Error 1 >>> make[1]: *** [pjsua] Error 2 >>> make: *** [all] Error 1 >>> -------------------------------------------- >>> I'm building in OS X 10.6.4 for iPhone development. I was able to build >>> successfully without TLS, but I got that error after putting "#define >>> PJSIP_HAS_TLS_TRANSPORT 1" in my config_site.h. I also verified that I >>> have >>> openssl installed (0.9.8l) and that configure-iphone detects openssl >>> ok. Am >>> I missing anything? >>> _______________________________________________ >>> Visit our blog: http://blog.pjsip.org >>> >>> pjsip mailing list >>> pjsip at lists.pjsip.org >>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >>> >>> >> >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip at lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip at lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >