Help for a n00b...

Discussion in 'iOS Development' started by hillbilly, Feb 12, 2009.

  1. hillbilly

    hillbilly New Member

    Joined:
    Feb 9, 2009
    Messages:
    25
    Likes Received:
    0
    I'm new to iPod developing, and I want to set up the toolchain 2.0 for windows vista (32 bit) operating system. Could anyone point me to a (very easy) tutorial? thanks.

    EDIT: This would be for developing on 2nd Gen iPod touch 2.2.1 firmware - (jailbroken) Thanks again.
  2. Chicken

    Chicken Retired Moderator

    Joined:
    Feb 17, 2008
    Messages:
    2,494
    Likes Received:
    7
    Device:
    iPhone 5S
  3. crimsondynamo329

    crimsondynamo329 Member

    Joined:
    Jul 8, 2008
    Messages:
    493
    Likes Received:
    0
    Device:
    iPod touch
  4. hillbilly

    hillbilly New Member

    Joined:
    Feb 9, 2009
    Messages:
    25
    Likes Received:
    0
  5. crimsondynamo329

    crimsondynamo329 Member

    Joined:
    Jul 8, 2008
    Messages:
    493
    Likes Received:
    0
    Device:
    iPod touch
  6. hillbilly

    hillbilly New Member

    Joined:
    Feb 9, 2009
    Messages:
    25
    Likes Received:
    0
    So, I ignored the errors as you said to do, but now, when I get to this part in the pdf tutorial :
    Code:
    gcc ~/iphone-2.0-toolchain/src/vfdecrypt.c -o ~/vfdecrypt -lcrypto
    I get these errors in cygwin :

    Code:
    Owner@Owner-PC ~
    $ gcc ~/iphone-2.0-toolchain/src/vfdecrypt.c -o ~/vfdecrypt -lcrypto
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:40:25: openssl/sha.h: No such f
    ile or directory
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:41:25: openssl/aes.h: No such f
    ile or directory
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:42:26: openssl/hmac.h: No such
    file or directory
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:43:25: openssl/evp.h: No such f
    ile or directory
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:192: error: parse error before
    "hmacsha1_ctx"
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:192: warning: data definition h
    as no type or storage class
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:193: error: parse error before
    "aes_decrypt_key"
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:193: warning: data definition h
    as no type or storage class
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c: In function `decrypt_chunk':
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:215: error: `AES_DECRYPT' undec
    lared (first use in this function)
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:215: error: (Each undeclared id
    entifier is reported only once
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:215: error: for each function i
    t appears in.)
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c: In function `apple_des3_ede_un
    wrap_key':
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:221: error: `EVP_CIPHER_CTX' un
    declared (first use in this function)
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:221: error: parse error before
    "ctx"
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:226: error: `ctx' undeclared (f
    irst use in this function)
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c: In function `unwrap_v2_header'
    :
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:288: error: `EVP_CIPHER_CTX' un
    declared (first use in this function)
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:288: error: parse error before
    "ctx"
    /home/Owner/iphone-2.0-toolchain/src/vfdecrypt.c:297: error: `ctx' undeclared (f
    irst use in this function)
    
    Owner@Owner-PC ~
    $
  7. crimsondynamo329

    crimsondynamo329 Member

    Joined:
    Jul 8, 2008
    Messages:
    493
    Likes Received:
    0
    Device:
    iPod touch
    Sorry, I wish I could help but this is over my head... :/
  8. hillbilly

    hillbilly New Member

    Joined:
    Feb 9, 2009
    Messages:
    25
    Likes Received:
    0
    Ok, well I'm going to try re-downloading the iphone-2.0-toolchain file (since the last time, I clicked "open" instead of "save". Maybe that had some effect...

    Please Register or Log in to view images

    If not, I guess I can use my background of programming to figure out what's going wrong with those C files. I'll post back when I'm done trying again. Thanks
    ------------------double post merged------------------
    Here's the errors I get when extracting:
    Code:
    Error: Symbolic link points to missing file
    Cannot Create : <directory of extraction path>
    Cannot Open : <filename>
    
  9. dfn

    dfn New Member

    Joined:
    Feb 14, 2009
    Messages:
    1
    Likes Received:
    0
    you forgot to check box for openssl-devel during the cygwin installation
  10. hillbilly

    hillbilly New Member

    Joined:
    Feb 9, 2009
    Messages:
    25
    Likes Received:
    0
    Thanks, that fixed all my previous errors, but now, when I'm going to compile the toolchain with cygwin, I get a strange error of
    Code:
    
    Owner@Owner-PC ~
    $ cd ~/iphone-2.0-toolchain
    
    Owner@Owner-PC ~/iphone-2.0-toolchain
    $ ./make-toolchain
    ./make-toolchain: line 21: syntax error near unexpected token `)'
    ./make-toolchain: line 21: `*cygwin*)'
    
    Any idea what's wrong now??
    ------------------double post merged------------------
    I know this is a double post, but nevermind, I took out that line and now the toolchain is compiling as I type.

Share This Page