Closed reillychase closed 6 years ago
root@desktop-pc2:~/Desktop/sasquatch-master# sudo apt-get install build-essential liblzma-dev liblzo2-dev zlib1g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4). liblzma-dev is already the newest version (5.2.2-1.3). liblzo2-dev is already the newest version (2.08-1.2+b2). zlib1g-dev is already the newest version (1:1.2.8.dfsg-5). 0 upgraded, 0 newly installed, 0 to remove and 168 not upgraded.
same problem on a fresh install of Kali
Hi, I can do with this:
build.sh
, the same problem appears on fresh Kali<sys/sysmacros.h>
in unsquashfs.c
cd squashfs-tools && make && make install
same problem on ubuntu 18.04
Fixed in 3e0cc40fc6dbe32bd3a5e6c553b3320d5d91ceed
cc -g -O2 -I. -I./LZMA/lzma465/C -I./LZMA/lzmalt -I./LZMA/lzmadaptive/C/7zip/Compress/LZMA_Lib -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -Werror -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DLZO_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -c -o unsquashfs.o unsquashfs.c unsquashfs.c: In function ‘create_inode’: unsquashfs.c:1140:13: error: In the GNU C Library, "makedev" is defined by <sys/sysmacros.h>. For historical compatibility, it is currently defined by <sys/types.h> as well, but we plan to remove this soon. To use "makedev", include <sys/sysmacros.h> directly. If you did not intend to use a system-defined macro "makedev", you should undefine it after including <sys/types.h>. [-Werror] i->data & 0xff)) == -1) { ^
~~~~~~cc1: all warnings being treated as errors