problem compiling cdec

43 views
Skip to first unread message

Jacob Eisenstein

unread,
May 27, 2015, 6:29:32 PM5/27/15
to cdec-...@googlegroups.com
Hi, I'm unable to compile cdec. I cloned the git repository and ran:

cmake 'Unix Makefiles'
make -J 4

Here's where I got into trouble:

Linking CXX executable dump_counts
[ 83%] [ 83%] Building CXX object mteval/CMakeFiles/fast_score.dir/fast_score.cc.o
Building CXX object klm/lm/builder/CMakeFiles/lmplz.dir/lmplz_main.cc.o
/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
klm/lm/builder/CMakeFiles/dump_counts.dir/build.make:124: recipe for target 'klm/lm/builder/dump_counts' failed
make[2]: *** [klm/lm/builder/dump_counts] Error 1
CMakeFiles/Makefile2:815: recipe for target 'klm/lm/builder/CMakeFiles/dump_counts.dir/all' failed
make[1]: *** [klm/lm/builder/CMakeFiles/dump_counts.dir/all] Error 2

Any hints? I'm running ubuntu 14.04, I think I have the latest boost, flex, gcc, etc.
Thanks!

-Jacob

Chris Dyer

unread,
May 27, 2015, 10:01:33 PM5/27/15
to <cdec-users@googlegroups.com>, Kenneth Heafield
Kenneth, have you seen errors like this before?

--
You received this message because you are subscribed to the Google Groups "cdec users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cdec-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages