[pypy-issue] [issue1185] [cpyext] Missing members in PyThreadState

Ian Delaney tracker at bugs.pypy.org
Thu Jun 21 10:08:27 CEST 2012


Ian Delaney <della5 at iinet.com.au> added the comment:

also msgpack;

for pypy-1,8;

/usr/lib64/pypy1.8/include/pypy_decl.h:131:29: note: expected ‘struct
PyThreadState *’ but argument is of type ‘int’
error: command 'cc' failed with exit status 1
 
for pypy-1.9
cc -march=athlon64 -pipe -fomit-frame-pointer -O2 -fPIC
-I/usr/lib64/pypy1.9/include -c msgpack/_msgpack.c -o
build/temp.linux-x86_64-2.7/msgpack/_msgpack.o
msgpack/_msgpack.c: In function ‘init_msgpack’:
msgpack/_msgpack.c:5492:96: error: ‘PyBoolObject’ undeclared (first use in this
function)
msgpack/_msgpack.c:5492:96: note: each undeclared identifier is reported only
once for each function it appears in
msgpack/_msgpack.c:5493:105: error: ‘PyComplexObject’ undeclared (first use in
this function)
msgpack/_msgpack.c: In function ‘__Pyx_ErrRestore’:
msgpack/_msgpack.c:5731:22: error: ‘PyThreadState’ has no member named ‘curexc_type’
msgpack/_msgpack.c:5732:23: error: ‘PyThreadState’ has no member named
‘curexc_value’
msgpack/_msgpack.c:5733:20: error: ‘PyThreadState’ has no member named
‘curexc_traceback’
msgpack/_msgpack.c:5734:11: error: ‘PyThreadState’ has no member named ‘curexc_type’
msgpack/_msgpack.c:5735:11: error: ‘PyThreadState’ has no member named
‘curexc_value’
msgpack/_msgpack.c:5736:11: error: ‘PyThreadState’ has no member named
‘curexc_traceback’
msgpack/_msgpack.c: In function ‘__Pyx_ErrFetch’:
msgpack/_msgpack.c:5744:19: error: ‘PyThreadState’ has no member named ‘curexc_type’
msgpack/_msgpack.c:5745:20: error: ‘PyThreadState’ has no member named
‘curexc_value’
msgpack/_msgpack.c:5746:17: error: ‘PyThreadState’ has no member named
‘curexc_traceback’
msgpack/_msgpack.c:5748:11: error: ‘PyThreadState’ has no member named ‘curexc_type’
msgpack/_msgpack.c:5749:11: error: ‘PyThreadState’ has no member named
‘curexc_value’
msgpack/_msgpack.c:5750:11: error: ‘PyThreadState’ has no member named
‘curexc_traceback’
error: command 'cc' failed with exit status 1

----------
nosy: +idella5

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1185>
________________________________________


More information about the pypy-issue mailing list