Determining size of __int64 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_5bb40 && [1/2] Building C object CMakeFiles/cmTC_5bb40.dir/__INT64.c.o FAILED: CMakeFiles/cmTC_5bb40.dir/__INT64.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/bin/mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1=jansson-2.13.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wno-format-truncation -o CMakeFiles/cmTC_5bb40.dir/__INT64.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__INT64.c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__INT64.c:27:22: error: '__int64' undeclared here (not in a function); did you mean 'u_int'? 27 | #define SIZE (sizeof(__int64)) | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__INT64.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__INT64.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int64)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of __int32 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_43ae6 && [1/2] Building C object CMakeFiles/cmTC_43ae6.dir/__INT32.c.o FAILED: CMakeFiles/cmTC_43ae6.dir/__INT32.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/bin/mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1=jansson-2.13.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wno-format-truncation -o CMakeFiles/cmTC_43ae6.dir/__INT32.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__INT32.c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__INT32.c:27:22: error: '__int32' undeclared here (not in a function); did you mean '__int128'? 27 | #define SIZE (sizeof(__int32)) | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__INT32.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__INT32.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__int32)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of __uint32 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_47045 && [1/2] Building C object CMakeFiles/cmTC_47045.dir/__UINT32.c.o FAILED: CMakeFiles/cmTC_47045.dir/__UINT32.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/bin/mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1=jansson-2.13.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wno-format-truncation -o CMakeFiles/cmTC_47045.dir/__UINT32.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT32.c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT32.c:27:22: error: '__uint32' undeclared here (not in a function) 27 | #define SIZE (sizeof(__uint32)) | ^~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT32.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT32.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__uint32)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of __uint16 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_e8a5d && [1/2] Building C object CMakeFiles/cmTC_e8a5d.dir/__UINT16.c.o FAILED: CMakeFiles/cmTC_e8a5d.dir/__UINT16.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/bin/mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1=jansson-2.13.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wno-format-truncation -o CMakeFiles/cmTC_e8a5d.dir/__UINT16.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT16.c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT16.c:27:22: error: '__uint16' undeclared here (not in a function) 27 | #define SIZE (sizeof(__uint16)) | ^~~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT16.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT16.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__uint16)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of __uint8 failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_a839d && [1/2] Building C object CMakeFiles/cmTC_a839d.dir/__UINT8.c.o FAILED: CMakeFiles/cmTC_a839d.dir/__UINT8.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/bin/mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1=jansson-2.13.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wno-format-truncation -o CMakeFiles/cmTC_a839d.dir/__UINT8.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT8.c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT8.c:27:22: error: '__uint8' undeclared here (not in a function); did you mean 'uint'? 27 | #define SIZE (sizeof(__uint8)) | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT8.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/__UINT8.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(__uint8)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining size of SSIZE_T failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_46797 && [1/2] Building C object CMakeFiles/cmTC_46797.dir/UPPERCASE_SSIZE_T.c.o FAILED: CMakeFiles/cmTC_46797.dir/UPPERCASE_SSIZE_T.c.o /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/bin/mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1=jansson-2.13.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wno-format-truncation -o CMakeFiles/cmTC_46797.dir/UPPERCASE_SSIZE_T.c.o -c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/UPPERCASE_SSIZE_T.c /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/UPPERCASE_SSIZE_T.c:27:22: error: 'SSIZE_T' undeclared here (not in a function) 27 | #define SIZE (sizeof(SSIZE_T)) | ^~~~~~~ /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/UPPERCASE_SSIZE_T.c:29:12: note: in expansion of macro 'SIZE' 29 | ('0' + ((SIZE / 10000)%10)), | ^~~~ ninja: build stopped: subcommand failed. /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CheckTypeSize/UPPERCASE_SSIZE_T.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(SSIZE_T)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; } Determining if the function strtoq exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_8b98f && [1/2] Building C object CMakeFiles/cmTC_8b98f.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_8b98f FAILED: cmTC_8b98f : && /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/bin/mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1=jansson-2.13.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wno-format-truncation -DCHECK_FUNCTION_EXISTS=strtoq -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/lib -znow -zrelro -flto -rdynamic CMakeFiles/cmTC_8b98f.dir/CheckFunctionExists.c.o -o cmTC_8b98f && : /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/lib/gcc/mips-openwrt-linux-musl/11.2.0/../../../../mips-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/ccysov65.ltrans0.ltrans.o: in function `main': :(.text.startup+0x4): undefined reference to `strtoq' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the function _strtoi64 exists failed with the following output: Change Dir: /mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1/CMakeFiles/CMakeTmp Run Build Command(s):/mnt/gold/openwrt/openwrt_2203/staging_dir/host/bin/ninja cmTC_75db8 && [1/2] Building C object CMakeFiles/cmTC_75db8.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_75db8 FAILED: cmTC_75db8 : && /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/bin/mips-openwrt-linux-musl-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -fmacro-prefix-map=/mnt/gold/openwrt/openwrt_2203/build_dir/target-mips_24kc_musl/jansson-2.13.1=jansson-2.13.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -flto -Wno-format-truncation -DCHECK_FUNCTION_EXISTS=_strtoi64 -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/usr/lib -L/mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/lib -znow -zrelro -flto -rdynamic CMakeFiles/cmTC_75db8.dir/CheckFunctionExists.c.o -o cmTC_75db8 && : /mnt/gold/openwrt/openwrt_2203/staging_dir/toolchain-mips_24kc_gcc-11.2.0_musl/lib/gcc/mips-openwrt-linux-musl/11.2.0/../../../../mips-openwrt-linux-musl/bin/ld: /mnt/gold/openwrt/openwrt_2203/tmp/cclDYEo5.ltrans0.ltrans.o: in function `main': :(.text.startup+0x4): undefined reference to `_strtoi64' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed.