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

cmake 出现错误啊 #96

Open
duke315 opened this issue Jun 14, 2018 · 0 comments
Open

cmake 出现错误啊 #96

duke315 opened this issue Jun 14, 2018 · 0 comments

Comments

@duke315
Copy link

duke315 commented Jun 14, 2018

咋办 cmake 报错了
Determining if the pthread_create exist failed with the following output:
Change Dir: /usr/local/src/QConf/build/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/gmake "cmTryCompileExec3552244451/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec3552244451.dir/build.make CMakeFiles/cmTryCompileExec3552244451.dir/build
gmake[1]: Entering directory /usr/local/src/QConf/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /usr/local/src/QConf/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec3552244451.dir/CheckSymbolExists.c.o /usr/bin/cc -o CMakeFiles/cmTryCompileExec3552244451.dir/CheckSymbolExists.c.o -c /usr/local/src/QConf/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c Linking C executable cmTryCompileExec3552244451 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3552244451.dir/link.txt --verbose=1 /usr/bin/cc CMakeFiles/cmTryCompileExec3552244451.dir/CheckSymbolExists.c.o -o cmTryCompileExec3552244451 -rdynamic CMakeFiles/cmTryCompileExec3552244451.dir/CheckSymbolExists.c.o: In function main':
CheckSymbolExists.c:(.text+0xc): undefined reference to pthread_create' collect2: ld 返回 1 gmake[1]: Leaving directory /usr/local/src/QConf/build/CMakeFiles/CMakeTmp'
gmake[1]: *** [cmTryCompileExec3552244451] 错误 1
gmake: *** [cmTryCompileExec3552244451/fast] 错误 2

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

1 participant