clang -O2 -Wall -Wextra -Werror=implicit-function-declaration sys_stat/fchmodat.c -o sys_stat/fchmodat -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lintl ../out/minix/basic/sys_stat/fchmodat.o: In function `main': sys_stat/fchmodat.c:(.text+0x403): undefined reference to `fchmodat' clang: error: linker command failed with exit code 1 (use -v to see invocation)