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

Makefile:73: recipe for target '_snowboydetect.so' failed #691

Open
zhanghaiguo opened this issue Apr 19, 2021 · 5 comments
Open

Makefile:73: recipe for target '_snowboydetect.so' failed #691

zhanghaiguo opened this issue Apr 19, 2021 · 5 comments

Comments

@zhanghaiguo
Copy link

swig -I../../ -c++ -python -o snowboy-detect-swig.cc snowboy-detect-swig.i
g++ -I/usr/local/include/python3.7m -I/usr/local/include/python3.7m -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -c snowboy-detect-swig.cc
g++ -I../../ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o
../..//lib/ubuntu64/libsnowboy-detect.a -L/usr/local/lib/python3.7/config-3.7m-x86_64-linux-gnu -L/usr/local/lib -lpython3.7m -lcrypt -lpthread -ldl -lutil -lm -lm -ldl -lf77blas -lcblas -llapack -latlas -o _snowboydetect.so
/usr/bin/ld: /usr/local/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a(abstract.o): relocation R_X86_64_32S against `_Py_NotImplementedStruct' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.a: 无法添加符号: 错误的值
collect2: error: ld returned 1 exit status
Makefile:73: recipe for target '_snowboydetect.so' failed
make: *** [_snowboydetect.so] Error 1

@zhanghaiguo
Copy link
Author

image

@ReganQing
Copy link

请问这个问题解决了吗,我也遇到了同样的问题

@JokerHDKing
Copy link

Have you solved this problem? I have the same problem

@Sunk011
Copy link

Sunk011 commented Apr 22, 2024

请问这个问题解决了吗,我也遇到了同样的问题

1 similar comment
@remoteherkkk
Copy link

请问这个问题解决了吗,我也遇到了同样的问题

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

5 participants