Compiling pjsip iOS 5 GM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Whoopp... what's a silly mistake. Thanks for spotting this. I've fixed this
in r3826.

Best regards,
Ming

On Tue, Oct 18, 2011 at 4:23 PM, Even Andr? Fiskvik <eaf at oyatel.com> wrote:

> Well, I'm using the latest revision for the 1.x branch and this solution
> does not seem to be working.
> It still tries to resolve my local hostname. I have also checked that
> PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION is defined and set to 1.
>
> But looking at the code, I think I see the problem pretty clearly :P
>
> The test is the following:
> #if defined(PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION) && \
>     PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION != 0
>
> I think it should be changed to
> #if defined(PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION) && \
>     PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION != 1
>
> Now it performs local resolution even though it is disabled through the
> configuration process with
> PJ_GETHOSTIP_DISABLE_LOCAL_RESOLUTION = 1
>
>
> Best regards,
> Even Andr?
>
> On 18. okt. 2011, at 05:47, Ming wrote:
>
> Hi Even,
>
> The latest ticket regarding this issue is actually ticket #1342
> (http://trac.pjsip.org/repos/ticket/1342), in which we finally decide to
> disable the local host resolution since the previous two solutions actually
> still do not work in all possible cases.
>
> So please let us know if this fixes your problem. Thanks for the report.
>
> Best regard,
> Ming
>
> On Mon, Oct 17, 2011 at 11:13 PM, Even Andr? Fiskvik <eaf at oyatel.com>wrote:
>
>> I've found more issues when compiling and running against iOS 5 on the
>> latest 1.x branch.
>>
>> The problem is reported in this issue:
>> http://trac.pjsip.org/repos/ticket/1246
>> Using CFHost API does not fix the issue of not appending .local to the
>> hostname, and
>> causes the initialization process to stall many times during hostname
>> lookup.
>>
>> I've attached a diff against 1.x branch, rev 3818. The code that fixed the
>> issue for me, using parts of the old fix for this problem.
>>
>>
>>
>>
>>
>> Best regards,
>>
>>       Even Andr? Fiskvik
>> *CTO*   Direkte:
>> E-post:+47 73 10 31 03<http://www.oyatel.no/sipdialers/004773103103/Even+Andr%C3%A9+Fiskvik+direkte/>
>> eaf at oyatel.com Sentralbord:
>> Support:
>> Webside:
>> Blog:
>> Twitter:+47 21 07 48 00<http://www.oyatel.no/sipdialers/004721074800/Oyatel+AS+sentralbord/>
>> +47 21 07 48 50<http://www.oyatel.no/sipdialers/004721074850/Oyatel+AS+support/>
>> www.oyatel.com
>> blog.oyatel.com
>> @Oyatel <http://twitter.com/Oyatel>
>>
>>
>>
>> On 5. okt. 2011, at 20:29, Even Andr? Fiskvik wrote:
>>
>> If anyone is having issues compiling pjsip with the new XCode 4.2 + iOS 5
>> GM,
>> I had to change the host in configure-iphone script on the following line:
>>
>> ./aconfigure --host=arm-apple-darwin9 --disable-floating-point $*
>>
>> to
>>
>> ./aconfigure --host=arm-apple-darwin10 --disable-floating-point $*
>>
>>
>> in order to make the pjsip library compile.
>>
>>
>> Best regards,
>> Even Andr?
>>
>>
>> _______________________________________________
>> 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
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20111018/a793ba29/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux