cdec icon indicating copy to clipboard operation
cdec copied to clipboard

make failed ---undefined reference to symbol 'sem_post@@GLIBC_2.2.5'

Open andyyuan78 opened this issue 9 years ago • 2 comments

Linking CXX executable ngram_query [ 28%] Built target ngram_query [ 28%] Building CXX object klm/lm/builder/CMakeFiles/dump_counts.dir/print.cc.o [ 28%] Building CXX object klm/lm/builder/CMakeFiles/dump_counts.dir/dump_counts_main.cc.o Linking CXX executable dump_counts /usr/bin/ld: ../../util/stream/libklm_util_stream.a(chain.cc.o): undefined reference to symbol 'sem_post@@GLIBC_2.2.5' //lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make[2]: *** [klm/lm/builder/dump_counts] Error 1 make[1]: *** [klm/lm/builder/CMakeFiles/dump_counts.dir/all] Error 2 make: *** [all] Error 2

andyyuan78 avatar Aug 15 '15 12:08 andyyuan78

Does this commit https://github.com/redpony/cdec/pull/82 work?

veer66 avatar Aug 15 '15 13:08 veer66

It works, please commit it!

khanhptnk avatar Sep 17 '15 20:09 khanhptnk