configure:837:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] char strerror(); ^ configure:837:6: note: 'strerror' is a builtin with type 'char *(int)' /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lcposix: No such file or directory clang-14: error: linker command failed with exit code 1 (use -v to see invocation) configure:1424:1: error: call to undeclared function 'XtMalloc'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] XtMalloc() ^ configure:2875:1: warning: ignoring return value of function declared with const attribute [-Wunused-value] getpagesize(); ^~~~~~~~~~~ configure:2983:7: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a previous declaration [-Wdeprecated-non-prototype] void *malloc(); ^ configure:3022:24: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); ^~~~~~~~~~~ 2 warnings generated. configure:3171:6: warning: incompatible redeclaration of library function 'mempcpy' [-Wincompatible-library-redeclaration] char mempcpy(); ^ configure:3171:6: note: 'mempcpy' is a builtin with type 'void *(void *, const void *, unsigned long)' configure:3171:6: warning: incompatible redeclaration of library function 'stpcpy' [-Wincompatible-library-redeclaration] char stpcpy(); ^ configure:3171:6: note: 'stpcpy' is a builtin with type 'char *(char *, const char *)' configure:3171:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration] char strchr(); ^ configure:3171:6: note: 'strchr' is a builtin with type 'char *(const char *, int)' configure:3171:6: warning: incompatible redeclaration of library function 'strcasecmp' [-Wincompatible-library-redeclaration] char strcasecmp(); ^ configure:3171:6: note: 'strcasecmp' is a builtin with type 'int (const char *, const char *)' configure:3171:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] char strdup(); ^ configure:3171:6: note: 'strdup' is a builtin with type 'char *(const char *)' configure:3171:6: warning: incompatible redeclaration of library function 'strtoul' [-Wincompatible-library-redeclaration] char strtoul(); ^ configure:3171:6: note: 'strtoul' is a builtin with type 'unsigned long (const char *, char **, int)' configure:3489:8: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return (int) gettext ("") + _nl_msg_cat_cntr ^~~~~~~~~~~~~~~~~~