Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Error building on Debian #26

Open
chicc0 opened this issue Sep 4, 2021 · 0 comments
Open

Error building on Debian #26

chicc0 opened this issue Sep 4, 2021 · 0 comments

Comments

@chicc0
Copy link

chicc0 commented Sep 4, 2021

Trying to Build in Debian i get error

building 'cdmapi' extension gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/.pyenv/versions/3.9.0/include/python3.9 -c bind.cpp -o build/temp.linux-x86_64-3.9/bind.o bind.cpp:7:1: error: ‘PyMethodDef’ does not name a type PyMethodDef cdmapi_funcs[] = { ^~~~~~~~~~~ bind.cpp: In function ‘void initcdmapi()’: bind.cpp:47:33: error: ‘cdmapi_funcs’ was not declared in this scope Py_InitModule3(cdmapimod_name, cdmapi_funcs, cdmapimod_docs); ^~~~~~~~~~~~ bind.cpp:47:33: note: suggested alternative: ‘cdmapimod_docs’ Py_InitModule3(cdmapimod_name, cdmapi_funcs, cdmapimod_docs); ^~~~~~~~~~~~ cdmapimod_docs bind.cpp:47:2: error: ‘Py_InitModule3’ was not declared in this scope Py_InitModule3(cdmapimod_name, cdmapi_funcs, cdmapimod_docs); ^~~~~~~~~~~~~~ error: command '/usr/bin/gcc' failed with exit code 1 make: *** [Makefile:2: all] Error 1

Anything doing wrong?

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

No branches or pull requests

1 participant