ideviceinstaller
ideviceinstaller copied to clipboard
ideviceinstaller-ideviceinstaller.o compilation error
I downloaded a released archive and here is what I have got:
Making check in src make[1]: Wejście do katalogu `/home/krzzel/Oprogrammovanie/ideviceinstaller-1.1.0/src' CC ideviceinstaller-ideviceinstaller.o ideviceinstaller.c: In function ‘main’: ideviceinstaller.c:1058:4: error: passing argument 4 of ‘instproxy_install’ from incompatible pointer type [-Werror] instproxy_install(ipc, pkgname, client_opts, status_cb, NULL); ^ In file included from ideviceinstaller.c:45:0: /usr/local/include/libimobiledevice/installation_proxy.h:234:19: note: expected ‘instproxy_status_cb_t’ but argument is of type ‘void (*)(const char *, void *, void *)’
The difference is in plist.h: typedef void *plist_t; which is different from const char *. This is already fixed in git but the fix is not released, and the released code is broken.
Apparently everyone is getting this error or similar on trying to compile the ideviceinstaller - see http://pastebin.com/LmUBEjwn
https://github.com/libimobiledevice/ideviceinstaller/issues/18
https://github.com/libimobiledevice/ideviceinstaller/issues/7
I double checked the appropriate latest library was installed by moving previous directory in source includes, then using:
(sudo ln -sf ~/mydirectory/libimobiledevice/ /usr/local/include/libimobiledevice)
Still no-go.
As according to Git the last revision is about a year ago, it appears this program is unfortunately no longer being supported.