错误例子:
error: command ‘cc‘ failed with exit status 1
clang: error: unknown argument: ‘-multiply_definedsuppress‘ [-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning) in the future
解决方案:
export CFLAGS=-Qunused-arguments
export CPPFLAGS=-Qunused-arguments
sudo ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future pip install zerorpc
http://stackoverflow.com/questions/22697440/cc-failed-with-exit-status-1-error-when-install-python-library
http://bruteforce.gr/bypassing-clang-error-unknown-argument.html
http://kaspermunck.github.io/2014/03/fixing-clang-error/
http://glynjackson.org/weblog/entry/clang-error.html
MAC OSX 中解决编译“'cc' failed with exit status 1”错误 和clang: error: unknown argument 错误,布布扣,bubuko.com
MAC OSX 中解决编译“'cc' failed with exit status 1”错误 和clang: error: unknown argument 错误
时间: 2024-10-03 22:40:49