MAC OSX 中解决编译“'cc' failed with exit status 1”错误 和clang: error: unknown argument 错误

错误例子:

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

MAC OSX 中解决编译“'cc' failed with exit status 1”错误 和clang: error: unknown argument 错误的相关文章

error: command 'cc' failed with exit status 1

报错: Complete output from command /usr/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-build-kSfBfz/ujson/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, _

iOS开发-clang: error: unknown argument: '-websockets'解决办法

问题: 昨天莫名其妙Xcode自动升级,然后今天运行之前工程的时候,就莫名其妙的报错了. 报错内容: clang: error: unknown argument: '-websockets' 解决办法: building setting ->other link flgs里把'-websockets删掉 iOS开发-clang: error: unknown argument: '-websockets'解决办法

使用pip install 或者easy_install安装Python的各种包出现cc failed with exit status 1

*:first-child { margin-top: 0 !important; } body > *:last-child { margin-bottom: 0 !important; } a { color: #4183C4; } a.absent { color: #cc0000; } a.anchor { display: block; padding-left: 30px; margin-left: -30px; cursor: pointer; position: absolute

Mac osx中如何开启代码高亮

IM (Wikipedia图) Vim 是一款相当给力的源自UNIX平台的命令行文本编辑器,不过不给力的是,Mac OS X下并没有诸多Linux发行版上VIM那些牛逼哄哄的神马代码高亮显示啊,自动缩进啊神马的. (译者注:通常Linux发行版可以通过编辑/etc/vimrc文件更改全局VIM设定或者针对某个用户的~/.vimrc进行个性化配置) 为了弥补这个缺憾,请按如下方法操作: 打开Terminal,输入如下命令: cd /usr/share/vim sudo vim vimrc 两行命令

mac安装php的mongodb扩展报错:No such file or directory autom4te: /usr/bin/m4 failed with exit status: 1

前几天mac下brew升级了所有软件,之前安装的好多php扩展都得重新安装下.在安装mongdb扩展的时候,执行phpize报如下错误: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/m4:config.m4:358: cannot open `src/libmongoc/build/autotools/m4/ax_prototype.m4': No such file

词云:解决pip install wordcloud安装过程中报错“error: command 'x86_64-linux-gnu-gcc' failed with exit status 1”问题

外部环境:ubuntu16.04, 64bits, 全局环境python2.7 在虚拟环境(python3.5)中执行 pip install wordcloud 时安装失败,报错: error: command 'x86_64-linux-gnu-gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for wordcloud Running setup.py

error: command ‘gcc‘ failed with exit status 1 的解决

error: command 'gcc' failed with exit status 1 的解决办法 yum install gcc python-devel

error: command ‘gcc’ failed with exit status 1的解决方法

源码安装完sqlite3,再安装pysqlite-2.6.3.tar.gz出现error: command 'gcc' failed with exit status 1.安装其他软件时,这个错误出现的频率也很高.通过修改源码的.cfg文件问题可以解决,原因是cfg文件里的路径默认设置在/usr/local下,所以把cfg文件里的/usr/local路径改成包的路径就ok啦.或者把安装包放到/usr/local下也行. vim setup.cfg: [build_ext] #define= in

添加第三方类库造成的linker command failed with exit code 1 (use -v to see invocation)的错误调试

本文转载至 http://blog.csdn.net/duxinfeng2010/article/details/8265273 linker command failed with exit code 1 (use -v to see invocation)这个错误貌似遇见并不止一次,当我想用某个第三方类库的时候(如SBJson),我直接把类库文件copy到工程目录里面,然后一编译就出现这样错误(并不是一定会出这样错误),开始以为是网上下载的类库本身问题,所以重新找类库或者其他方式将它添加进去