You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python setup.py install
running install
running build
running build_ext
building 'pydawg' extension
gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/home/atomised/include -fPIC -DDAWG_PERFECT_HASHING= -DDAWG_UNICODE= -I/usr/local/include/python2.7 -c pydawg.c -o build/temp.linux-x86_64-2.7/pydawg.o
In file included from pydawg.c:22:
dawg.c: In function ‘dawgnode_hash’:
dawg.c:356: warning: cast from pointer to integer of different size
In file included from dawg.c:564,
from pydawg.c:22:
dawg_pickle.c: In function ‘load_node’:
dawg_pickle.c:246: warning: cast to pointer from integer of different size
dawg_pickle.c: In function ‘DAWG_load’:
dawg_pickle.c:347: warning: cast from pointer to integer of different size
pydawg.c: At top level:
pydawg.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pydawg_module’
pydawg.c: In function ‘PyInit_pydawg’:
pydawg.c:44: warning: assignment from incompatible pointer type
pydawg.c:49: warning: implicit declaration of function ‘PyModule_Create’
pydawg.c:49: error: ‘pydawg_module’ undeclared (first use in this function)
pydawg.c:49: error: (Each undeclared identifier is reported only once
pydawg.c:49: error: for each function it appears in.)
pydawg.c:51: warning: ‘return’ with a value, in function returning void
pydawg.c:55: warning: ‘return’ with a value, in function returning void
pydawg.c:82: warning: ‘return’ with a value, in function returning void
error: command 'gcc' failed with exit status 1
The text was updated successfully, but these errors were encountered:
I think this warning is the key: implicit declaration of function ‘PyModule_Create’. PyModule_Create is a standard python API function, are you sure, that you have installed all headers for python? And for correct version of python?
I don't know centos, but in most distros such package is called python-dev, python2.7-dev, or something like this.
The text was updated successfully, but these errors were encountered: