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