Performing C SOURCE FILE Test C_Wheader_guard_VALID failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_b83ea && [1/2] Building C object CMakeFiles/cmTC_b83ea.dir/src.c.o FAILED: CMakeFiles/cmTC_b83ea.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -DC_Wheader_guard_VALID -fPIE -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -o CMakeFiles/cmTC_b83ea.dir/src.c.o -c src.c x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-Wheader-guard' ninja: build stopped: subcommand failed. Source file was: int main(void) { return 0; } Performing C SOURCE FILE Test C_Wcomma_VALID failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_04c48 && [1/2] Building C object CMakeFiles/cmTC_04c48.dir/src.c.o FAILED: CMakeFiles/cmTC_04c48.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -DC_Wcomma_VALID -fPIE -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wcomma -o CMakeFiles/cmTC_04c48.dir/src.c.o -c src.c x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-Wcomma'; did you mean '-Wcomment'? ninja: build stopped: subcommand failed. Source file was: int main(void) { return 0; } Performing C SOURCE FILE Test C_Wshorten_64_to_32_VALID failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_c2544 && [1/2] Building C object CMakeFiles/cmTC_c2544.dir/src.c.o FAILED: CMakeFiles/cmTC_c2544.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -DC_Wshorten_64_to_32_VALID -fPIE -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wshorten-64-to-32 -o CMakeFiles/cmTC_c2544.dir/src.c.o -c src.c x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-Wshorten-64-to-32' ninja: build stopped: subcommand failed. Source file was: int main(void) { return 0; } Performing C++ SOURCE FILE Test CXX_Wheader_guard_VALID failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_0d589 && [1/2] Building CXX object CMakeFiles/cmTC_0d589.dir/src.cxx.o FAILED: CMakeFiles/cmTC_0d589.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fPIC -DPIC -DCXX_Wheader_guard_VALID -fPIE -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wheader-guard -o CMakeFiles/cmTC_0d589.dir/src.cxx.o -c src.cxx x86_64-pc-linux-gnu-g++: error: unrecognized command-line option '-Wheader-guard' ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX_Wcomma_VALID failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_52ea0 && [1/2] Building CXX object CMakeFiles/cmTC_52ea0.dir/src.cxx.o FAILED: CMakeFiles/cmTC_52ea0.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fPIC -DPIC -DCXX_Wcomma_VALID -fPIE -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wcomma -o CMakeFiles/cmTC_52ea0.dir/src.cxx.o -c src.cxx x86_64-pc-linux-gnu-g++: error: unrecognized command-line option '-Wcomma'; did you mean '-Wcomment'? ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Performing C++ SOURCE FILE Test CXX_Wshorten_64_to_32_VALID failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_5897e && [1/2] Building CXX object CMakeFiles/cmTC_5897e.dir/src.cxx.o FAILED: CMakeFiles/cmTC_5897e.dir/src.cxx.o /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fPIC -DPIC -DCXX_Wshorten_64_to_32_VALID -fPIE -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wshorten-64-to-32 -o CMakeFiles/cmTC_5897e.dir/src.cxx.o -c src.cxx x86_64-pc-linux-gnu-g++: error: unrecognized command-line option '-Wshorten-64-to-32' ninja: build stopped: subcommand failed. Source file was: int main() { return 0; } Determining if the function pcap_open exists failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_e7d71 && [1/2] Building C object CMakeFiles/cmTC_e7d71.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_e7d71 FAILED: cmTC_e7d71 : && /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -DCHECK_FUNCTION_EXISTS=pcap_open -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fPIE -pie CMakeFiles/cmTC_e7d71.dir/CheckFunctionExists.c.o -o cmTC_e7d71 /usr/lib64/libpcap.so && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_e7d71.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `pcap_open' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Determining if the gnutls_pkcs11_obj_list_import_url4 exist failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_66f0b && [1/2] Building C object CMakeFiles/cmTC_66f0b.dir/CheckSymbolExists.c.o [2/2] Linking C executable cmTC_66f0b FAILED: cmTC_66f0b : && /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fPIE -pie CMakeFiles/cmTC_66f0b.dir/CheckSymbolExists.c.o -o cmTC_66f0b /usr/lib64/libgnutls.so && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_66f0b.dir/CheckSymbolExists.c.o: in function `main': CheckSymbolExists.c:(.text.startup+0x3): undefined reference to `gnutls_pkcs11_obj_list_import_url4' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. File /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef gnutls_pkcs11_obj_list_import_url4 return ((int*)(&gnutls_pkcs11_obj_list_import_url4))[argc]; #else (void)argc; return 0; #endif } Determining if the include file sys/sockio.h exists failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_e7a16 && [1/2] Building C object CMakeFiles/cmTC_e7a16.dir/CheckIncludeFile.c.o FAILED: CMakeFiles/cmTC_e7a16.dir/CheckIncludeFile.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -fPIE -o CMakeFiles/cmTC_e7a16.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c CheckIncludeFile.c:1:10: fatal error: sys/sockio.h: No such file or directory 1 | #include | ^~~~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. Determining if the optreset exist failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_99513 && [1/2] Building C object CMakeFiles/cmTC_99513.dir/CheckSymbolExists.c.o FAILED: CMakeFiles/cmTC_99513.dir/CheckSymbolExists.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -fPIE -o CMakeFiles/cmTC_99513.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c CheckSymbolExists.c: In function ‘main’: CheckSymbolExists.c:8:19: error: ‘optreset’ undeclared (first use in this function) 8 | return ((int*)(&optreset))[argc]; | ^~~~~~~~ CheckSymbolExists.c:8:19: note: each undeclared identifier is reported only once for each function it appears in CheckSymbolExists.c:4:14: warning: parameter ‘argc’ set but not used [-Wunused-but-set-parameter] 4 | int main(int argc, char** argv) | ~~~~^~~~ ninja: build stopped: subcommand failed. File /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include int main(int argc, char** argv) { (void)argv; #ifndef optreset return ((int*)(&optreset))[argc]; #else (void)argc; return 0; #endif } Determining if the function issetugid exists failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_40515 && [1/2] Building C object CMakeFiles/cmTC_40515.dir/CheckFunctionExists.c.o [2/2] Linking C executable cmTC_40515 FAILED: cmTC_40515 : && /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -DCHECK_FUNCTION_EXISTS=issetugid -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fPIE -pie CMakeFiles/cmTC_40515.dir/CheckFunctionExists.c.o -o cmTC_40515 && : /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: CMakeFiles/cmTC_40515.dir/CheckFunctionExists.c.o: in function `main': CheckFunctionExists.c:(.text.startup+0xc): undefined reference to `issetugid' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. Performing C SOURCE FILE Test HAVE_STRUCT_SOCKADDR_SA_LEN failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_e2847 && [1/2] Building C object CMakeFiles/cmTC_e2847.dir/src.c.o FAILED: CMakeFiles/cmTC_e2847.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -DHAVE_STRUCT_SOCKADDR_SA_LEN -fPIE -o CMakeFiles/cmTC_e2847.dir/src.c.o -c src.c src.c:4:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] 4 | int main() | ^~~~ src.c: In function ‘main’: src.c:4:5: warning: old-style function definition [-Wold-style-definition] src.c:6:38: error: ‘struct sockaddr’ has no member named ‘sa_len’ 6 | (void)sizeof(((struct sockaddr *)0)->sa_len); | ^~ ninja: build stopped: subcommand failed. Source file was: #include int main() { (void)sizeof(((struct sockaddr *)0)->sa_len); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_FLAGS failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_d25ac && [1/2] Building C object CMakeFiles/cmTC_d25ac.dir/src.c.o FAILED: CMakeFiles/cmTC_d25ac.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -DHAVE_STRUCT_STAT_ST_FLAGS -fPIE -o CMakeFiles/cmTC_d25ac.dir/src.c.o -c src.c src.c:4:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] 4 | int main() | ^~~~ src.c: In function ‘main’: src.c:4:5: warning: old-style function definition [-Wold-style-definition] src.c:6:34: error: ‘struct stat’ has no member named ‘st_flags’ 6 | (void)sizeof(((struct stat *)0)->st_flags); | ^~ ninja: build stopped: subcommand failed. Source file was: #include int main() { (void)sizeof(((struct stat *)0)->st_flags); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT_ST_BIRTHTIME failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_ecc62 && [1/2] Building C object CMakeFiles/cmTC_ecc62.dir/src.c.o FAILED: CMakeFiles/cmTC_ecc62.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -DHAVE_STRUCT_STAT_ST_BIRTHTIME -fPIE -o CMakeFiles/cmTC_ecc62.dir/src.c.o -c src.c src.c:4:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] 4 | int main() | ^~~~ src.c: In function ‘main’: src.c:4:5: warning: old-style function definition [-Wold-style-definition] src.c:6:34: error: ‘struct stat’ has no member named ‘st_birthtime’ 6 | (void)sizeof(((struct stat *)0)->st_birthtime); | ^~ ninja: build stopped: subcommand failed. Source file was: #include int main() { (void)sizeof(((struct stat *)0)->st_birthtime); return 0; } Performing C SOURCE FILE Test HAVE_STRUCT_STAT___ST_BIRTHTIME failed with the following output: Change Dir: /var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja cmTC_8eb63 && [1/2] Building C object CMakeFiles/cmTC_8eb63.dir/src.c.o FAILED: CMakeFiles/cmTC_8eb63.dir/src.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -fvisibility=hidden -fexcess-precision=fast -Wall -Wextra -Wendif-labels -Wpointer-arith -Wformat-security -fwrapv -fno-strict-overflow -Wvla -Waddress -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wno-long-long -Wframe-larger-than=32768 -Wc++-compat -Wunused-const-variable -Wshadow -Wold-style-definition -Wstrict-prototypes -Wlogical-op -Wjump-misses-init -Werror=implicit -Wno-pointer-sign -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -Wformat -Werror=format-security -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0/= -fmacro-prefix-map=/var/tmp/portage/net-analyzer/wireshark-3.4.0/work/wireshark-3.4.0_build/= -DHAVE_STRUCT_STAT___ST_BIRTHTIME -fPIE -o CMakeFiles/cmTC_8eb63.dir/src.c.o -c src.c src.c:4:5: warning: function declaration isn’t a prototype [-Wstrict-prototypes] 4 | int main() | ^~~~ src.c: In function ‘main’: src.c:4:5: warning: old-style function definition [-Wold-style-definition] src.c:6:34: error: ‘struct stat’ has no member named ‘__st_birthtime’ 6 | (void)sizeof(((struct stat *)0)->__st_birthtime); | ^~ ninja: build stopped: subcommand failed. Source file was: #include int main() { (void)sizeof(((struct stat *)0)->__st_birthtime); return 0; }