This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PyInt_Type undeclared


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

Attachment: build.log.tar.bz2
Description: BZip2 compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]