-
Notifications
You must be signed in to change notification settings - Fork 8
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
Got error when make in sip directory #2
Comments
The moment I read this I thought that there might be a python version issue. You might need to regenerate the sip files. Here are instructions: You will need to install 'python-sip-dev' here's how to do it in Ubuntu:
Generate the makefile
You should be able to run the 'make install' after this. Let me know how it turns out. Dave |
I still got error after your suggestion as below message. (test) aaron@eda:~/wrk/python-pci-master/sip$ sudo apt install python-sip-dev |
Within the 'sip' directory would you run the script './configure.py' This should regenerate all the .h and .cpp files. Let me know if that doesn't work. Next run 'make' and then 'make install' Would you also let me know what OS version you are running by running the command 'uname -a' |
same issue !! Also, ./configure.py is not working. it's show like : /usr/bin/sip -c . -I . -b pypcie.sbf python-pcie.sip OS version : 4.15.0-54-generic #58~16.04.1-Ubuntu SMP Mon Jun 24 13:21:41 UTC 2019 x86_64 x86_64 x86_64 |
Hi Sir,
When I run'make' in sip directory, I got the error message as below.
g++ -c -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -Wall -W -DNDEBUG -I. -I/usr/include/python2.7 -o sippciecmodule.o sippciecmodule.cpp
./sippciecmodule.cpp:70:1: error: braces around scalar initializer for type `_sipCharInstanceDef*'
};
The text was updated successfully, but these errors were encountered: