#334 ✓invalid

Getting error while compiling eds to idevice for contact sync

Reported by paul | June 15th, 2013 @ 05:55 AM


I am getting following error while trying to compile library for contact sync.
Please Help

eds@eds:~/eds-to-idevice$ make
CC lib/lib_libeti_la-eti-contact.lo CC lib/lib_libeti_la-eti-contact-plist-builder.lo CC lib/lib_libeti_la-eti-contact-plist-parser.lo CC lib/lib_libeti_la-eti-plist.lo CC lib/lib_libeti_la-eti-sync.lo lib/eti-sync.c: In function 'eti_sync_new':
lib/eti-sync.c:70:40: error: passing argument 3 of 'lockdownd_start_service' from incompatible pointer type [-Werror]
In file included from /usr/local/include/libimobiledevice/mobilesync.h:32:0,
from lib/eti-sync.c:26: /usr/local/include/libimobiledevice/lockdown.h:89:19: note: expected 'struct lockdownd_service_descriptor **' but argument is of type 'uint16_t ' lib/eti-sync.c:78:5: error: passing argument 2 of 'mobilesync_client_new' makes pointer from integer without a cast [-Werror]
In file included from lib/eti-sync.c:26:0:
/usr/local/include/libimobiledevice/mobilesync.h:69:20: note: expected 'lockdownd_service_descriptor_t' but argument is of type 'uint16_t' lib/eti-sync.c: In function 'eti_sync_start_sync':
lib/eti-sync.c:117:33: error: too few arguments to function 'mobilesync_start'
In file included from lib/eti-sync.c:26:0:
/usr/local/include/libimobiledevice/mobilesync.h:75:20: note: declared here cc1: all warnings being treated as errors
make: *
* [lib/lib_libeti_la-eti-sync.lo] Error 1

Comments and changes to this ticket

  • Martin S.

    Martin S. July 1st, 2013 @ 03:55 PM

    • State changed from “new” to “invalid”
    • Tag set to api, eds-to-idevice

    This breaks due to the recent API change. All port instances need to be changed to use lockdownd_service_descriptor_t instead. Closing this as this is no problem in libimobiledevice.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A project around supporting the iPhone in Linux.

See http://libimobiledevice.org

People watching this ticket