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