fanlong0212 2018-11-22 17:30 采纳率: 0%
浏览 582

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

在安装Openstack时,提示如下错误,不知到如何解决,还望大神帮忙:

 In file included from /usr/include/openssl/cms.h:16:0,
2018-11-22 16:33:22.028 |                      from build/temp.linux-x86_64-2.7/_openssl.c:485:
2018-11-22 16:33:22.028 |     /usr/include/openssl/x509.h:552:6: note: expected 'const X509_ALGOR ** {aka const struct X509_algor_st **}' but argument is of type 'X509_ALGOR ** {aka struct X509_algor_st **}'
2018-11-22 16:33:22.028 |      void X509_get0_signature(const ASN1_BIT_STRING **psig,
2018-11-22 16:33:22.028 |           ^~~~~~~~~~~~~~~~~~~
2018-11-22 16:33:22.028 |     At top level:
2018-11-22 16:33:22.029 |     build/temp.linux-x86_64-2.7/_openssl.c:3492:13: warning: '_ssl_thread_locking_function' defined but not used [-Wunused-function]
2018-11-22 16:33:22.029 |      static void ssl_thread_locking_function(int mode, int n, const char *file,
2018-11-22 16:33:22.029 |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
2018-11-22 16:33:22.029 |     error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
2018-11-22 16:33:22.029 |
2018-11-22 16:33:22.029 |     ----------------------------------------
2018-11-22 16:33:22.070 | Command "/usr/bin/python -u -c "import setuptools, tokenize;
_file__='/tmp/pip-build-dDyHZi/cryptography/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-VeABSz-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-dDyHZi/cryptography/
2018-11-22 16:33:22.097 | You are using pip version 9.0.3, however version 18.1 is available.
2018-11-22 16:33:22.097 | You should consider upgrading via the 'pip install --upgrade pip' command.

  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 安卓adb backup备份应用数据失败
    • ¥15 eclipse运行项目时遇到的问题
    • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
    • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
    • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
    • ¥50 成都蓉城足球俱乐部小程序抢票
    • ¥15 yolov7训练自己的数据集
    • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
    • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
    • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)