Results 1 to 2 of 2
Discuss Troubles to compile iphoneclient.c at the Tools - Hackint0sh.org; Hi dev team I try to compile http://iphone.fiveforty.net/wiki/ind...Iphoneclient.c example. But MobileDevice.h make some trouble. Code: ...
  1. #1
    Rookie Array

    Join Date
    Jul 2007
    Posts
    11
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Troubles to compile iphoneclient.c

    Hi dev team
    I try to compile http://iphone.fiveforty.net/wiki/ind...Iphoneclient.c example. But MobileDevice.h make some trouble.

    Code:
    intelbook-iceman:~ phr$ gcc iphoneclient.c -o iphoneclient -F/System/Library/PrivateFrameworks -framework MobileDevice -framework CoreFoundation
    In file included from iphoneclient.c:8:
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:108: error: redefinition of typedef 'am_restore_device_notification_callback'
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:75: error: previous declaration of 'am_restore_device_notification_callback' was here
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:261: error: parse error before 'afc_connection'
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:281: error: parse error before '*' token
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:319: error: parse error before '*' token
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:320: error: parse error before '*' token
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:321: error: parse error before '*' token
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:426: error: parse error before '*' token
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:426: error: parse error before '*' token
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:426: warning: data definition has no type or storage class
    /System/Library/PrivateFrameworks/MobileDevice.framework/Headers/MobileDevice.h:434: error: parse error before '*' token
    iphoneclient.c: In function 'restore_connect':
    iphoneclient.c:158: warning: assignment makes pointer from integer without a cast
    I had try a lot different versions of MobileDevice.h but compiling fails always.

    Any tip?

    Bests,

    iceman



  2. #2
    Newbie Array

    Join Date
    Aug 2007
    Posts
    7
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Hi,

    iphoneclient is deprecated. The current command line tool is iphuc, you can get it here http://code.google.com/p/iphuc/

 

 

Similar Threads

  1. Compile iRecovery
    By sailor0703 in forum Tools
    Replies: 1
    Last Post: 09-27-2010, 10:57 PM
  2. compile c++ with iostream and others?
    By truehybridx in forum iPhone Developer Exchange
    Replies: 0
    Last Post: 07-30-2010, 04:24 AM
  3. Troubles to compile iphoneclient.c
    By maciceman in forum Free Toolchain Software (Cydia App's)
    Replies: 0
    Last Post: 09-14-2007, 11:26 PM
  4. UIWebView? Does it compile for you?
    By wififun in forum Free Toolchain Software (Cydia App's)
    Replies: 2
    Last Post: 08-27-2007, 04:07 AM
  5. compile?
    By kdbdallas in forum Free Toolchain Software (Cydia App's)
    Replies: 1
    Last Post: 08-09-2007, 04:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 06:13 AM.
twitter, follow us!