Open
Description
Hi, I'm trying to compile the gcc-python-plugin. I tried with both gcc-7 and gcc-8. I'm using Python 3.8 and building with
make PYTHON=python3.8 PYTHON_CONFIG=python3.8-config
The first problem is related to this error:
gcc-python-wrapper.c:188:1: error: converting to non-pointer type ‘long int’ from NULL [-Werror=conversion-null]
};
^
cc1plus: all warnings being treated as errors
make: *** [Makefile:168: gcc-python-wrapper.o] Error 1
I thought a workaround is to replace -Werror
with -Wno-error
in the Makefile.
This generates the python.so
but fails in the demo as follows
cc1: error: cannot load plugin /home/canedo/MINDSIGHT/gcc-python-plugin/python.so
/home/canedo/gcc-python-plugin/python.so: undefined symbol: PyExc_NotImplementedError
make[1]: *** [Makefile:303: demo] Error 1
Any hints would be highly appreciated. Thanks.
Metadata
Metadata
Assignees
Labels
No labels