From: Simeon S <simeon.simeonov.s@gmail.com>
To: gdb-patches@sourceware.org
Subject: PyInt_Type undeclared
Date: Thu, 28 Feb 2013 19:22:00 -0000 [thread overview]
Message-ID: <CAGwyPpEQCrp31kD9jsvZGN5w5Nrc6sF-XbYpQtjzEve+dd=oyg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 625 bytes --]
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 #2: build.log.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 1736 bytes --]
next reply other threads:[~2013-02-28 19:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-28 19:22 Simeon S [this message]
2013-02-28 19:56 ` Tom Tromey
2013-02-28 20:03 ` Simeon S
2013-02-28 20:26 ` Tom Tromey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGwyPpEQCrp31kD9jsvZGN5w5Nrc6sF-XbYpQtjzEve+dd=oyg@mail.gmail.com' \
--to=simeon.simeonov.s@gmail.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox