Trying to compile idevicerestore, but it fails midway through.Heres the loglibtoolize: linking file `./ltmain.sh'libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.libtoolize: linking file `m4/libtool.m4'libtoolize: linking file `m4/ltoptions.m4'libtoolize: linking file `m4/ltsugar.m4'libtoolize: linking file `m4/ltversion.m4'libtoolize: linking file `m4/lt~obsolete.m4'libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.configure.ac:11: installing './compile'checking build system type... x86_64-unknown-linux-gnuchecking host system type... x86_64-unknown-linux-gnuchecking target system type... x86_64-unknown-linux-gnuchecking for a BSD-compatible install... /usr/bin/install -cchecking whether build environment is sane... yes/home/nikola/Desktop/idevicerestore/missing: Unknown `--is-lightweight' optionTry `/home/nikola/Desktop/idevicerestore/missing --help' for more informationconfigure: WARNING: 'missing' script is too old or missingchecking for a thread-safe mkdir -p... /bin/mkdir -pchecking for gawk... gawkchecking whether make sets $(MAKE)... yeschecking whether make supports nested variables... yeschecking for gcc... gccchecking whether the C compiler works... yeschecking for C compiler default output file name... a.outchecking for suffix of executables... checking whether we are cross compiling... nochecking for suffix of object files... ochecking whether we are using the GNU C compiler... yeschecking whether gcc accepts -g... yeschecking for gcc option to accept ISO C89... none neededchecking whether gcc understands -c and -o together... yeschecking for style of include used by make... GNUchecking dependency style of gcc... gcc3checking how to print strings... printfchecking for a sed that does not truncate output... /bin/sedchecking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for fgrep... /bin/grep -Fchecking for ld used by gcc... /usr/bin/ldchecking if the linker (/usr/bin/ld) is GNU ld... yeschecking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -Bchecking the name lister (/usr/bin/nm -B) interface... BSD nmchecking whether ln -s works... yeschecking the maximum length of command line arguments... 1572864checking whether the shell understands some XSI constructs... yeschecking whether the shell understands +=... yeschecking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noopchecking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noopchecking for /usr/bin/ld option to reload object files... -rchecking for objdump... objdumpchecking how to recognize dependent libraries... pass_allchecking for dlltool... nochecking how to associate runtime and link libraries... printf %s\nchecking for ar... archecking for archiver @FILE support... @checking for strip... stripchecking for ranlib... ranlibchecking command to parse /usr/bin/nm -B output from gcc object... okchecking for sysroot... nochecking for mt... mtchecking if mt is a manifest tool... nochecking how to run the C preprocessor... gcc -Echecking for ANSI C header files... yeschecking for sys/types.h... yeschecking for sys/stat.h... yeschecking for stdlib.h... yeschecking for string.h... yeschecking for memory.h... yeschecking for strings.h... yeschecking for inttypes.h... yeschecking for stdint.h... yeschecking for unistd.h... yeschecking for dlfcn.h... yeschecking for objdir... .libschecking if gcc supports -fno-rtti -fno-exceptions... nochecking for gcc option to produce PIC... -fPIC -DPICchecking if gcc PIC flag -fPIC -DPIC works... yeschecking if gcc static flag -static works... yeschecking if gcc supports -c -o file.o... yeschecking if gcc supports -c -o file.o... (cached) yeschecking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yeschecking whether -lc should be explicitly linked in... nochecking dynamic linker characteristics... GNU/Linux ld.sochecking how to hardcode library paths into programs... immediatechecking whether stripping libraries is possible... yeschecking if libtool supports shared libraries... yeschecking whether to build shared libraries... yeschecking whether to build static libraries... yeschecking for pkg-config... /usr/bin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking for libimobiledevice... yeschecking for libplist... yeschecking for libzip... yeschecking for libcurl... yeschecking that generated files are newer than configure... doneconfigure: creating ./config.statusconfig.status: creating Makefileconfig.status: creating src/Makefileconfig.status: creating config.hconfig.status: executing depfiles commandsconfig.status: executing libtool commandsmake  all-recursivemake[1]: Entering directory '/home/nikola/Desktop/idevicerestore'Making all in srcmake[2]: Entering directory '/home/nikola/Desktop/idevicerestore/src'gcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-idevicerestore.o -MD -MP -MF .deps/idevicerestore-idevicerestore.Tpo -c -o idevicerestore-idevicerestore.o `test -f 'idevicerestore.c' || echo './'`idevicerestore.cidevicerestore.c: In function main:idevicerestore.c:381:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(info, RestoreBehavior, plist_new_string((client->flags & FLAG_ERASE) ? Erase : Update));    ^idevicerestore.c:382:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(info, Variant, plist_new_string((client->flags & FLAG_ERASE) ? Customer Erase Install (IPSW) : Customer Upgrade Install (IPSW)));    ^idevicerestore.c:383:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(build_identity, Info, info);    ^idevicerestore.c:426:5: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]     plist_dict_insert_item(info, Path, plist_new_string(tmpstr));     ^idevicerestore.c:428:5: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]     plist_dict_insert_item(comp, Info, info);     ^idevicerestore.c:431:6: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]      plist_dict_insert_item(manifest, compname, comp);      ^idevicerestore.c:433:7: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]       plist_dict_insert_item(manifest, RestoreDeviceTree, plist_copy(comp));       ^idevicerestore.c:446:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(info, Path, plist_new_string(tmpstr));    ^idevicerestore.c:448:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(comp, Info, info);    ^idevicerestore.c:449:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(manifest, iBSS, comp);    ^idevicerestore.c:454:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(info, Path, plist_new_string(tmpstr));    ^idevicerestore.c:456:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(comp, Info, info);    ^idevicerestore.c:457:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(manifest, iBEC, comp);    ^idevicerestore.c:470:7: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]       plist_dict_insert_item(info, Path, plist_copy(kc));       ^idevicerestore.c:472:7: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]       plist_dict_insert_item(comp, Info, info);       ^idevicerestore.c:473:7: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]       plist_dict_insert_item(manifest, KernelCache, comp);       ^idevicerestore.c:474:7: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]       plist_dict_insert_item(manifest, RestoreKernelCache, plist_copy(comp));       ^idevicerestore.c:486:6: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]      plist_dict_insert_item(info, Path, plist_copy(rd));      ^idevicerestore.c:488:6: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]      plist_dict_insert_item(comp, Info, info);      ^idevicerestore.c:489:6: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]      plist_dict_insert_item(manifest, RestoreRamDisk, comp);      ^idevicerestore.c:503:5: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]     plist_dict_insert_item(info, Path, plist_copy(os));     ^idevicerestore.c:505:5: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]     plist_dict_insert_item(comp, Info, info);     ^idevicerestore.c:506:5: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]     plist_dict_insert_item(manifest, OS, comp);     ^idevicerestore.c:510:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(build_identity, Manifest, manifest);    ^idevicerestore.c: In function fixup_tss:idevicerestore.c:1108:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(tss, RestoreLogo, plist_copy(node2));    ^idevicerestore.c:1116:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(tss, RestoreDeviceTree, plist_copy(node2));    ^idevicerestore.c:1124:4: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]    plist_dict_insert_item(tss, RestoreKernelCache, plist_copy(node2));    ^mv -f .deps/idevicerestore-idevicerestore.Tpo .deps/idevicerestore-idevicerestore.Pogcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-common.o -MD -MP -MF .deps/idevicerestore-common.Tpo -c -o idevicerestore-common.o `test -f 'common.c' || echo './'`common.cmv -f .deps/idevicerestore-common.Tpo .deps/idevicerestore-common.Pogcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-tss.o -MD -MP -MF .deps/idevicerestore-tss.Tpo -c -o idevicerestore-tss.o `test -f 'tss.c' || echo './'`tss.ctss.c: In function tss_create_request:tss.c:90:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, @APTicket, plist_new_bool(1));  ^tss.c:91:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, @BBTicket, plist_new_bool(1));  ^tss.c:92:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, @HostIpAddress, plist_new_string(192.168.0.1));  ^tss.c:93:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, @HostPlatformInfo, plist_new_string(mac));  ^tss.c:94:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, @Locality, plist_new_string(en_US));  ^tss.c:97:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(tss_request, @UUID, plist_new_string(guid));   ^tss.c:100:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, @VersionInfo, plist_new_string(libauthinstall-107.3));  ^tss.c:101:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, ApBoardID, plist_new_uint(board_id));  ^tss.c:102:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, ApChipID, plist_new_uint(chip_id));  ^tss.c:103:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, ApECID, plist_new_string(ecid_string));  ^tss.c:105:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(tss_request, ApNonce, plist_new_data(nonce, nonce_size));   ^tss.c:107:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, ApProductionMode, plist_new_bool(1));  ^tss.c:108:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, ApSecurityDomain, plist_new_uint(security_domain));  ^tss.c:109:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(tss_request, UniqueBuildID, plist_new_data(unique_build_data, unique_build_size));  ^tss.c:140:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(tss_request, key, tss_entry);   ^mv -f .deps/idevicerestore-tss.Tpo .deps/idevicerestore-tss.Pogcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-img3.o -MD -MP -MF .deps/idevicerestore-img3.Tpo -c -o idevicerestore-img3.o `test -f 'img3.c' || echo './'`img3.cmv -f .deps/idevicerestore-img3.Tpo .deps/idevicerestore-img3.Pogcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-ipsw.o -MD -MP -MF .deps/idevicerestore-ipsw.Tpo -c -o idevicerestore-ipsw.o `test -f 'ipsw.c' || echo './'`ipsw.cmv -f .deps/idevicerestore-ipsw.Tpo .deps/idevicerestore-ipsw.Pogcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-normal.o -MD -MP -MF .deps/idevicerestore-normal.Tpo -c -o idevicerestore-normal.o `test -f 'normal.c' || echo './'`normal.cmv -f .deps/idevicerestore-normal.Tpo .deps/idevicerestore-normal.Pogcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-dfu.o -MD -MP -MF .deps/idevicerestore-dfu.Tpo -c -o idevicerestore-dfu.o `test -f 'dfu.c' || echo './'`dfu.cmv -f .deps/idevicerestore-dfu.Tpo .deps/idevicerestore-dfu.Pogcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-recovery.o -MD -MP -MF .deps/idevicerestore-recovery.Tpo -c -o idevicerestore-recovery.o `test -f 'recovery.c' || echo './'`recovery.cmv -f .deps/idevicerestore-recovery.Tpo .deps/idevicerestore-recovery.Pogcc -DHAVE_CONFIG_H -I. -I..     -I/usr/include/libxml2 -I/usr/include/p11-kit-1  -I/usr/include/libxml2  -I/usr/lib/x86_64-linux-gnu/libzip/include   -g -O2 -MT idevicerestore-restore.o -MD -MP -MF .deps/idevicerestore-restore.Tpo -c -o idevicerestore-restore.o `test -f 'restore.c' || echo './'`restore.cIn file included from /usr/include/string.h:634:0,                 from restore.c:24:restore.c: In function restore_device_callback:restore.c:185:30: error: idevice_event_t has no member named uuid   client->uuid = strdup(event->uuid);                              ^restore.c:185:30: error: idevice_event_t has no member named uuid   client->uuid = strdup(event->uuid);                              ^restore.c:185:30: error: idevice_event_t has no member named uuid   client->uuid = strdup(event->uuid);                              ^restore.c:185:30: error: idevice_event_t has no member named uuid   client->uuid = strdup(event->uuid);                              ^restore.c:185:30: error: idevice_event_t has no member named uuid   client->uuid = strdup(event->uuid);                              ^restore.c:185:30: error: idevice_event_t has no member named uuid   client->uuid = strdup(event->uuid);                              ^restore.c:185:30: error: idevice_event_t has no member named uuid   client->uuid = strdup(event->uuid);                              ^restore.c: In function restore_send_root_ticket:restore.c:577:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(dict, RootTicketData, plist_new_data(data, (uint64_t)len));   ^restore.c: In function restore_send_kernelcache:restore.c:626:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(dict, KernelCacheFile, blob);  ^restore.c: In function restore_send_nor:restore.c:700:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(dict, LlbImageData, plist_new_data(llb_data, (uint64_t) llb_size));  ^restore.c:724:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(dict, NorImageData, norimage_array);  ^restore.c: In function restore_device:restore.c:821:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, AutoBootDelay, plist_new_uint(0));  ^restore.c:823:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, BootImageType, plist_new_string(UserOrInternal));  ^restore.c:826:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, CreateFilesystemPartitions, plist_new_bool(1));  ^restore.c:827:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, DFUFileType, plist_new_string(RELEASE));  ^restore.c:828:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, DataImage, plist_new_bool(0));  ^restore.c:831:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, FirmwareDirectory, plist_new_string(.));  ^restore.c:833:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, FlashNOR, plist_new_bool(1));  ^restore.c:837:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, KernelCacheType, plist_new_string(Release));  ^restore.c:841:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, NORImageType, plist_new_string(production));  ^restore.c:845:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(opts, RestoreBootArgs, plist_new_string(client->restore_boot_args));   ^restore.c:847:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, RestoreBundlePath, plist_new_string(/tmp/Per2.tmp));  ^restore.c:848:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, RootToInstall, plist_new_bool(0));  ^restore.c:851:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, SystemImage, plist_new_bool(1));  ^restore.c:854:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(spp, 16, plist_new_uint(160));   ^restore.c:855:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(spp, 32, plist_new_uint(320));   ^restore.c:856:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(spp, 64, plist_new_uint(640));   ^restore.c:857:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(spp, 8, plist_new_uint(80));   ^restore.c:860:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, SystemImageType, plist_new_string(User));  ^restore.c:862:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, SystemPartitionPadding, spp);  ^restore.c:865:3: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]   plist_dict_insert_item(opts, UUID, plist_new_string(guid));   ^restore.c:869:2: warning: plist_dict_insert_item is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations]  plist_dict_insert_item(opts, UpdateBaseband, plist_new_bool(0));  ^restore.c:874:18: error: too few arguments to function restored_start_restore  restore_error = restored_start_restore(restore);                  ^In file included from restore.c:25:0:/usr/include/libimobiledevice/restore.h:64:18: note: declared here restored_error_t restored_start_restore(restored_client_t client, plist_t options, uint64_t version);                  ^Makefile:574: recipe for target 'idevicerestore-restore.o' failedmake[2]: *** [idevicerestore-restore.o] Error 1make[2]: Leaving directory '/home/nikola/Desktop/idevicerestore/src'Makefile:402: recipe for target 'all-recursive' failedmake[1]: *** [all-recursive] Error 1make[1]: Leaving directory '/home/nikola/Desktop/idevicerestore'Makefile:333: recipe for target 'all' failedmake: *** [all] Error 2I had to shorten the log because it was way too big!Hopefully this is enough.
idevicerestore fails to compile on Ubuntu 15.04
ubuntu;xubuntu;ios;iphone
Same problem with Slackware Current.Because libimobiledevice version 1.2.0 has change restored_start_restore function definitionrestored_error_t restored_start_restore (   restored_client_t   client,    plist_t     options,    uint64_t    version )but in idevicerestore use only one parameterrestored_start_restore(restore);I change the line with error in this way like https://github.com/tcf38012/idevicerestore/commit/ced8086ab331f4960e7d1eb651d51d96e08caf90Before restore_error = restored_start_restore(restore);Afterrestore_error = restored_start_restore(restore, opts, client->restore->protocol_version);Then the error disappear, but there are also other error.changing alsoevent->uuidwithevent->udidcompilation work fine, but I must also test if program works good.This is the patch for the file src/restore.c--- ../idevicerestore/src/restore.c 2015-10-21 10:53:16.981124442 +0200+++ src/restore.c   2015-10-21 11:19:51.331167137 +0200@@ -182,7 +182,7 @@    struct idevicerestore_client_t* client = (struct idevicerestore_client_t*) userdata;    if (event->event == IDEVICE_DEVICE_ADD) {        restore_device_connected = 1;-       client->uuid = strdup(event->uuid);+       client->uuid = strdup(event->udid);    } else if (event->event == IDEVICE_DEVICE_REMOVE) {        restore_device_connected = 0;        client->flags |= FLAG_QUIT;@@ -871,7 +871,7 @@    //plist_dict_insert_item(opts, UserLocale, plist_new_string(en_US));    // start the restore process-   restore_error = restored_start_restore(restore);+   restore_error = restored_start_restore(restore, opts, client->restore->protocol_version);    if (restore_error != RESTORE_E_SUCCESS) {        error(ERROR: Unable to start the restore process\n);        plist_free(opts);