Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Makefile: running make failed in Mac OS #404

Closed
Alanscut opened this issue Nov 1, 2019 · 0 comments
Closed

Makefile: running make failed in Mac OS #404

Alanscut opened this issue Nov 1, 2019 · 0 comments
Assignees

Comments

@Alanscut
Copy link
Collaborator

Alanscut commented Nov 1, 2019

When compiling the target of cJSON_Utils in Mac OS, it will report an error:

Undefined symbols for architecture x86_64:
  "_cJSON_AddItemToArray", referenced from:
      _apply_patch in cJSON_Utils.o
      _compose_patch in cJSON_Utils.o
      _insert_item_in_array in cJSON_Utils.o
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [libcjson_utils.dylib.1.7.12] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant