Skip to content

Linker Issue when using libhandler #10

Description

@paulshaoyuqiao

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions