clang -O2 -Wall -Wextra -Werror=implicit-function-declaration stdio/renameat.c -o stdio/renameat -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lintl ../out/minix/basic/stdio/renameat.o: In function `main': stdio/renameat.c:(.text+0x3ec): undefined reference to `openat' stdio/renameat.c:(.text+0x410): undefined reference to `renameat' stdio/renameat.c:(.text+0x430): undefined reference to `unlinkat' stdio/renameat.c:(.text+0x448): undefined reference to `unlinkat' stdio/renameat.c:(.text+0x4bf): undefined reference to `unlinkat' stdio/renameat.c:(.text+0x4d7): undefined reference to `unlinkat' clang: error: linker command failed with exit code 1 (use -v to see invocation)