cc -pipe -O -pthread -Wall -Wextra -Werror=implicit-function-declaration sys_mman/posix_mem_offset.c -o sys_mman/posix_mem_offset -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lpthread -lrt -lrt -lcrypt sys_mman/posix_mem_offset.c: In function 'main': sys_mman/posix_mem_offset.c:21:2: error: implicit declaration of function 'posix_mem_offset'; did you mean 'posix_memalign'? [-Werror=implicit-function-declaration] posix_mem_offset(NULL, 0, NULL, NULL, NULL); ^~~~~~~~~~~~~~~~ posix_memalign cc1: some warnings being treated as errors