<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE type=text/css>
BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}
</STYLE>
<!-- flashmail style begin -->
<STYLE type=text/css>
body {border-width:0;margin:0}
img {border:0;margin:0;padding:0}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 8.00.7601.19104"></HEAD>
<BODY
style="LINE-HEIGHT: 1.5; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; FONT-FAMILY: 微软雅黑; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; FONT-SIZE: 10.5pt; BORDER-LEFT-WIDTH: 0px"
marginheight="0" marginwidth="0"><STATIONERY>
<DIV>hi:</DIV>
<DIV style="TEXT-INDENT: 2em">My system information:</DIV>
<DIV style="TEXT-INDENT: 6em">Redhat 5.6 gcc 4.1.2
</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">and python3.6.1 alerdy install successed.</DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV style="TEXT-INDENT: 2em">But build cryptography-2.2.2 this version ,there
are problems:
<TABLE
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-COLLAPSE: collapse; FONT-SIZE: 10pt; BORDER-TOP: medium none; BORDER-RIGHT: medium none"
id=flashmail_table_2 border=1 cellSpacing=0 borderColor=#000000 cellPadding=2>
<CAPTION><SPAN style="FONT-FAMILY: 微软雅黑; FONT-SIZE: 10.5pt"></SPAN></CAPTION>
<TBODY>
<TR>
<TD
style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid"
width=1226 noWrap><SPAN style="FONT-FAMILY: 微软雅黑; FONT-SIZE: 10.5pt">
<DIV> python setup.py build<BR>running build<BR>running
build_py<BR>running egg_info<BR>writing
src/cryptography.egg-info/PKG-INFO<BR>writing dependency_links to
src/cryptography.egg-info/dependency_links.txt<BR>writing requirements to
src/cryptography.egg-info/requires.txt<BR>writing top-level names to
src/cryptography.egg-info/top_level.txt<BR>reading manifest file
'src/cryptography.egg-info/SOURCES.txt'<BR>reading manifest template
'MANIFEST.in'<BR>no previously-included directories found matching
'docs/_build'<BR>warning: no previously-included files matching '*' found
under directory 'vectors'<BR>writing manifest file
'src/cryptography.egg-info/SOURCES.txt'<BR>running build_ext<BR>generating
cffi module 'build/temp.linux-x86_64-3.6/_padding.c'<BR>already
up-to-date<BR>generating cffi module
'build/temp.linux-x86_64-3.6/_constant_time.c'<BR>already
up-to-date<BR>generating cffi module
'build/temp.linux-x86_64-3.6/_openssl.c'<BR>already up-to-date<BR>building
'_openssl' extension<BR>gcc -pthread -fno-strict-aliasing -Wsign-compare
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC
-I/usr/local/python3.6/include/python3.6m -c
build/temp.linux-x86_64-3.6/_openssl.c -o
build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/_openssl.o
-Wconversion -Wno-error=sign-conversion<BR>cc1:
错误:无法识别的命令行选项“-Wno-error=sign-conversion”<BR>error: command 'gcc' failed
with exit status 1<BR></DIV></SPAN></TD></TR></TBODY></TABLE></DIV>
<DIV style="TEXT-INDENT: 2em"> </DIV>
<DIV> </DIV>
<DIV>
<TABLE
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; BORDER-COLLAPSE: collapse; FONT-SIZE: 10pt; BORDER-TOP: medium none; BORDER-RIGHT: medium none"
id=flashmail_table_3 border=1 cellSpacing=0 borderColor=#000000 cellPadding=2>
<CAPTION><SPAN style="FONT-FAMILY: 微软雅黑; FONT-SIZE: 10.5pt"></SPAN></CAPTION>
<TBODY>
<TR>
<TD
style="BORDER-BOTTOM: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-RIGHT: #000000 1px solid"
width=1227 noWrap><SPAN style="FONT-FAMILY: 微软雅黑; FONT-SIZE: 10.5pt">
<DIV>[root@fxqtest cryptography-2.2.2]# <SPAN style="COLOR: #ff0000">gcc
-pthread -fno-strict-aliasing -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
-Wstrict-prototypes -fPIC -I/usr/local/python3.6/include/python3.6m -c
build/temp.linux-x86_64-3.6/_openssl.c -o
build/temp.linux-x86_64-3.6/build/temp.linux-x86_64-3.6/_openssl.o<BR></SPAN>build/temp.linux-x86_64-3.6/_openssl.c:539:26:
error:openssl/cmac.h:no file or
directory<BR>build/temp.linux-x86_64-3.6/_openssl.c:562:24:
error:openssl/ec.h:no file or
directory<BR>build/temp.linux-x86_64-3.6/_openssl.c:566:26:
error:openssl/ecdh.h:no file or
directory<BR>build/temp.linux-x86_64-3.6/_openssl.c:569:27:
error:openssl/ecdsa.h:no file or
directory<BR>build/temp.linux-x86_64-3.6/_openssl.c:749: error:The
function declaration is defined as.
‘typedef’<BR>build/temp.linux-x86_64-3.6/_openssl.c:749: warning:The
return type defaults to ‘int’<BR>build/temp.linux-x86_64-3.6/_openssl.c:
In function ‘LHASH_OF’:<BR>build/temp.linux-x86_64-3.6/_openssl.c:749:
error:expected declaration specifiers before
‘Cryptography_LHASH_OF_CONF_VALUE’<BR>build/temp.linux-x86_64-3.6/_openssl.c:751:
error:the parameter ‘Cryptography_STACK_OF_ACCESS_DESCRIPTION’ Specifies
the storage class<BR>build/temp.linux-x86_64-3.6/_openssl.c:752: error:the
parameter ‘Cryptography_STACK_OF_DIST_POINT’ Specifies the storage
class<BR>build/temp.linux-x86_64-3.6/_openssl.c:753: error:the parameter
‘Cryptography_STACK_OF_POLICYQUALINFO’ Specifies the storage
class<BR>build/temp.linux-x86_64-3.6/_openssl.c:754: error:the parameter
‘Cryptography_STACK_OF_POLICYINFO’ Specifies the storage
class<BR>build/temp.linux-x86_64-3.6/_openssl.c:755: error:the parameter
‘Cryptography_STACK_OF_ASN1_INTEGER’ Specifies the storage
class<BR>build/temp.linux-x86_64-3.6/_openssl.c:756: error:the parameter
‘Cryptography_STACK_OF_GENERAL_SUBTREE’ Specifies the storage
class<BR>build/temp.linux-x86_64-3.6/_openssl.c:768: error:the parameter
‘Cryptography_STACK_OF_ASN1_OBJECT’ Specifies the storage
class<BR>build/temp.linux-x86_64-3.6/_openssl.c:769: error:the parameter
‘Cryptography_STACK_OF_X509_OBJECT’ Specifies the storage class<BR>In file
included from
/usr/include/sched.h:32,<BR>
from
/usr/include/pthread.h:24,<BR>
from
build/temp.linux-x86_64-3.6/_openssl.c:785:<BR>/usr/include/bits/sched.h:75:
error:the parameter ‘clone’ Specifies the storage
class<BR>/usr/include/bits/sched.h:78: error:the parameter ‘unshare’
Specifies the storage class<BR>/usr/include/bits/sched.h:104: error:the
parameter ‘__cpu_mask’ Specifies the storage
class<BR>/usr/include/bits/sched.h:113: error:expected
specifier-qualifier-list before
‘__cpu_mask’<BR>/usr/include/bits/sched.h:114: error:the parameter
‘cpu_set_t’ Specifies the storage class<BR>In file included from
/usr/include/pthread.h:24,<BR>
from
build/temp.linux-x86_64-3.6/_openssl.c:785:<BR>/usr/include/sched.h:41:
error:the parameter ‘sched_setparam’ Specifies the storage
class<BR>/usr/include/sched.h:44: error:the parameter ‘sched_getparam’
Specifies the storage class<BR>/usr/include/sched.h:48: error:the
parameter ‘sched_setscheduler’ Specifies the storage
class<BR>/usr/include/sched.h:51: error:the parameter ‘sched_getscheduler’
Specifies the storage class<BR>/usr/include/sched.h:54: error:the
parameter ‘sched_yield’ Specifies the storage
class<BR>/usr/include/sched.h:57: error:the parameter
‘sched_get_priority_max’ Specifies the storage
class<BR>/usr/include/sched.h:60: error:the parameter
‘sched_get_priority_min’ Specifies the storage
class<BR>/usr/include/sched.h:63: error:the parameter
‘sched_rr_get_interval’ Specifies the storage
class<BR>/usr/include/sched.h:77: error:expected ‘;’, ‘,’ or ‘)’ before
‘*’ token<BR>/usr/include/sched.h:81: error:expected declaration
specifiers or ‘...’ before
‘cpu_set_t’</DIV></SPAN></TD></TR></TBODY></TABLE></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>So, please how to solve there are proplem?</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanks!</DIV>
<DIV style="FONT-FAMILY: Verdana; COLOR: #c0c0c0; FONT-SIZE: 10pt">
<DIV align=left>2018-05-14</DIV>
<HR
style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; WIDTH: 122px; HEIGHT: 1px; BORDER-TOP: #c0c0c0 1px solid; BORDER-RIGHT: 0px"
id=SignNameHR align=left>
<SPAN id=_FlashSignName>li285913050</SPAN> </DIV></STATIONERY></BODY></HTML>