On some recent MACs the behavior of the linker with the synchronous I/O multiplexing system libraries has been causing link errors stating unresolved symbols:
Undefined symbols for architecture x86_64:
"___darwin_check_fd_set_overflow", referenced from:
_cinput_x in Feappv_g.a(x11u.o)
ld: symbol(s) not found for architecture x86_64
To fix this issue, you can add the following linker directive to LDOPTIONS in makefile.in, or directly into the build line in main/makefile just before $(LDOPTIONS).
-Wl,-U,___darwin_check_fd_set_overflow