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
by shawn7226791 from LinuxQuestions.org on (#4Q1ZF)
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


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