在安装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.