Message366229
Got some compiling error of _ssl extension module in my vm after PR19082 merged:
building '_ssl' extension
gcc -pthread -Wno-unused-result -Wsign-compare -g -Og -Wall -fPIC -I./Include -I. -I/usr/local/include -I/temp/shihai/cpython/Include -I/temp/shihai/cpython -c /temp/shihai/cpython/Modules/_ssl.c -o build/temp.linux-x86_64-3.9-pydebug/temp/shihai/cpython/Modules/_ssl.o
In file included from /temp/shihai/cpython/Modules/_ssl.c:136:
/temp/shihai/cpython/Modules/_ssl_data.h:6:15: error: ‘ERR_LIB_ASYNC’ undeclared here (not in a function); did you mean ‘ERR_LIB_ASN1’?
6 | {"ASYNC", ERR_LIB_ASYNC},
| ^~~~~~~~~~~~~
| ERR_LIB_ASN1
/temp/shihai/cpython/Modules/_ssl_data.h:13:12: error: ‘ERR_LIB_CT’ undeclared here (not in a function); did you mean ‘ERR_LIB_CMS’?
13 | {"CT", ERR_LIB_CT},
| ^~~~~~~~~~
| ERR_LIB_CMS
/temp/shihai/cpython/Modules/_ssl_data.h:19:13: error: ‘ERR_LIB_KDF’ undeclared here (not in a function); did you mean ‘ERR_LIB_BUF’?
19 | {"KDF", ERR_LIB_KDF},
| ^~~~~~~~~~~
| ERR_LIB_BUF
In file included from /temp/shihai/cpython/Modules/_ssl.c:136:
/temp/shihai/cpython/Modules/_ssl_data.h:598:28: warning: initialization of ‘int’ from ‘struct py_ssl_library_code *’ makes integer from pointer without a cast [-Wint-conversion]
598 | {"FAILED_TO_SET_POOL", ERR_LIB_ASYNC, 101},
| ^~~~~~~~~~~~~
/temp/shihai/cpython/Modules/_ssl_data.h:598:28: note: (near initialization for ‘error_codes[112].library’)
/temp/shihai/cpython/Modules/_ssl_data.h:598:28: error: initializer element is not constant
/temp/shihai/cpython/Modules/_ssl_data.h:598:28: note: (near initialization for ‘error_codes[112].library’)
/temp/shihai/cpython/Modules/_ssl_data.h:603:32: warning: initialization of ‘int’ from ‘struct py_ssl_library_code *’ makes integer from pointer without a cast [-Wint-conversion]
603 | {"FAILED_TO_SWAP_CONTEXT", ERR_LIB_ASYNC, 102}, |
|
Date |
User |
Action |
Args |
2020-04-12 08:43:10 | shihai1991 | set | recipients:
+ shihai1991, janssen, christian.heimes, benjamin.peterson, alex, Dima.Tisnek, dstufft, eamanu, miss-islington |
2020-04-12 08:43:10 | shihai1991 | set | messageid: <1586680990.8.0.887079027576.issue39953@roundup.psfhosted.org> |
2020-04-12 08:43:10 | shihai1991 | link | issue39953 messages |
2020-04-12 08:43:10 | shihai1991 | create | |
|