NervanaSystems / deepspeech

DeepSpeech neon implementation
Apache License 2.0
222 stars 69 forks source link

Building warp-ctc returned error at test_gpu #62

Closed shaofushih closed 6 years ago

shaofushih commented 6 years ago

Hi all, did anyone encountered error while building deepspeech make? I assume it is yet another warp-ctc bug but can't seem to resolve right now.

[100%] Linking CXX executable test_gpu /usr/bin/ld: /usr/local/cuda-8.0/lib64/libcudart_static.a(libcudart_static.a.o): undefined reference to symbol 'shm_unlink@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/librt.so.1: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status CMakeFiles/test_gpu.dir/build.make:82: recipe for target 'test_gpu' failed make[4]: [test_gpu] Error 1 make[4]: Leaving directory '/home/root/deepspeech/src/transforms/warp-ctc/build' CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/test_gpu.dir/all' failed make[3]: [CMakeFiles/test_gpu.dir/all] Error 2 make[3]: Leaving directory '/home/root/deepspeech/src/transforms/warp-ctc/build' Makefile:127: recipe for target 'all' failed make[2]: [all] Error 2 make[2]: Leaving directory '/home/root/deepspeech/src/transforms/warp-ctc/build' Makefile:16: recipe for target 'warp-ctc/build/libwarpctc.so' failed make[1]: [warp-ctc/build/libwarpctc.so] Error 2 make[1]: Leaving directory '/home/root/deepspeech/src/transforms' Makefile:12: recipe for target 'src/transforms/libwarpctc.so' failed make: *** [src/transforms/libwarpctc.so] Error 2

shaofushih commented 6 years ago

Problem disappeared after I did the following: (1) uninstall anaconda (2) reinstall neon (3) updated cmake and make again