--- clang-14.log 2022-11-02 22:36:15.808754789 +1100 +++ clang-15.log 2022-11-02 22:36:15.808754789 +1100 @@ -1,22 +1,22 @@ -clang version 15.0.1 +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin -clang version 15.0.1 +InstalledDir: /usr/lib/llvm/14/bin +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin +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-15: error: unsupported option '-V -o' -clang-15: error: no such file or directory: 'garbage' -clang-15: error: no input files -clang-15: error: unknown argument '-qversion'; did you mean '--version'? -clang-15: error: no input files -clang-15: error: unknown argument '-version'; did you mean '--version'? -clang-15: error: no input files +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 @@ -44,23 +44,23 @@ -clang version 15.0.1 +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin -clang version 15.0.1 +InstalledDir: /usr/lib/llvm/14/bin +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin +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-15: error: unsupported option '-V -o' -clang-15: error: unknown argument '-qversion'; did you mean '--version'? -clang-15: error: no input files -clang-15: error: unknown argument '-version'; did you mean '--version'? -clang-15: error: no input files +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 @@ -84,25 +84,25 @@ -clang-15: error: unsupported option '-V -o' +clang-14: error: unsupported option '-V -o' -clang version 15.0.1 +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin +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 garbage /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/15/bin:/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin -libraries: =/usr/lib/llvm/15/bin/../../../../lib/clang/15.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-15: error: unsupported option '-print-multi-os-directory' + "/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-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) @@ -623,88 +623,88 @@ ^~~~~~~~~~~~~~ /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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'pcre.h' file not found @@ -3095,35 +3095,35 @@ #include ^~~~~~~~~~~~ /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lregex: No such file or directory -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) @@ -3136,37 +3136,37 @@ /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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: fatal error: 'ncurses/curses.h' file not found @@ -3174,7 +3174,7 @@ ^~~~~~~~~~~~~~~~~~ /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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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 (); @@ -3182,7 +3182,7 @@ 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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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 (); ^ @@ -3212,10 +3212,10 @@ -ignoreme: warning: call to undeclared function 'ioctlsocket'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +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: warning: call to undeclared function 'ioctlsocket'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +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) ^ @@ -3243,7 +3243,7 @@ /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-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) @@ -3293,7 +3293,7 @@ /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-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) @@ -3322,14 +3322,14 @@ 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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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 (); @@ -3345,19 +3345,19 @@ 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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) @@ -3379,15 +3379,15 @@ /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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) @@ -3397,7 +3397,7 @@ /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-15: error: linker command failed with exit code 1 (use -v to see invocation) +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; @@ -3405,9 +3405,10 @@ ignoreme: note: forward declaration of 'struct fs_data' struct fs_data fsd; ^ -ignoreme: warning: call to undeclared function 'statfs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +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. @@ -3669,7 +3670,7 @@ /usr/include/bits/socket.h:197:5: note: 'ss_family' declared here __SOCKADDR_COMMON (ss_); /* Address family, etc. */ ^ -/usr/include/bits/sockaddr.h:35:15: note: expanded from macro '__SOCKADDR_COMMON' +/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 @@ -3682,7 +3683,7 @@ /usr/include/bits/socket.h:197:5: note: 'ss_family' declared here __SOCKADDR_COMMON (ss_); /* Address family, etc. */ ^ -/usr/include/bits/sockaddr.h:35:15: note: expanded from macro '__SOCKADDR_COMMON' +/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 @@ -3935,10 +3936,14 @@ ignoreme: error: use of undeclared identifier 'KERN_BOOTTIME' mib[1] = KERN_BOOTTIME; ^ -ignoreme: warning: call to undeclared function 'sysctl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +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); ^ -1 warning and 2 errors generated. +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 ^~~~~~~~~~~~~~~~~~~~~