PyInt_Type undeclared

Simeon S simeon.simeonov.s@gmail.com
Thu Feb 28 19:22:00 GMT 2013


Hi guys,

While building gdb-7.5.50.20130228 against Python 3.3.0 I encountered
the error (build log attached):


./python/py-arch.c:114: error: `PyInt_Type' undeclared (first use in
this function)
./python/py-arch.c:114: error: (Each undeclared identifier is reported only once
./python/py-arch.c:114: error: for each function it appears in.)
make[2]: *** [py-arch.o] Error 1


The simple fix is to add the following line to python-internal.h
preferably at line 64 :) :

#define PyInt_Type PyLong_Type

Could you please include me in correspondence with regards to this as
I'm not subscribed to the mailer.

Simeon Simeonov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log.tar.bz2
Type: application/x-bzip2
Size: 1736 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20130228/6ca70c86/attachment.bz2>


More information about the Gdb-patches mailing list