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 ubuntu 14.04 #21

Open
tjusxh opened this issue Apr 20, 2015 · 2 comments
Open

compile error ubuntu 14.04 #21

tjusxh opened this issue Apr 20, 2015 · 2 comments

Comments

@tjusxh
Copy link

tjusxh commented Apr 20, 2015

When I run
cd pyvision
sudo python setup.py install]

I come across the question.
root@VIPA:/home/vipa/software/pyvision# sudo python setup.py install
building liblinear
make:进入目录'/home/vipa/software/pyvision/vision/liblinear'
make: 没有什么可以做的为 `all'。
make:离开目录“/home/vipa/software/pyvision/vision/liblinear”
running install
running bdist_egg
running egg_info
writing pyvision.egg-info/PKG-INFO
writing top-level names to pyvision.egg-info/top_level.txt
writing dependency_links to pyvision.egg-info/dependency_links.txt
reading manifest file 'pyvision.egg-info/SOURCES.txt'
writing manifest file 'pyvision.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
skipping 'vision/annotations.c' Cython extension (up-to-date)
skipping 'vision/features.c' Cython extension (up-to-date)
skipping 'vision/model.c' Cython extension (up-to-date)
skipping 'vision/convolution.c' Cython extension (up-to-date)
skipping 'vision/track/standard.c' Cython extension (up-to-date)
skipping 'vision/alearn/linear.c' Cython extension (up-to-date)
skipping 'vision/alearn/marginals.c' Cython extension (up-to-date)
skipping 'vision/track/dp.c' Cython extension (up-to-date)
skipping 'vision/track/realprior.c' Cython extension (up-to-date)
skipping 'vision/track/pairwise.c' Cython extension (up-to-date)
skipping 'vision/svm.cpp' Cython extension (up-to-date)
building 'vision.svm' extension
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/local/lib/python2.7/dist-packages/numpy-1.9.2-py2.7-linux-x86_64.egg/numpy/core/include -I/usr/include/python2.7 -c vision/svm.cpp -o build/temp.linux-x86_64-2.7/vision/svm.o -w
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
c++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-Bsymbolic-functions -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-x86_64-2.7/vision/svm.o /home/vipa/software/pyvision/vision/liblinear/linear.o /home/vipa/software/pyvision/vision/liblinear/tron.o /home/vipa/software/pyvision/vision/liblinear/blas/blas.a -o build/lib.linux-x86_64-2.7/vision/svm.so
c++: error: unrecognized command line option ‘-fstack-protector-strong’
c++: error: unrecognized command line option ‘-fstack-protector-strong’
error: command 'c++' failed with exit status 1

@tjusxh
Copy link
Author

tjusxh commented Apr 20, 2015

gcc version is too lower.So update gcc

@hkrds1996
Copy link

hkrds1996 commented Nov 29, 2016

have you fixed this problem?

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