koka-lang/libhandler

Linker Issue when using libhandler

paulshaoyuqiao opened this issue · 0 comments

Hi, when I was trying to build a project that uses libhandler on Mac (Mojavae), it causes the following error:

Undefined symbols for architecture x86_64:
  "_lh_check_value_ptr", referenced from:
      _prt_receive in PrtExecution.c.o
      _receive_handler_action in PrtExecution.c.o
      _prt_receive_handler in PrtExecution.c.o
      _PrtResume in PrtExecution.c.o
  "_lh_handle", referenced from:
      _prt_receive_handler in PrtExecution.c.o
  "_lh_register_malloc", referenced from:
      _PrtInstallProgram in PrtExecution.c.o
  "_lh_release_resume", referenced from:
      _PrtResume in PrtExecution.c.o
  "_lh_yield", referenced from:
      _prt_receive in PrtExecution.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)