Compiler cannot locate -lcrt1.o file...help?

Discussion in 'iOS Development' started by gojohnnyboi, May 10, 2008.

  1. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Ok, so all compiling goes well until the last step where it does the frameworks and i get this:



    Code:
    can't locate file for: =lcrt1.o colloect2: ld returned 1 exit status
    make: *** [Myapp] Error 1

    i tried COMPLETELY removing and reinstalling the toolchain, and nothing. help?
  2. optimo

    optimo New Member

    Joined:
    Sep 28, 2007
    Messages:
    535
    Likes Received:
    17
    what have you added? which step introduced this error?
  3. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    the last step where it says like

    -lobjc -framework and so on...
  4. vieestchien

    vieestchien New Member

    Joined:
    May 7, 2008
    Messages:
    43
    Likes Received:
    1
    But it worked before for you right, when you compiled Skylar's code and stuffs. I suppose you just upgraded your iphone to 1.1.4 or something like that which makes the toolchain unusable? Because I followed your guide to build the toolchain for my 1.1.4 iphone and I have exactly the same problem as yours.

    A guy here had a solution for this:
    http://www.modmyifone.com/forums/showthread.php?p=919891
    I am trying this out. If you find a solution to repair your toolchain, please post it here. Thanks.
  5. vieestchien

    vieestchien New Member

    Joined:
    May 7, 2008
    Messages:
    43
    Likes Received:
    1
    OK I found a simple solution.
    In your Cygwin Shell, type these commands:

    LD_LIBRARY_PATH=/usr/local/arm-apple-darwin/lib
    export LD_LIBRARY_PATH

    After that, makefile run normally for me.
    1 person likes this.
  6. zman3

    zman3 New Member

    Joined:
    Jun 27, 2008
    Messages:
    7
    Likes Received:
    0
    1.1.4 winchain compile errors

    Anyone know what else would cause this ??
    ive tried entering the commands above but I still get the error about -lobjc on anything i try to compile
    for referance I used the iphone gameover install method and my firmware is 1.1.4
    ive tried to compile skylars bluetooth app the yesno ap the helloworld app ect ect
    ive seen somthing on here from skylar aout symlinks but i have no idea what thats about

    TIA
    zman

    edit
    ive also seen somthing about the getting the filesystem from the touch is bad and to decypt a firmware ive tried this and it doesnt work anyone have a link to one decrypted?
  7. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    Start developing for 2.x. 1.1.x is dead.
  8. zman3

    zman3 New Member

    Joined:
    Jun 27, 2008
    Messages:
    7
    Likes Received:
    0
    oh well is there a good install guide and toolchain for doing this from windows not the touch?
  9. gojohnnyboi

    gojohnnyboi Well-Known Member

    Joined:
    Jan 25, 2008
    Messages:
    3,339
    Likes Received:
    55
    no guides or binary installers can be provided nor produced due to the NDA.
  10. vieestchien

    vieestchien New Member

    Joined:
    May 7, 2008
    Messages:
    43
    Likes Received:
    1
    - Start developing for 2.x! 1.x is dead
    - How do I start?
    - I can't tell you

    I find this conversation funny. Not everyone is experienced hackers or developers, and since it's very hard to find out how to develop for 2.x by themself, just let them play around with 1.x for now to get used to Objective C.

Share This Page