linux - undefined reference to symbol '_ULx86_64_step' libunwind.so.8: error adding symbols: DSO missing from command line -
i'm trying compile caffe.
make -j4
worked fine. making tests giving following error.
debian gnu/linux 8 (jessie) 64-bit
g++ --version g++ (debian 4.9.2-10) 4.9.2
gives 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 symbol '_ulx86_64_step' /usr/lib/x86_64-linux-gnu//libunwind.so.8: error adding symbols: dso missing command line collect2: error: ld returned 1 exit status makefile:609: recipe target '.build_debug/test/test_platform.testbin' failed make: *** [.build_debug/test/test_platform.testbin] error 1 make: *** waiting unfinished jobs.... /usr/bin/ld: /usr/local/lib/libglog.a(utilities.cc.o): undefined reference symbol '_ulx86_64_step' /usr/lib/x86_64-linux-gnu//libunwind.so.8: error adding symbols: dso missing command line collect2: error: ld returned 1 exit status makefile:609: recipe 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 symbol '_ulx86_64_step' /usr/lib/x86_64-linux-gnu//libunwind.so.8: error adding symbols: dso missing command line collect2: error: ld returned 1 exit status makefile:609: recipe 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 symbol '_ulx86_64_step' /usr/lib/x86_64-linux-gnu//libunwind.so.8: error adding symbols: dso missing command line collect2: error: ld returned 1 exit status makefile:597: recipe target '.build_debug/test/test_all.testbin' failed make: *** [.build_debug/test/test_all.testbin] error 1
using cmake method make caffe seems have solved issue now.
Comments
Post a Comment