Open liufsd opened 8 years ago
Undefined symbols for architecture x86_64: "___pthread_set_self", referenced from: _injectEntry in mach_inject_bundle_stub.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
BUILD FAILED
The following build commands failed: Ld build/mach_inject_bundle_stub.build/Default/mach_inject_bundle_stub.build/Objects-normal/x86_64/mach_inject_bundle_stub normal x86_64 (1 failure)
i try to Fix problem in this way, It works well / Mac OS X 10.12 change __pthread_set_self in libSystem.B.dylb to _pthread_set_self /
extern void _pthread_set_self(char*);
_pthread_set_self(dummy_pthread_struct);
extern void __pthread_set_self(char*);
__pthread_set_self(dummy_pthread_struct);
Undefined symbols for architecture x86_64: "___pthread_set_self", referenced from: _injectEntry in mach_inject_bundle_stub.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
\ BUILD FAILED **
The following build commands failed: Ld build/mach_inject_bundle_stub.build/Default/mach_inject_bundle_stub.build/Objects-normal/x86_64/mach_inject_bundle_stub normal x86_64 (1 failure)