cdec
cdec copied to clipboard
Cannot build cdec on openSUSE Tumbleweed
Cannot build cdec on openSUSE Tumbleweed because it fail to link libpthread
[ 29%] Linking CXX executable dump_counts
/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: ../../util/stream/libklm_util_stream.a(chain.cc.o): undefined reference to symbol 'sem_post@@GLIBC_2.2.5'
/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
klm/lm/builder/CMakeFiles/dump_counts.dir/build.make:134: recipe for target 'klm/lm/builder/dump_counts' failed
make[2]: *** [klm/lm/builder/dump_counts] Error 1
CMakeFiles/Makefile2:876: recipe for target 'klm/lm/builder/CMakeFiles/dump_counts.dir/all' failed
make[1]: *** [klm/lm/builder/CMakeFiles/dump_counts.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2