clang -O2 -Wall -Wextra -Werror=implicit-function-declaration aio/aio_cancel.c -o aio/aio_cancel -D_GNU_SOURCE -D_BSD_SOURCE -D_ALL_SOURCE -D_DEFAULT_SOURCE -lm -lintl ../out/minix/basic/aio/aio_cancel.o: In function `main': aio/aio_cancel.c:(.text+0x3d9): undefined reference to `aio_write' aio/aio_cancel.c:(.text+0x3ed): undefined reference to `aio_cancel' aio/aio_cancel.c:(.text+0x425): undefined reference to `__aio_suspend50' aio/aio_cancel.c:(.text+0x449): undefined reference to `aio_error' aio/aio_cancel.c:(.text+0x48c): undefined reference to `aio_return' clang: error: linker command failed with exit code 1 (use -v to see invocation)