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: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() { ^ int ignoreme: error: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] pid = fork(); ^ ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] exit(2); ^ ignoreme: note: include the header or explicitly provide a declaration for 'exit' 3 errors generated. ignoreme: warning: all paths through this function will call itself [-Winfinite-recursion] { ^ /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) ignoreme: warning: all paths through this function will call itself [-Winfinite-recursion] { ^ ignoreme: warning: all paths through this function will call itself [-Winfinite-recursion] { ^ ignoreme: warning: all paths through this function will call itself [-Winfinite-recursion] { ^ ignoreme: fatal error: 'sys/sockio.h' file not found #include ^~~~~~~~~~~~~~ ignoreme: fatal error: 'bstring.h' file not found #include ^~~~~~~~~~~ ignoreme: fatal error: 'netinet/in_system.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~ ignoreme: error: unknown type name 'not' not a universal capable compiler ^ ignoreme: error: expected ';' after top level declarator not a universal capable compiler ^ ; 2 errors generated. ignoreme: error: use of undeclared identifier 'not' not big endian ^ ignoreme: error: no member named 'sa_len' in 'struct sockaddr' struct sockaddr sa; sa.sa_len; ~~ ^ ignoreme: warning: incompatible redeclaration of library function 'memcpy' [-Wincompatible-library-redeclaration] char memcpy (); ^ ignoreme: note: 'memcpy' is a builtin with type 'void *(void *, const void *, unsigned long)' ignoreme: warning: incompatible redeclaration of library function 'memset' [-Wincompatible-library-redeclaration] char memset (); ^ ignoreme: note: 'memset' is a builtin with type 'void *(void *, int, unsigned long)' ignoreme: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] char strerror (); ^ ignoreme: note: 'strerror' is a builtin with type 'char *(int)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-analyzer/yersinia-0.8.2/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `calloc_r' 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/yersinia-0.8.2/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `malloc_r' 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/yersinia-0.8.2/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `free_r' clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] exit(0); ^ ignoreme: note: include the header or explicitly provide a declaration for 'exit' ignoreme: fatal error: 'sys/sched.h' file not found #include ^~~~~~~~~~~~~ ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ ignoreme: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~