clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 clang-14: error: unsupported option '-V -o' clang-14: error: no such file or directory: 'garbage2' clang-14: error: no input files clang-14: error: unknown argument '-qversion'; did you mean '--version'? clang-14: error: no input files clang-14: error: unknown argument '-version'; did you mean '--version'? clang-14: error: no input files ignoreme: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char *e (p, i) ^ ignoreme: fatal error: 'minix/config.h' file not found #include ^~~~~~~~~~~~~~~~ clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 clang-14: error: unsupported option '-V -o' clang-14: error: unknown argument '-qversion'; did you mean '--version'? clang-14: error: no input files clang-14: error: unknown argument '-version'; did you mean '--version'? clang-14: error: no input files ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld clang-14: error: unsupported option '-V -o' clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/14/bin Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 "/usr/bin/x86_64-pc-linux-gnu-ld" --eh-frame-hdr -m elf_x86_64 -shared -o garbage2 /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/lib -L/lib -L/usr/lib conftest.o -soname conftest -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64/crtn.o programs: =/usr/lib/llvm/14/bin:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin libraries: =/usr/lib/llvm/14/bin/../../../../lib/clang/14.0.1:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../lib64:/lib/../lib64:/usr/lib/../lib64:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/lib:/lib:/usr/lib clang-14: error: unsupported option '-print-multi-os-directory' /usr/bin/x86_64-pc-linux-gnu-ld:conftest.rc: file format not recognized; treating as linker script /usr/bin/x86_64-pc-linux-gnu-ld:conftest.rc:1: syntax error clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'process.h' file not found #include ^~~~~~~~~~~ ignoreme: fatal error: 'crt_externs.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'io.h' file not found #include ^~~~~~ ignoreme: fatal error: 'kstat.h' file not found #include ^~~~~~~~~ ignoreme: fatal error: 'mach-o/dyld.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/sockio.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/systemcfg.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/systeminfo.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ioctls.h' file not found #include ^~~~~~~~~~ ignoreme: fatal error: 'kvm.h' file not found #include ^~~~~~~ ignoreme: fatal error: 'mtab.h' file not found #include ^~~~~~~~ ignoreme: fatal error: 'pkglocs.h' file not found #include ^~~~~~~~~~~ ignoreme: fatal error: 'utsname.h' file not found #include ^~~~~~~~~~~ ignoreme: fatal error: 'sys/diskio.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/dkio.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'sys/filio.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'sys/fixpoint.h' file not found #include ^~~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/fs.h' file not found #include ^~~~~~~~~~ ignoreme: fatal error: 'sys/loadavg.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/mntent.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/mnttab.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/pool.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'sys/protosw.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/pstat.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'sys/stream.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/sysget.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/sysmp.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'sys/tcpipstats.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/vm.h' file not found #include ^~~~~~~~~~ ignoreme: fatal error: 'sys/vmmac.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'sys/vmmeter.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/vmparam.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/vmsystm.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'asm/page.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'inet/mib2.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'linux/tasks.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'machine/param.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ufs/fs.h' file not found #include ^~~~~~~~~~ ignoreme: fatal error: 'uvm/uvm_extern.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'uvm/uvm_param.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'vm/vm.h' file not found #include ^~~~~~~~~ ignoreme: fatal error: 'vm/vm_extern.h' file not found #include ^~~~~~~~~~~~~~~~ ignoreme: fatal error: 'vm/vm_param.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'xti.h' file not found #include ^~~~~~~ ignoreme: fatal error: 'sys/dmap.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'sys/timeout.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'machine/pte.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'valgrind/valgrind.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'valgrind/memcheck.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'security/cryptoki.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'osreldate.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'machine/types.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/dkstat.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/conf.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'sys/mbuf.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'sys/proc.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'sys/sema.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'sys/hashing.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/vnode.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'sys/disklabel.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'nbutil.h' file not found #include ^~~~~~~~~~ ignoreme: fatal error: 'ufs/ufs/dinode.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ufs/ufs/quota.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ufs/ufs/inode.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ufs/ffs/fs.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'vm/swap_pager.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/tcp_fsm.h' file not found #include ^~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'net/if_dl.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'net/if_types.h' file not found #include ^~~~~~~~~~~~~~~~ ignoreme: fatal error: 'net/if_mib.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'net/if_var.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/in_var.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/icmp_var.h' file not found #include ^~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/ip_var.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/tcp_timer.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/tcp_var.h' file not found #include ^~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/tcpip.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/udp_var.h' file not found #include ^~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet/in_pcb.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet6/in6_var.h' file not found #include ^~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet6/in6_pcb.h' file not found #include ^~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet6/ip6_var.h' file not found #include ^~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet6/nd6.h' file not found #include ^~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet6/tcp6.h' file not found #include ^~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet6/tcp6_fsm.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet6/tcp6_timer.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'netinet6/tcp6_var.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'pkginfo.h' file not found #include ^~~~~~~~~~~ ignoreme: fatal error: 'pkg.h' file not found #include ^~~~~~~ ignoreme: fatal error: 'pkg.h' file not found #include ^~~~~~~ ignoreme: fatal error: 'windows.h' file not found #include ^~~~~~~~~~~ ignoreme: fatal error: 'iphlpapi.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'lm.h' file not found #include ^~~~~~ ignoreme: fatal error: 'sensors/sensors.h' file not found #include ^~~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'picl.h' file not found #include ^~~~~~~~ ignoreme: error: statement requires expression of scalar type ('struct sockaddr' invalid) if (ac_aggr.rt_dst) ^ ~~~~~~~~~~~~~~ ignoreme: error: no member named 'rt_hash' in 'struct rtentry' if (ac_aggr.rt_hash) ~~~~~~~ ^ ignoreme: error: no member named 'rt_hash' in 'struct rtentry' if (sizeof ac_aggr.rt_hash) ~~~~~~~ ^ ignoreme: error: no member named 'rt_next' in 'struct rtentry' if (ac_aggr.rt_next) ~~~~~~~ ^ ignoreme: error: no member named 'rt_next' in 'struct rtentry' if (sizeof ac_aggr.rt_next) ~~~~~~~ ^ ignoreme: error: no member named 'rt_refcnt' in 'struct rtentry' if (ac_aggr.rt_refcnt) ~~~~~~~ ^ ignoreme: error: no member named 'rt_refcnt' in 'struct rtentry' if (sizeof ac_aggr.rt_refcnt) ~~~~~~~ ^ ignoreme: error: no member named 'rt_unit' in 'struct rtentry' if (ac_aggr.rt_unit) ~~~~~~~ ^ ignoreme: error: no member named 'rt_unit' in 'struct rtentry' if (sizeof ac_aggr.rt_unit) ~~~~~~~ ^ ignoreme: error: no member named 'rt_use' in 'struct rtentry'; did you mean 'rt_dst'? if (ac_aggr.rt_use) ^~~~~~ rt_dst /usr/include/net/route.h:34:21: note: 'rt_dst' declared here struct sockaddr rt_dst; /* Target address. */ ^ ignoreme: error: no member named 'rt_use' in 'struct rtentry'; did you mean 'rt_dst'? if (sizeof ac_aggr.rt_use) ^~~~~~ rt_dst /usr/include/net/route.h:34:21: note: 'rt_dst' declared here struct sockaddr rt_dst; /* Target address. */ ^ ignoreme: error: 'test_array' declared as an array with a negative size static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: error: 'test_array' declared as an array with a negative size static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: warning: overflow in expression; result is -2147483648 with type 'int' [-Winteger-overflow] < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; ^ ignoreme: error: 'test_array' declared as an array with a negative size static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: warning: overflow in expression; result is -9223372036854775808 with type 'long' [-Winteger-overflow] < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; ^ ignoreme: error: 'test_array' declared as an array with a negative size static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: error: expected expression if (sizeof ((intmax_t))) ^ ignoreme: error: expected expression if (sizeof ((uintmax_t))) ^ ignoreme: error: expected expression if (sizeof ((intptr_t))) ^ ignoreme: error: expected expression if (sizeof ((uintptr_t))) ^ ignoreme: error: expected expression if (sizeof ((off64_t))) ^ ignoreme: error: expected expression if (sizeof ((nfds_t))) ^ ignoreme: fatal error: 'inet/mib2.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'inet/mib2.h' file not found #include ^~~~~~~~~~~~~ ignoreme: error: variable has incomplete type 'struct in_ifaddr' static struct in_ifaddr ac_aggr; ^ ignoreme: note: forward declaration of 'struct in_ifaddr' static struct in_ifaddr ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct in_ifaddr' static struct in_ifaddr ac_aggr; ^ ignoreme: note: forward declaration of 'struct in_ifaddr' static struct in_ifaddr ac_aggr; ^ ignoreme: fatal error: '/usr/local/v6/include/sys/types.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ignoreme: error: statement requires expression of scalar type ('struct in6_addr' invalid) if (ac_aggr.sin6_addr) ^ ~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'rpm/rpmlib.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'rpm/header.h' file not found #include ^~~~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `getfsstat' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lnbutil: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `getfsstat' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `getvfsstat' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kinfo_get_cpus' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkinfo: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kinfo_get_cpus' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'exp' [-Wincompatible-library-redeclaration] char exp (); ^ ignoreme: note: 'exp' is a builtin with type 'double (double)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `exp' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'exp' [-Wincompatible-library-redeclaration] char exp (); ^ ignoreme: note: 'exp' is a builtin with type 'double (double)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_read' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkvm: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_openfiles' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkvm: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getprocs' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkvm: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getproc2' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkvm: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getfiles' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkvm: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getfile2' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkvm: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getswapinfo' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkvm: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_openfiles' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getprocs' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getproc2' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getswapinfo' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getfiles' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `kvm_getfile2' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'pcre.h' file not found #include ^~~~~~~~ ignoreme: fatal error: 'winsock2.h' file not found #include ^~~~~~~~~~~~ ignoreme: fatal error: 'winsock2.h' file not found #include ^~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lregex: No such file or directory clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'snmp.h' file not found #include ^~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lkstat: No such file or directory clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lsocket: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `getdevs' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -ldevstat: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `devstat_getdevs' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -ldevstat: No such file or directory 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_MD_CTX_create' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_MD_CTX_destroy' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `ERR_get_error_all' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `OpenSSL_add_all_algorithms' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `SSL_get1_peer_certificate' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `SSL_library_init' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `SSL_load_error_strings' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `nlist' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `nlist64' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `knlist' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `endwin' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'ncurses/curses.h' file not found #include ^~~~~~~~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cbreak' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'ceil' [-Wincompatible-library-redeclaration] char ceil (); ^ ignoreme: note: 'ceil' is a builtin with type 'double (double)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `ceil' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'ceil' [-Wincompatible-library-redeclaration] char ceil (); ^ ignoreme: note: 'ceil' is a builtin with type 'double (double)' ignoreme: error: expected expression if (sizeof ((off_t))) ^ ignoreme: error: expected expression if (sizeof ((pid_t))) ^ ignoreme: error: expected expression if (sizeof ((socklen_t))) ^ ignoreme: error: expected expression if (sizeof ((in_addr_t))) ^ ignoreme: error: expected expression if (sizeof ((ssize_t))) ^ ignoreme: error: call to undeclared function 'ioctlsocket'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return ioctlsocket(0, 0, (unsigned int *)NULL) ^ ignoreme: error: call to undeclared function 'ioctlsocket'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return ioctlsocket(0, 0, (unsigned long *)NULL) ^ ignoreme: error: expected expression if (sizeof ((size_t))) ^ ignoreme: error: indirection requires pointer operand ('void' invalid) return *(signal (0, 0)) (0) == 1; ^~~~~~~~~~~~~~~~~~~~ ignoreme: warning: format string missing [-Wformat] return asprintf (); ~~~~~~~~ ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `getipnodebyname' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'snprintf' [-Wincompatible-library-redeclaration] char snprintf (); ^ ignoreme: note: 'snprintf' is a builtin with type 'int (char *, unsigned long, const char *, ...)' ignoreme: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] char strdup (); ^ ignoreme: note: 'strdup' is a builtin with type 'char *(const char *)' ignoreme: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] char strerror (); ^ ignoreme: note: 'strerror' is a builtin with type 'char *(int)' ignoreme: warning: incompatible redeclaration of library function 'strncasecmp' [-Wincompatible-library-redeclaration] char strncasecmp (); ^ ignoreme: note: 'strncasecmp' is a builtin with type 'int (const char *, const char *, unsigned long)' ignoreme: warning: incompatible redeclaration of library function 'vsnprintf' [-Wincompatible-library-redeclaration] char vsnprintf (); ^ ignoreme: note: 'vsnprintf' is a builtin with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)' ignoreme: fatal error: 'crt_externs.h' file not found #include ^~~~~~~~~~~~~~~ ignoreme: fatal error: 'mach-o/dyld.h' file not found #include ^~~~~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `closesocket' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'process.h' file not found #include ^~~~~~~~~~~ ignoreme: fatal error: 'conio.h' file not found #include ^~~~~~~~~ ignoreme: fatal error: 'io.h' file not found #include ^~~~~~ ignoreme: fatal error: 'conio.h' file not found #include ^~~~~~~~~ ignoreme: fatal error: 'io.h' file not found #include ^~~~~~ ignoreme: warning: incompatible redeclaration of library function 'strlcat' [-Wincompatible-library-redeclaration] char strlcat (); ^ ignoreme: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `strlcat' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration] char strlcpy (); ^ ignoreme: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `strlcpy' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: warning: incompatible redeclaration of library function 'strtol' [-Wincompatible-library-redeclaration] char strtol (); ^ ignoreme: note: 'strtol' is a builtin with type 'long (const char *, char **, int)' ignoreme: warning: incompatible redeclaration of library function 'strtoul' [-Wincompatible-library-redeclaration] char strtoul (); ^ ignoreme: note: 'strtoul' is a builtin with type 'unsigned long (const char *, char **, int)' ignoreme: warning: incompatible redeclaration of library function 'strtoull' [-Wincompatible-library-redeclaration] char strtoull (); ^ ignoreme: note: 'strtoull' is a builtin with type 'unsigned long long (const char *, char **, int)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cgetnext' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `forkall' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `getmntinfo' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `stime' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `vm_region' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `vm_region_64' 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-analyzer/net-snmp-5.9.3/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `sigalrm' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: error: variable has incomplete type 'struct fs_data' struct fs_data fsd; ^ ignoreme: note: forward declaration of 'struct fs_data' struct fs_data fsd; ^ ignoreme: error: call to undeclared function 'statfs'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return statfs (".", &fsd) != 1; ^ 2 errors generated. ignoreme: error: variable has incomplete type 'struct arphd' static struct arphd ac_aggr; ^ ignoreme: note: forward declaration of 'struct arphd' static struct arphd ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct arphd' static struct arphd ac_aggr; ^ ignoreme: note: forward declaration of 'struct arphd' static struct arphd ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct des_ks_struct' static struct des_ks_struct ac_aggr; ^ ignoreme: note: forward declaration of 'struct des_ks_struct' static struct des_ks_struct ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct des_ks_struct' static struct des_ks_struct ac_aggr; ^ ignoreme: note: forward declaration of 'struct des_ks_struct' static struct des_ks_struct ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ip6stat' static struct ip6stat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ip6stat' static struct ip6stat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ip6stat' static struct ip6stat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ip6stat' static struct ip6stat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct ipstat' static struct ipstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct mbstat' static struct mbstat ac_aggr; ^ ignoreme: fatal error: 'sys/sysctl.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'sys/sysctl.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: error: variable has incomplete type 'struct nlist64' static struct nlist64 ac_aggr; ^ ignoreme: note: forward declaration of 'struct nlist64' static struct nlist64 ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct nlist64' static struct nlist64 ac_aggr; ^ ignoreme: note: forward declaration of 'struct nlist64' static struct nlist64 ac_aggr; ^ ignoreme: error: no member named 'sa_len' in 'struct sockaddr' if (ac_aggr.sa_len) ~~~~~~~ ^ ignoreme: error: no member named 'sa_len' in 'struct sockaddr' if (sizeof ac_aggr.sa_len) ~~~~~~~ ^ ignoreme: error: no member named 'sa_union' in 'struct sockaddr' if (ac_aggr.sa_union.sa_generic.sa_family2) ~~~~~~~ ^ ignoreme: error: no member named 'sa_union' in 'struct sockaddr' if (sizeof ac_aggr.sa_union.sa_generic.sa_family2) ~~~~~~~ ^ ignoreme: error: no member named '__ss_family' in 'struct sockaddr_storage'; did you mean 'ss_family'? if (ac_aggr.__ss_family) ^~~~~~~~~~~ ss_family /usr/include/bits/socket.h:197:5: note: 'ss_family' declared here __SOCKADDR_COMMON (ss_); /* Address family, etc. */ ^ /usr/include/bits/sockaddr.h:35:14: note: expanded from macro '__SOCKADDR_COMMON' sa_family_t sa_prefix##family ^ :113:1: note: expanded from here ss_family ^ ignoreme: error: no member named '__ss_family' in 'struct sockaddr_storage'; did you mean 'ss_family'? if (sizeof ac_aggr.__ss_family) ^~~~~~~~~~~ ss_family /usr/include/bits/socket.h:197:5: note: 'ss_family' declared here __SOCKADDR_COMMON (ss_); /* Address family, etc. */ ^ /usr/include/bits/sockaddr.h:35:14: note: expanded from macro '__SOCKADDR_COMMON' sa_family_t sa_prefix##family ^ :113:1: note: expanded from here ss_family ^ ignoreme: error: no member named 'f_favail' in 'struct statfs'; did you mean 'f_bavail'? if (ac_aggr.f_favail) ^~~~~~~~ f_bavail /usr/include/bits/statfs.h:31:18: note: 'f_bavail' declared here __fsblkcnt_t f_bavail; ^ ignoreme: error: no member named 'f_favail' in 'struct statfs'; did you mean 'f_bavail'? if (sizeof ac_aggr.f_favail) ^~~~~~~~ f_bavail /usr/include/bits/statfs.h:31:18: note: 'f_bavail' declared here __fsblkcnt_t f_bavail; ^ ignoreme: error: no member named 'mnt_dir' in 'struct statvfs' if (ac_aggr.mnt_dir) ~~~~~~~ ^ ignoreme: error: no member named 'mnt_dir' in 'struct statvfs' if (sizeof ac_aggr.mnt_dir) ~~~~~~~ ^ ignoreme: error: variable has incomplete type 'struct swdevt' static struct swdevt ac_aggr; ^ ignoreme: note: forward declaration of 'struct swdevt' static struct swdevt ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct swdevt' static struct swdevt ac_aggr; ^ ignoreme: note: forward declaration of 'struct swdevt' static struct swdevt ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct tcpstat' static struct tcpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct tcpstat' static struct tcpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct tcpstat' static struct tcpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct tcpstat' static struct tcpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: note: forward declaration of 'struct udpstat' static struct udpstat ac_aggr; ^ ignoreme: error: variable has incomplete type 'struct ifnet' struct ifnet test; test.if_mtu = 0; ^ ignoreme: note: forward declaration of 'struct ifnet' struct ifnet test; test.if_mtu = 0; ^ ignoreme: error: variable has incomplete type 'struct ifnet' struct ifnet test; test.if_mtu = 0; ^ ignoreme: note: forward declaration of 'struct ifnet' struct ifnet test; test.if_mtu = 0; ^ ignoreme: error: variable has incomplete type 'struct ifnet' struct ifnet test; test.if_mtu = 0; ^ ignoreme: note: forward declaration of 'struct ifnet' struct ifnet test; test.if_mtu = 0; ^ ignoreme: error: variable has incomplete type 'struct ifnet' struct ifnet test; test.if_mtu = 0; ^ ignoreme: note: forward declaration of 'struct ifnet' struct ifnet test; test.if_mtu = 0; ^ ignoreme: error: no member named 'if_addrlist' in 'struct ifnet' if (ac_aggr.if_addrlist) ~~~~~~~ ^ ignoreme: error: no member named 'if_addrlist' in 'struct ifnet' if (sizeof ac_aggr.if_addrlist) ~~~~~~~ ^ ignoreme: error: no member named 'if_addrhead' in 'struct ifnet' if (ac_aggr.if_addrhead.tqh_first) ~~~~~~~ ^ ignoreme: error: no member named 'if_addrhead' in 'struct ifnet' if (sizeof ac_aggr.if_addrhead.tqh_first) ~~~~~~~ ^ ignoreme: error: no member named 'if_baudrate' in 'struct ifnet' if (ac_aggr.if_baudrate) ~~~~~~~ ^ ignoreme: error: no member named 'if_baudrate' in 'struct ifnet' if (sizeof ac_aggr.if_baudrate) ~~~~~~~ ^ ignoreme: error: no member named 'if_baudrate' in 'struct ifnet' if (ac_aggr.if_baudrate.ifs_value) ~~~~~~~ ^ ignoreme: error: no member named 'if_baudrate' in 'struct ifnet' if (sizeof ac_aggr.if_baudrate.ifs_value) ~~~~~~~ ^ ignoreme: error: no member named 'if_imcasts' in 'struct ifnet' if (ac_aggr.if_imcasts) ~~~~~~~ ^ ignoreme: error: no member named 'if_imcasts' in 'struct ifnet' if (sizeof ac_aggr.if_imcasts) ~~~~~~~ ^ ignoreme: error: no member named 'if_lastchange' in 'struct ifnet' if (ac_aggr.if_lastchange.tv_sec) ~~~~~~~ ^ ignoreme: error: no member named 'if_lastchange' in 'struct ifnet' if (sizeof ac_aggr.if_lastchange.tv_sec) ~~~~~~~ ^ ignoreme: error: no member named 'if_lastchange' in 'struct ifnet' if (ac_aggr.if_lastchange.tv_nsec) ~~~~~~~ ^ ignoreme: error: no member named 'if_lastchange' in 'struct ifnet' if (sizeof ac_aggr.if_lastchange.tv_nsec) ~~~~~~~ ^ ignoreme: error: no member named 'if_noproto' in 'struct ifnet' if (ac_aggr.if_noproto) ~~~~~~~ ^ ignoreme: error: no member named 'if_noproto' in 'struct ifnet' if (sizeof ac_aggr.if_noproto) ~~~~~~~ ^ ignoreme: error: no member named 'if_omcasts' in 'struct ifnet' if (ac_aggr.if_omcasts) ~~~~~~~ ^ ignoreme: error: no member named 'if_omcasts' in 'struct ifnet' if (sizeof ac_aggr.if_omcasts) ~~~~~~~ ^ ignoreme: error: no member named 'if_xname' in 'struct ifnet'; did you mean 'if_name'? if (ac_aggr.if_xname) ^~~~~~~~ if_name ignoreme: note: 'if_name' declared here char *if_name; /* name, e.g. "en" or "lo" */ ^ ignoreme: error: no member named 'if_xname' in 'struct ifnet'; did you mean 'if_name'? if (sizeof ac_aggr.if_xname) ^~~~~~~~ if_name ignoreme: note: 'if_name' declared here char *if_name; /* name, e.g. "en" or "lo" */ ^ ignoreme: error: no member named 'rt_nodes' in 'struct rtentry' rt.rt_nodes[0].rn_flags = 1; ~~ ^ ignoreme: warning: expression result unused [-Wunused-value] rt.rt_dst; ~~ ^~~~~~ ignoreme: error: no member named 'rt_hash' in 'struct rtentry' rt.rt_hash; ~~ ^ ignoreme: error: use of undeclared identifier 'CTL_KERN' mib[0] = CTL_KERN; ^ ignoreme: error: use of undeclared identifier 'KERN_BOOTTIME' mib[1] = KERN_BOOTTIME; ^ ignoreme: error: call to undeclared function 'sysctl'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return 1 - (sysctl(mib, 2, &boottime, &len, NULL, 0) == 0 && boottime.tv_sec); ^ ignoreme: note: did you mean 'syscall'? /usr/include/unistd.h:1091:17: note: 'syscall' declared here extern long int syscall (long int __sysno, ...) __THROW; ^ 3 errors generated. ignoreme: fatal error: 'netinet/tcp_timer.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ ignoreme: error: statement requires expression of scalar type ('struct in_addr' invalid) if (ac_aggr.ipi_spec_dst) ^ ~~~~~~~~~~~~~~~~~~~~ ignoreme: error: use of undeclared identifier 'IP_RECVDSTADDR' if (cm->cmsg_level == IPPROTO_IP && cm->cmsg_type == IP_RECVDSTADDR) { ^ ignoreme: error: passing 'struct in_addr *' to parameter of incompatible type 'struct in_addr'; dereference with * printf("Address: %s\n", inet_ntoa(src)); ^~~ * /usr/include/arpa/inet.h:53:40: note: passing argument to parameter '__in' here extern char *inet_ntoa (struct in_addr __in) __THROW; ^ 2 errors generated.