Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
andyyuan78 opened this issue Aug 15, 2015 · 2 comments
Open

Comments

@andyyuan78
Copy link

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

@veer66
Copy link

veer66 commented Aug 15, 2015

Does this commit #82 work?

@khanhptnk
Copy link

It works, please commit it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants