From: Nilufar Ferdous <nferdous@ucsc.edu>
To: gdb-patches@sourceware.org
Subject: _PyImport_FixupBuiltin (gdb_module, "_gdb") error
Date: Fri, 21 Sep 2018 05:23:00 -0000 [thread overview]
Message-ID: <CABLnwaJ=78kYDqLgfc=ZtfkLG=4ZCRKAOz_3opGSBjPyM40K-Q@mail.gmail.com> (raw)
Hi,
I got this link
https://sourceware.org/ml/gdb-patches/2018-05/msg00863.html
Plese let me know how to solve this.
I am getting error building rocket chip generator.
gdb/gdb/python/python.c:1584:45: error: too few arguments to function 'int
_PyImport_FixupBuiltin(PyObject*, const char*, PyObject*)'
_PyImport_FixupBuiltin (gdb_module, "_gdb");
^
In file included from /usr/include/python3.7m/Python.h:126,
from
/soe/nferdous/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/python/python-internal.h:94,
from
/soe/nferdous/rocket-chip/riscv-tools/riscv-gnu-toolchain/build/../riscv-binutils-gdb/gdb/python/python.c:94:
/usr/include/python3.7m/import.h:115:17: note: declared here
PyAPI_FUNC(int) _PyImport_FixupBuiltin(
^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:1947: python.o] Error 1
make[2]: *** [Makefile:10420: all-gdb] Error 2
make[1]: *** [Makefile:849: all] Error 2
Thanks!
Nilufar
next reply other threads:[~2018-09-21 5:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-21 5:23 Nilufar Ferdous [this message]
2018-09-21 11:18 ` Simon Marchi
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='CABLnwaJ=78kYDqLgfc=ZtfkLG=4ZCRKAOz_3opGSBjPyM40K-Q@mail.gmail.com' \
--to=nferdous@ucsc.edu \
--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