DEBUG: Executing shell function do_compile
NOTE: make -j 16 -l 75 GZIP_SUPPORT=1 LZ4_SUPPORT=1 LZMA_XZ_SUPPORT=0 LZO_SUPPORT=0 XATTR_SUPPORT=1 XZ_SUPPORT=1 ZSTD_SUPPORT=1 -C TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git/squashfs-tools all
make: Entering directory 'TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git/squashfs-tools'
aarch64-poky-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git=/usr/src/debug/squashfs-tools/4.7 -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git=/usr/src/debug/squashfs-tools/4.7 -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot-native= -pipe -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZ4_SUPPORT -DXZ_SUPPORT -DZSTD_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -DXATTR_OS_SUPPORT -DMAX_READER_THREADS=1024 -DSMALL_READER_THREADS=4 -DBLOCK_READER_THREADS=4 -DVERSION=\"4.7\" -DDATE=\"2025/06/03\" -DYEAR=\"2025\" -c -o mksquashfs.o mksquashfs.c
aarch64-poky-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git=/usr/src/debug/squashfs-tools/4.7 -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git=/usr/src/debug/squashfs-tools/4.7 -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot-native= -pipe -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZ4_SUPPORT -DXZ_SUPPORT -DZSTD_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -DXATTR_OS_SUPPORT -DMAX_READER_THREADS=1024 -DSMALL_READER_THREADS=4 -DBLOCK_READER_THREADS=4 -DVERSION=\"4.7\" -DDATE=\"2025/06/03\" -DYEAR=\"2025\" -c -o memory.o memory.c
aarch64-poky-linux-musl-gcc -mcpu=cortex-a57+crc -mbranch-protection=standard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot -c -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git=/usr/src/debug/squashfs-tools/4.7 -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git=/usr/src/debug/squashfs-tools/4.7 -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/recipe-sysroot-native= -pipe -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZ4_SUPPORT -DXZ_SUPPORT -DZSTD_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT -DXATTR_OS_SUPPORT -DMAX_READER_THREADS=1024 -DSMALL_READER_THREADS=4 -DBLOCK_READER_THREADS=4 -DVERSION=\"4.7\" -DDATE=\"2025/06/03\" -DYEAR=\"2025\" -DCOMPRESSORS="\"gzip (default)\nlz4\nxz\nzstd\"" mksquashfs_help.c
In file included from mksquashfs_help.c:35:
thread.h:43:8: error: unknown type name 'pthread_mutex_t'
43 | extern pthread_mutex_t thread_mutex;
| ^~~~~~~~~~~~~~~
thread.h:46:39: error: unknown type name 'pthread_mutex_t'
46 | extern void wait_thread_idle(int tid, pthread_mutex_t *mutex);
| ^~~~~~~~~~~~~~~
make: *** [Makefile:551: mksquashfs_help.o] Error 1
make: Leaving directory 'TOPDIR/tmp/work/cortexa57-poky-linux-musl/squashfs-tools/4.7/git/squashfs-tools'
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.