can't someone help me i'am trying to install idevicerestore and when i do the sudo make i get this error can someone help me please
root@shawn-fernandes:/opt/idevicerestore# sudo make
make all-recursive make[1]: Entering directory '/opt/idevicerestore' Making all in src make[2]: Entering directory '/opt/idevicerestore/src' CC idevicerestore-idevicerestore.o CC idevicerestore-common.o common.c: In function ‘get_temp_filename’: common.c:446:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(result, tmpdir, lt); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ common.c:440:7: note: length computed here lt = strlen(tmpdir); ^~~~~~~~~~~~~~ CC idevicerestore-tss.o CC idevicerestore-fls.o CC idevicerestore-mbn.o CC idevicerestore-img3.o CC idevicerestore-img4.o CC idevicerestore-ipsw.o ipsw.c: In function ‘build_path’: ipsw.c:62:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fullpath, path, plen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipsw.c:56:16: note: length computed here size_t plen = strlen(path); ^~~~~~~~~~~~ ipsw.c:64:2: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] strncpy(fullpath+plen+1, file, flen); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ipsw.c:57:16: note: length computed here size_t flen = strlen(file); ^~~~~~~~~~~~ CC idevicerestore-normal.o normal.c:31:10: fatal error: libimobiledevice/preboard.h: No such file or directory #include <libimobiledevice/preboard.h> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:648: idevicerestore-normal.o] Error 1 make[2]: Leaving directory '/opt/idevicerestore/src' make[1]: *** [Makefile:433: all-recursive] Error 1 make[1]: Leaving directory '/opt/idevicerestore' make: *** [Makefile:365: all] Error 2 |
I do not believe you need to use sudo for the make, just the install part of it.
As far as the problem: Code:
normal.c:31:10: fatal error: libimobiledevice/preboard.h: No such file or directory Perhaps there is a BUILD or README file included with this code so that you understand the pre-requisites. For that matter, is there a configure script? And have you run it? |
Install libimobiledevice :
$ bzr branch lp:~timmie/libimobiledevice/libimobiledevice-github ( Debian, Ubuntu, Fedora packages are missing the header preboard.h ). libimobiledevice depends on `libusbmuxd, libplist++´. - |
yeah , no need for sudo when running make
no need for root to run sudo to run make normally you would compile as a normal user, and only run "make install" as root anyway what distro are you on? there might be a package available for your distro is there a specific reason for you to compile this? |
Quote:
|
All times are GMT -5. The time now is 02:04 AM. |