cc -O2 -pipe -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 sys_mman/posix_mem_offset.c:21:2: error: call to undeclared function 'posix_mem_offset'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] posix_mem_offset(NULL, 0, NULL, NULL, NULL); ^ 1 error generated.