-
Notifications
You must be signed in to change notification settings - Fork 1k
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有问题 #713
Comments
我也遇到了相同的问题,请问您解决了吗? |
1 similar comment
我也遇到了相同的问题,请问您解决了吗? |
试试这个,替换库文件,还搞不顶就没辙了 |
https://b23.tv/rcQtnM6 参考b站评论里的解决方案 |
修改Makefile中的libsnowboy-detect.a文件,看你用的系统是什么架构,我的是树莓派,架构是aarch64,然后就可以把Makefile中的 SNOWBOYDETECTLIBFILE = |
遇到类似的make报错但不完全一样,说一下我的解决办法: |
我也遇到了相同的问题,请问您解决了吗? |
pi@raspberrypi:~/snowboy/swig/Python3 $ make
g++ -I…/…/ -O3 -fPIC -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++0x -shared snowboy-detect-swig.o
…/…//lib/aarch64-ubuntu1604/libsnowboy-detect.a -L/usr/lib/python3.9/config-3.9-arm-linux-gnueabihf -L/usr/lib -lcrypt -lpthread -ldl -lutil -lm -lm -lm -ldl -lf77blas -lcblas -llapack -latlas -o _snowboydetect.so
/usr/bin/ld: …/…//lib/aarch64-ubuntu1604/libsnowboy-detect.a: error adding symbols: file format not recognized
collect2: error: ld returned 1 exit status
make: *** [Makefile:76:_snowboydetect.so] 错误 1
The text was updated successfully, but these errors were encountered: