Skip to content

Makefile: running make failed in Mac OS #404

@Alanscut

Description

@Alanscut

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions