Score:0

Sasquatch (binwalk) throws error when running build.sh

nr flag

I cloned the repository and installed the c compiler As said here:

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 get 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 hear any advice.

hr flag
The squashfs4.3 source code that the script downloads appears to date from 2014 and may take some work to build in a modern development environment. If you don't care about the indentation, you can try `CFLAGS=-Wno-misleading-indentation ./build.sh` but I'd be surprised if there were not other errors.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.