Im trying to install binwalk. I simply followed this page: https://github.com/ReFirmLabs/binwalk/blob/master/INSTALL.md
But when trying to build sasquatch, after I installed and cloned it, when using
$ (cd sasquatch && ./build.sh)
- as stated in the INSTALL.md,
What happens is that I this error:
unsquashfs.c: In function ‘read_super’:
unsquashfs.c:1835:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
1835 | if(swap)
| ^~
unsquashfs.c:1841:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
1841 | read_fs_bytes(fd, SQUASHFS_START, sizeof(struct squashfs_super_block),
| ^~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [<builtin>: unsquashfs.o] Error 1
I've no idea on what's causing them, i'd be happy to here any advice. Thanks