Closed shagu closed 4 years ago
I got it solved by this patch:
diff --git a/package/squashfs/squashfs-001-fno-common.patch b/package/squashfs/squashfs-001-fno-common.patch
new file mode 100644
index 0000000000..e7a1b54f8c
--- /dev/null
+++ b/package/squashfs/squashfs-001-fno-common.patch
@@ -0,0 +1,11 @@
+--- a/squashfs-tools/mksquashfs.h
++++ b/squashfs-tools/mksquashfs.h
+@@ -143,7 +143,7 @@ struct append_file {
+ #endif
+
+ extern struct cache *reader_buffer, *fragment_buffer, *reserve_cache;
+-struct cache *bwriter_buffer, *fwriter_buffer;
++extern struct cache *bwriter_buffer, *fwriter_buffer;
+ extern struct queue *to_reader, *to_deflate, *to_writer, *from_writer,
+ *to_frag, *locked_fragment, *to_process_frag;
+ extern struct append_file **file_mapping;
Taken from Gentoo.
It's probably only an issue to more recent host-environments since this worked fine on my debian chroot.
Host: OS: Archlinux (amd64) GCC: gcc version 10.2.0 (GCC)