Compile pjsip to work for iphone simulator

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

 



Sorry, I missed the -L in LDFLAGS. That was solved, but now I've landed into
other issues like failed sanity checks (blah blah). Let me spend more time
tomorrow and then I'll get back....



On Sat, Oct 2, 2010 at 9:35 PM, Rob Wilkes <wilkrob at gmail.com> wrote:

> Grr, spoke to soon.
> Mr Gecko, I tried invoking this line from the cmd line and it worked after
> switching my CC as I wrote before, but aconfigure still cannot find the
> right crt file (fortunately, it is 10.6 not 10.5)
>
> aconfigure:2745:
> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/i686-apple-darwin10-gcc-4.2.1
> -O2 -Wno-unused-label  -isysroot
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk  -O2
>  -isysroot
> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk
> -framework AudioToolbox -framework Foundation conftest.c  >&5
> ld: library not found for -lcrt1.10.6.o
>
> I tried calling ./configure-iphone
> LDFLAGS=/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.sdk/usr/lib
> but got the same error when running ./configure-iphone
>
> Any thoughts?
>
> On Sat, Oct 2, 2010 at 9:21 PM, Rob Wilkes <wilkrob at gmail.com> wrote:
>
>> Well, heck problem solved. I tried adding LDFLAGS. that did not work too.
>> The solution was to use i686-apple-darwin10-gcc-4.2.1  not gcc-4.0.1
>>
>>
>> On Sat, Oct 2, 2010 at 9:16 PM, Mr. Gecko <grmrgecko at gmail.com> wrote:
>>
>>> crt1.10.5.o is quite annoying on 10.5. I had problems with compiling with
>>> 10.4 that had to do with that. Maybe you can try and add
>>> LDFLAGS="-L/usr/lib" before the configure command.
>>>
>>> On Oct 2, 2010, at 8:09 PM, Rob Wilkes wrote:
>>>
>>> Hehe.
>>> I did, but I looked again.
>>> I think I know what the problem is, but don't yet know how to solve it...
>>> let me see...
>>>
>>> aconfigure:2723: checking whether the C compiler works
>>> aconfigure:2745:
>>> /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/i686-apple-darwin10-gcc-4.0.1
>>> -O2 -Wno-unused-label  -isysroot
>>> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk  -O2
>>>  -isysroot
>>> /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.2.sdk
>>> -framework AudioToolbox -framework Foundation conftest.c  >&5
>>> ld: library not found for -lcrt1.10.5.o
>>> collect2: ld returned 1 exit status
>>>
>>> I am running Snow Leopard, which i 10.6. Looks like the scrpt is looking
>>> for 10.5 ?
>>>
>>>
>>> On Sat, Oct 2, 2010 at 9:00 PM, Mr. Gecko <grmrgecko at gmail.com> wrote:
>>>
>>>> How about that? That suggests something you should try. If all fails,
>>>> look at
>>>> http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/2010-October/011832.html
>>>> .
>>>>
>>>> On Oct 2, 2010, at 7:51 PM, Rob Wilkes wrote:
>>>>
>>>> > See `config.log' for more details
>>>>
>>>>
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20101002/8eaa6c08/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