Author Topic: FD_SET linker errors  (Read 3879 times)

Prof. S. Govindjee

  • Administrator
  • FEAP Guru
  • *****
  • Posts: 1160
FD_SET linker errors
« on: November 10, 2021, 07:44:11 AM »
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:

Code: [Select]
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).

Code: [Select]
-Wl,-U,___darwin_check_fd_set_overflow