简体   繁体   English

未定义引用符号'_ULx86_64_step'libunwind.so.8:添加符号时出错:命令行中缺少DSO

[英]undefined reference to symbol '_ULx86_64_step' libunwind.so.8: error adding symbols: DSO missing from command line

I'm trying to compile Caffe. 我正在尝试编译Caffe。

make all -j4

worked fine. 工作得很好。 But making the tests is giving the following error. 但是进行测试会产生以下错误。

Debian GNU/Linux 8 (jessie) 64-bit Debian GNU / Linux 8(jessie)64位

g++ --version
g++ (Debian 4.9.2-10) 4.9.2

Gives this error on 给出了这个错误

make test -j4

caffe$ make test -j4
CXX/LD -o .build_debug/test/test_all.testbin src/caffe/test/test_caffe_main.cpp
LD .build_debug/src/caffe/test/test_solver.o
LD .build_debug/src/caffe/test/test_platform.o
LD .build_debug/src/caffe/test/test_tile_layer.o
/usr/bin/ld: /usr/local/lib/libglog.a(utilities.cc.o): undefined reference to symbol '_ULx86_64_step'
/usr/lib/x86_64-linux-gnu//libunwind.so.8: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:609: recipe for target '.build_debug/test/test_platform.testbin' failed
make: *** [.build_debug/test/test_platform.testbin] Error 1
make: *** Waiting for unfinished jobs....
/usr/bin/ld: /usr/local/lib/libglog.a(utilities.cc.o): undefined reference to symbol '_ULx86_64_step'
/usr/lib/x86_64-linux-gnu//libunwind.so.8: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:609: recipe for target '.build_debug/test/test_tile_layer.testbin' failed
make: *** [.build_debug/test/test_tile_layer.testbin] Error 1
/usr/bin/ld: /usr/local/lib/libglog.a(utilities.cc.o): undefined reference to symbol '_ULx86_64_step'
/usr/lib/x86_64-linux-gnu//libunwind.so.8: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:609: recipe for target '.build_debug/test/test_solver.testbin' failed
make: *** [.build_debug/test/test_solver.testbin] Error 1
/usr/bin/ld: /usr/local/lib/libglog.a(utilities.cc.o): undefined reference to symbol '_ULx86_64_step'
/usr/lib/x86_64-linux-gnu//libunwind.so.8: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:597: recipe for target '.build_debug/test/test_all.testbin' failed
make: *** [.build_debug/test/test_all.testbin] Error 1

使用cmake方法使Caffe现在似乎已经解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 对符号/ ..libdl.so.2的未定义引用:添加符号时出错:命令行缺少DSO - undefined reference to symbol / ..libdl.so.2: error adding symbols: DSO missing from command line 未定义的符号引用 '<symbol> '...添加符号时出错:命令行中缺少 DSO(使用 CMake)</symbol> - Undefined Reference to Symbol '<Symbol>' ... Error Adding Symbols: DSO Missing From Command Line (With CMake) libstdc++.so.6:添加符号时出错:命令行中缺少 DSO - libstdc++.so.6: error adding symbols: DSO missing from command line cpabe 0.11:添加符号时出错:命令行中缺少 DSO - cpabe 0.11 : error adding symbols: DSO missing from command line gcc错误-“错误添加符号:命令行中缺少DSO” - gcc error- “error adding symbols: DSO missing from command line” 制作过程中出错:添加符号时出错:命令行中缺少 DSO - Error during make: error adding symbols: DSO missing from command line Webrtc2sip:添加符号时出错:命令行中缺少DSO - Webrtc2sip: error adding symbols: DSO missing from command line 链接错误:命令行中缺少 DSO - Linking error: DSO missing from command line 在shm_open上的C ++ Boost库未定义参考:命令行缺少DSO - C++ Boost Library Undefined Reference On shm_open: DSO Missing From Command Line glfw3错误:命令行缺少DSO - glfw3 error: DSO Missing from command line
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM