libimobiledevice / ideviceinstaller

Manage apps of iOS devices
https://libimobiledevice.org
GNU General Public License v2.0
1.26k stars 261 forks source link

Can't make #86

Open gabrc52 opened 6 years ago

gabrc52 commented 6 years ago

make output:

make  all-recursive
make[1]: Entering directory '/home/user/builds/ideviceinstaller'
Making all in src
make[2]: Entering directory '/home/user/builds/ideviceinstaller/src'
  CC       ideviceinstaller-ideviceinstaller.o
ideviceinstaller.c: In function ‘main’:
ideviceinstaller.c:910:20: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
      while (zfsize < zs.size) {
                    ^
cc1: all warnings being treated as errors
make[2]: *** [Makefile:439: ideviceinstaller-ideviceinstaller.o] Error 1
make[2]: Leaving directory '/home/user/builds/ideviceinstaller/src'
make[1]: *** [Makefile:405: all-recursive] Error 1
make[1]: Leaving directory '/home/user/builds/ideviceinstaller'
make: *** [Makefile:337: all] Error 2

Edit: solved by removing the -Werror flag in src/Makefile

windyzxcui commented 6 years ago

it works for me.

solved by removing the -Werror flag in src/Makefile