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

pthread_create #103

Open
MCPRLab opened this issue Jan 18, 2020 · 1 comment
Open

pthread_create #103

MCPRLab opened this issue Jan 18, 2020 · 1 comment

Comments

@MCPRLab
Copy link

MCPRLab commented Jan 18, 2020

I have installed pthread on Ubuntu, but still have the following problem.How should I solve it?

/usr/bin/ld: CMakeFiles/run_net.dir/tests/run_net.cpp.o: undefined reference to symbol 'pthread_create@@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
CMakeFiles/run_net.dir/build.make:95: recipe for target 'run_net' failed
make[2]: *** [run_net] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/run_net.dir/all' failed
make[1]: *** [CMakeFiles/run_net.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 97%] Built target run_net_c
[ 98%] Built target benchmark
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
@MCPRLab MCPRLab closed this as completed Jan 18, 2020
@MCPRLab MCPRLab reopened this Jan 18, 2020
@mmchen88
Copy link

mmchen88 commented Aug 6, 2020

same problem

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

2 participants