make[1]: Nothing to be done for `install-exec-am’.
/Applications/Xcode.app/Contents/Developer/usr/bin/make all-am
CCLD tests/simple_get
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: arm64-apple-darwin23.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
“/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld” -demangle -lto_library /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/libLTO.dylib -dynamic -arch arm64 -platform_version macos 14.0.0 14.0 -syslibroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -O2 -o tests/simple_get -L/usr/local/lib tests/simple_get.o -framework CoreFoundation ./libcoraza.a -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0/lib/darwin/libclang_rt.osx.a
ld: Undefined symbols:
_SecCertificateCopyData, referenced from:
_runtime.text in libcoraza.a2
_SecCertificateCreateWithData, referenced from:
_runtime.text in libcoraza.a2
_SecPolicyCreateSSL, referenced from:
_runtime.text in libcoraza.a2
_SecTrustCreateWithCertificates, referenced from:
_runtime.text in libcoraza.a2
_SecTrustEvaluateWithError, referenced from:
_runtime.text in libcoraza.a2
_SecTrustGetCertificateAtIndex, referenced from:
_runtime.text in libcoraza.a2
_SecTrustGetCertificateCount, referenced from:
_runtime.text in libcoraza.a2
_SecTrustSetVerifyDate, referenced from:
_runtime.text in libcoraza.a2
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [tests/simple_get] Error 1
make: *** [install-am] Error 2
i try reinstall xcode-select --install
, but not work
Jing is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.