DA
David Artman
Thu, Oct 21, 2010 9:58 PM
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?
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?
BP
Benny Prijono
Fri, Oct 22, 2010 12:53 PM
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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@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@lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
DA
David Artman
Fri, Oct 22, 2010 1:23 PM
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@teluu.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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@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@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@lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>
>_______________________________________________
>Visit our blog: http://blog.pjsip.org
>
>pjsip mailing list
>pjsip@lists.pjsip.org
>http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
EA
Even André Fiskvik
Wed, Nov 3, 2010 9:13 PM
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@teluu.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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
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@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@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@lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>
>>>
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip@lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
EA
Even André Fiskvik
Wed, Nov 3, 2010 10:35 PM
Ok, got some progress on the topic now.
There should probably be a lot cleaner way of doing this, but what I'm currently doing is:
-
Build the openssl libraries according to guide found at:
-
Symlink the lib and include directories of the openssl armv6 build into
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/
-
Symlink the lib and include directories of the openssl i386 build into
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/
-
Set #define PJ_HAS_SSL_SOCK 1 in config_site.h
PJSIP devs: is there any cleaner way of doing this currently?
The usual way to do this is usually to have an option like;
--with-ssl=<path-to-openssl-dir> ?
Best regards,
Even André
On 3. nov. 2010, at 22.13, Even André Fiskvik wrote:
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@teluu.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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Ok, got some progress on the topic now.
There should probably be a lot cleaner way of doing this, but what I'm currently doing is:
1. Build the openssl libraries according to guide found at:
2. Symlink the lib and include directories of the openssl armv6 build into
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/
3. Symlink the lib and include directories of the openssl i386 build into
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/
3. Set #define PJ_HAS_SSL_SOCK 1 in config_site.h
PJSIP devs: is there any cleaner way of doing this currently?
The usual way to do this is usually to have an option like;
--with-ssl=<path-to-openssl-dir> ?
Best regards,
Even André
On 3. nov. 2010, at 22.13, Even André Fiskvik wrote:
> 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@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@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@lists.pjsip.org
>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>>
>>> pjsip mailing list
>>> pjsip@lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip@lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
EA
Even André Fiskvik
Wed, Nov 3, 2010 10:39 PM
Ok, got some progress on the topic now.
There should probably be a lot cleaner way of doing this, but what I'm currently doing is:
-
Build the openssl libraries according to guide found at:
-
Symlink the lib and include directories of the openssl armv6 build into
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/
-
Symlink the lib and include directories of the openssl i386 build into
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/
-
Set #define PJ_HAS_SSL_SOCK 1 in config_site.h
PJSIP devs: is there any cleaner way of doing this currently?
The usual way to do this is usually to have an option like;
--with-ssl=<path-to-openssl-dir> ?
Best regards,
Even André
On 3. nov. 2010, at 22.13, Even André Fiskvik wrote:
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@teluu.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@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
Sorry, forgot the link to the openssl build guide. The link should be:
http://www.x2on.de/2010/07/13/tutorial-iphone-app-with-compiled-openssl-1-0-0a-library/
Best regards,
Even André
On 3. nov. 2010, at 23.35, Even André Fiskvik wrote:
> Ok, got some progress on the topic now.
> There should probably be a lot cleaner way of doing this, but what I'm currently doing is:
>
> 1. Build the openssl libraries according to guide found at:
>
> 2. Symlink the lib and include directories of the openssl armv6 build into
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk/usr/
>
> 3. Symlink the lib and include directories of the openssl i386 build into
> /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.2.sdk/usr/
>
> 3. Set #define PJ_HAS_SSL_SOCK 1 in config_site.h
>
> PJSIP devs: is there any cleaner way of doing this currently?
> The usual way to do this is usually to have an option like;
> --with-ssl=<path-to-openssl-dir> ?
>
>
> Best regards,
> Even André
>
> On 3. nov. 2010, at 22.13, Even André Fiskvik wrote:
>
>> 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@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@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@lists.pjsip.org
>>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Visit our blog: http://blog.pjsip.org
>>>>
>>>> pjsip mailing list
>>>> pjsip@lists.pjsip.org
>>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>
>>>
>>> _______________________________________________
>>> Visit our blog: http://blog.pjsip.org
>>>
>>> pjsip mailing list
>>> pjsip@lists.pjsip.org
>>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>>
>>
>>
>>
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip@lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>
>
>
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip@lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>