redpony / cdec

Decoder, aligner, and model optimizer for statistical machine translation and other structured prediction models based on (mostly) context-free formalisms
http://cdec-decoder.org/
Apache License 2.0
183 stars 77 forks source link

Cannot build cdec on openSUSE Tumbleweed #81

Open veer66 opened 9 years ago

veer66 commented 9 years ago

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