Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #2

Closed
beyou923 opened this issue Apr 25, 2022 · 1 comment
Closed

compile error #2

beyou923 opened this issue Apr 25, 2022 · 1 comment

Comments

@beyou923
Copy link

hi, I get the following error when compiling:
In file included from ../../gdb/python/py-arch.c:24:0:
../../gdb/python/python-internal.h:232:63: error: ‘PyObject* (* PyUnicode_FromFormat)(const char*, ...)’ redeclared as different kind of symbol
extern PyObject * (gdbpy_StringFromFormat) (const char , ...);
^
In file included from /root/anaconda3/include/python3.7m/Python.h:80:0,
from ../../gdb/python/python-internal.h:88,
from ../../gdb/python/py-arch.c:24:
/root/anaconda3/include/python3.7m/unicodeobject.h:879:24: error: previous declaration of ‘PyObject
PyUnicode_FromFormat(const char
, ...)’
PyAPI_FUNC(PyObject *) PyUnicode_FromFormat(

How to solve this?

@n-eiling
Copy link
Member

cuda-gdb seems to not like your python version. We don't really need python support anyways so I just deactivated it. Can you try again using the latest master?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants