Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Getting error while compiling eds to idevice for contact sync

#334

Hi,

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

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

State: invalid
Milestone: none
Assigned to: nobody

Activity

  1. Martin S.
    Martin S.
    • 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.

    July 1st, 2013 @ 03:55 PM

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.