In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] { printf("%d\n", sizeof(char)*8); ~~ ^~~~~~~~~~~~~~ %lu 2 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] { printf("%d\n", sizeof(short)*8); ~~ ^~~~~~~~~~~~~~~ %lu 2 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] { printf("%d\n", sizeof(int)*8); ~~ ^~~~~~~~~~~~~ %lu 2 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] { printf("%d\n", sizeof(long)*8); ~~ ^~~~~~~~~~~~~~ %lu 2 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] { printf("%d\n", sizeof(long long)*8); ~~ ^~~~~~~~~~~~~~~~~~~ %lu 2 warnings generated. config.check.tmp.c:4:38: warning: null passed to a callee that requires a non-null argument [-Wnonnull] pthread_create(p, NULL, NULL, NULL); ~~~~ ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-libs/netwib-5.39.0/temp/config-2593a4.o: in function `main': config.check.tmp.c:(.text+0x2): undefined reference to `libnet_destroy_packet' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-libs/netwib-5.39.0/temp/config-7534b0.o: in function `main': config.check.tmp.c:(.text+0x2): undefined reference to `libnet_destroy_packet' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) config.check.tmp.c:2:10: fatal error: 'stropts.h' file not found #include ^~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'sys/sysctl.h' file not found #include ^~~~~~~~~~~~~~ config.check.tmp.c:3:10: fatal error: 'sys/sysctl.h' file not found #include ^~~~~~~~~~~~~~ config.check.tmp.c:4:10: fatal error: 'sys/sysctl.h' file not found #include ^~~~~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'sys/sockio.h' file not found #include ^~~~~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'sys/dlpi.h' file not found #include ^~~~~~~~~~~~ config.check.tmp.c:3:10: fatal error: 'sys/dlpi.h' file not found #include ^~~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'sys/bufmod.h' file not found #include ^~~~~~~~~~~~~~ config.check.tmp.c:3:10: fatal error: 'sys/bufmod.h' file not found #include ^~~~~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'net/if_types.h' file not found #include ^~~~~~~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'net/if_dl.h' file not found #include ^~~~~~~~~~~~~ config.check.tmp.c:3:10: fatal error: 'net/if_dl.h' file not found #include ^~~~~~~~~~~~~ config.check.tmp.c:4:10: fatal error: 'net/if_dl.h' file not found #include ^~~~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'net/bpf.h' file not found #include ^~~~~~~~~~~ config.check.tmp.c:3:10: fatal error: 'net/bpf.h' file not found #include ^~~~~~~~~~~ config.check.tmp.c:4:10: fatal error: 'net/bpf.h' file not found #include ^~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'asm/page.h' file not found #include ^~~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'mach/machine/vm_param.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~ config.check.tmp.c:2:10: fatal error: 'machine/param.h' file not found #include ^~~~~~~~~~~~~~~~~ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:14:9: error: no member named 'sa_len' in 'struct sockaddr' psa->sa_len = 0; ~~~ ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:14:11: error: no member named 'sin_len' in 'struct sockaddr_in' psain->sin_len = 0; ~~~~~ ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:14:12: error: no member named 'sin6_len' in 'struct sockaddr_in6' psain6->sin6_len = 0; ~~~~~~ ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:14:6: error: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] t=strlen("t")+strlen("u"); /*otherwise, no bug ...*/ ^ config.check.tmp.c:14:6: note: include the header or explicitly provide a declaration for 'strlen' In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:26: error: too many arguments to function call, expected 1, have 2 { pcap_freecode(NULL, NULL); ~~~~~~~~~~~~~ ^~~~ /usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/pcap/pcap.h:622:14: note: 'pcap_freecode' declared here PCAP_API void pcap_freecode(struct bpf_program *); ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:13:18: warning: null passed to a callee that requires a non-null argument [-Wnonnull] l = dirfd(NULL); ~~~~^ 2 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:14:24: warning: null passed to a callee that requires a non-null argument [-Wnonnull] l = getrlimit(0,NULL); ~~~~^ 2 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:27: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { gettimeofday(NULL, NULL); ~~~~ ^ 2 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:6: error: call to undeclared function 'pthread_delay_np'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] { pthread_delay_np(NULL); ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:40: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { pthread_mutex_timedlock(NULL, NULL); ~~~~ ^ config.check.tmp.c:12:40: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { pthread_mutex_timedlock(NULL, NULL); ~~~~^ 3 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:43: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { pthread_rwlock_timedrdlock(NULL, NULL); ~~~~ ^ config.check.tmp.c:12:43: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { pthread_rwlock_timedrdlock(NULL, NULL); ~~~~^ 3 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:43: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { pthread_rwlock_timedwrlock(NULL, NULL); ~~~~ ^ config.check.tmp.c:12:43: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { pthread_rwlock_timedwrlock(NULL, NULL); ~~~~^ 3 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:6: warning: 'pthread_yield' is deprecated: pthread_yield is deprecated, use sched_yield instead [-Wdeprecated-declarations] { pthread_yield(); ^ /usr/include/pthread.h:480:3: note: 'pthread_yield' has been explicitly marked deprecated here __attribute_deprecated_msg__ ("\ ^ /usr/include/sys/cdefs.h:350:19: note: expanded from macro '__attribute_deprecated_msg__' __attribute__ ((__deprecated__ (msg))) ^ 2 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:14:40: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { getpwnam_r(NULL, NULL, NULL, 0, NULL); ~~~~ ^ config.check.tmp.c:14:40: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { getpwnam_r(NULL, NULL, NULL, 0, NULL); ~~~~ ^ config.check.tmp.c:14:40: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { getpwnam_r(NULL, NULL, NULL, 0, NULL); ~~~~ ^ config.check.tmp.c:14:40: warning: null passed to a callee that requires a non-null argument [-Wnonnull] { getpwnam_r(NULL, NULL, NULL, 0, NULL); ~~~~^ 5 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:14:14: error: incompatible pointer to integer conversion passing 'void *' to parameter of type '__gid_t' (aka 'unsigned int') [-Wint-conversion] { getgrgid_r(NULL, NULL, NULL, 0, NULL); ^~~~ /usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1/include/stddef.h:89:16: note: expanded from macro 'NULL' # define NULL ((void*)0) ^~~~~~~~~~ /usr/include/grp.h:140:32: note: passing argument to parameter '__gid' here extern int getgrgid_r (__gid_t __gid, struct group *__restrict __resultbuf, ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:11:19: warning: 'readdir_r' is deprecated [-Wdeprecated-declarations] int main(void) { readdir_r(NULL, NULL, NULL); return(0); } ^ /usr/include/dirent.h:194:25: note: 'readdir_r' has been explicitly marked deprecated here __nonnull ((1, 2, 3)) __attribute_deprecated__; ^ /usr/include/sys/cdefs.h:339:51: note: expanded from macro '__attribute_deprecated__' # define __attribute_deprecated__ __attribute__ ((__deprecated__)) ^ config.check.tmp.c:11:45: warning: null passed to a callee that requires a non-null argument [-Wnonnull] int main(void) { readdir_r(NULL, NULL, NULL); return(0); } ~~~~ ^ config.check.tmp.c:11:45: warning: null passed to a callee that requires a non-null argument [-Wnonnull] int main(void) { readdir_r(NULL, NULL, NULL); return(0); } ~~~~ ^ config.check.tmp.c:11:45: warning: null passed to a callee that requires a non-null argument [-Wnonnull] int main(void) { readdir_r(NULL, NULL, NULL); return(0); } ~~~~^ 5 warnings generated. In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:4: error: call to undeclared function 'getipnodebyname'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] { getipnodebyname(NULL, 0, 0, NULL); ^ config.check.tmp.c:12:4: note: did you mean 'getprotobyname'? /usr/include/netdb.h:355:25: note: 'getprotobyname' declared here extern struct protoent *getprotobyname (const char *__name); ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:12:4: error: call to undeclared function 'getipnodebyaddr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] { getipnodebyaddr(NULL, 0, 0, NULL); ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:13:27: error: use of undeclared identifier 'PAGE_SIZE' int main(void){int i; i = PAGE_SIZE;} ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:13:27: error: use of undeclared identifier 'PAGESIZE' int main(void){int i; i = PAGESIZE;} ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:14:11: fatal error: 'net/bpf.h' file not found #include ^~~~~~~~~~~ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ config.check.tmp.c:13:11: fatal error: 'sys/sockio.h' file not found #include ^~~~~~~~~~~~~~ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from config.check.tmp.c:7: In file included from /usr/include/stdlib.h:26: In file included from /usr/include/bits/libc-header-start.h:33: /usr/include/features.h:194:3: warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-W#warnings] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^