cc -pthread -Wall -Wextra -Werror=implicit-function-declaration stdlib/posix_memalign.c -o stdlib/posix_memalign -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lintl -liconv stdlib/posix_memalign.c: In function ‘main’: stdlib/posix_memalign.c:12:22: error: implicit declaration of function ‘posix_memalign’ [-Wimplicit-function-declaration] 12 | int errnum = posix_memalign(&ptr, 256, 768); | ^~~~~~~~~~~~~~ stdlib/posix_memalign.c:12:43: warning: ‘posix_memalign’ argument 2 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 12 | int errnum = posix_memalign(&ptr, 256, 768); | ^~~ : note: built-in ‘posix_memalign’ declared here stdlib/posix_memalign.c:12:48: warning: ‘posix_memalign’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 12 | int errnum = posix_memalign(&ptr, 256, 768); | ^~~ : note: built-in ‘posix_memalign’ declared here