ideviceinstaller icon indicating copy to clipboard operation
ideviceinstaller copied to clipboard

ideviceinstaller-ideviceinstaller.o compilation error

Open yecril71pl opened this issue 10 years ago • 1 comments

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.

yecril71pl avatar Jun 08 '15 17:06 yecril71pl

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.

programmin1 avatar Oct 31 '15 16:10 programmin1