为了能快速了解并处理您的问题,请提供以下基础信息:
If you want a release build with all stable optimizations active (PGO, etc),
please run ./configure --enable-optimizations
gcc -std=gnu11 -pthread -c -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c
gcc -std=gnu11 -pthread -c -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -DPy_BUILD_CORE -o Parser/token.o Parser/token.c
gcc -std=gnu11 -pthread -c -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -DPy_BUILD_CORE -o Parser/pegen.o Parser/pegen.c
In file included from Parser/pegen.c:3:0:
./Include/internal/pycore_pystate.h:76:1: error: unknown type name ‘_Thread_local’
extern _Py_thread_local PyThreadState *_Py_tss_tstate;
^
./Include/internal/pycore_pystate.h:76:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extern _Py_thread_local PyThreadState *_Py_tss_tstate;
^
./Include/internal/pycore_pystate.h: In function ‘_PyThreadState_GET’:
./Include/internal/pycore_pystate.h:97:12: error: ‘_Py_tss_tstate’ undeclared (first use in this function)
return _Py_tss_tstate;
^
./Include/internal/pycore_pystate.h:97:12: note: each undeclared identifier is reported only once for each function it appears in
./Include/internal/pycore_pystate.h:101:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [Parser/pegen.o] Error 1
gcc -std=gnu11 -pthread -c -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -std=c11 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -fvisibility=hidden -I./Include/internal -I. -I./Include -DPy_BUILD_CORE -o Parser/pegen.o Parser/pegen.c
In file included from Parser/pegen.c:3:0:
./Include/internal/pycore_pystate.h:76:1: error: unknown type name ‘_Thread_local’
extern _Py_thread_local PyThreadState *_Py_tss_tstate;
^
./Include/internal/pycore_pystate.h:76:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
extern _Py_thread_local PyThreadState *_Py_tss_tstate;
^
./Include/internal/pycore_pystate.h: In function ‘_PyThreadState_GET’:
./Include/internal/pycore_pystate.h:97:12: error: ‘_Py_tss_tstate’ undeclared (first use in this function)
return _Py_tss_tstate;
^
./Include/internal/pycore_pystate.h:97:12: note: each undeclared identifier is reported only once for each function it appears in
./Include/internal/pycore_pystate.h:101:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make: *** [Parser/pegen.o] Error 1
解压安装失败!
|
|