devttys0 / sasquatch

506 stars 157 forks source link

multiple definition of `verbose'; #53

Open alphaonex86 opened 2 years ago

alphaonex86 commented 2 years ago

/usr/bin/ld: unsquash-1.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition of verbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here /usr/bin/ld: unsquash-2.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition ofverbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here /usr/bin/ld: unsquash-3.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition of verbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here /usr/bin/ld: unsquash-4.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition ofverbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here /usr/bin/ld: compressor.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition of verbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here /usr/bin/ld: unsquashfs_info.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition ofverbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here /usr/bin/ld: lzma_wrapper.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition of verbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here /usr/bin/ld: read_xattrs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition ofverbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here /usr/bin/ld: unsquashfs_xattr.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/home/user/sasquatch-master/squashfs4.3/squashfs-tools/error.h:34: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:298: sasquatch] Error 1

morbidbark commented 1 year ago

Same issue here

/usr/bin/ld: unsquash-1.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
/usr/bin/ld: unsquash-2.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
/usr/bin/ld: unsquash-3.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
/usr/bin/ld: unsquash-4.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
/usr/bin/ld: compressor.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
/usr/bin/ld: unsquashfs_info.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
/usr/bin/ld: lzma_wrapper.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
/usr/bin/ld: read_xattrs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
/usr/bin/ld: unsquashfs_xattr.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: multiple definition of `verbose'; unsquashfs.o:/tmp/sasquatch/squashfs4.3/squashfs-tools/error.h:34: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:298: sasquatch] Error 1
morbidbark commented 1 year ago

Was able to work around by applying the meta patch given by @chilik in issue #43