-
Notifications
You must be signed in to change notification settings - Fork 536
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 error #8
Comments
Firstly, Change work directory to Then, try commands below step by step and see where error happens |
I did, no errors |
Change work directory to Let me know if the libzookeeper_mt.a is not exist or any other error happens You may join our QQ group: 438042718 |
@CatKang I met the same problem. I executed the commands you mentioned as followed: |
如果仍然有问题,可以联系我 |
hello @CatKang 我遇到了类似的问题,cmake失败。 Determining if the function pthread_create exists in the pthreads failed with the following output: Run Build Command:/usr/bin/gmake "cmTryCompileExec2703508724/fast" 查看了本机的libpthread.a里是有pthread_create的。 |
可以试一下把deps/zookeeper/aclocal.m4里面的 |
-- This is unix
CMake Error at driver/c++/CMakeLists.txt:29 (message):
message called with incorrect number of arguments
-- Configuring incomplete, errors occurred!
See also "/root/QConf/build/CMakeFiles/CMakeOutput.log".
See also "/root/QConf/build/CMakeFiles/CMakeError.log".
Run Build Command:/usr/bin/gmake "cmTryCompileExec512667654/fast"
/usr/bin/gmake -f CMakeFiles/cmTryCompileExec512667654.dir/build.make CMakeFiles/cmTryCompileExec512667654.dir/build
gmake[1]: Entering directory
/root/QConf/build/CMakeFiles/CMakeTmp' /usr/bin/cmake -E cmake_progress_report /root/QConf/build/CMakeFiles/CMakeTmp/CMakeFiles 1 Building C object CMakeFiles/cmTryCompileExec512667654.dir/CheckFunctionExists.c.o /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTryCompileExec512667654.dir/CheckFunctionExists.c.o -c /usr/share/cmake/Modules/CheckFunctionExists.c Linking C executable cmTryCompileExec512667654 /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec512667654.dir/link.txt --verbose=1 /usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTryCompileExec512667654.dir/CheckFunctionExists.c.o -o cmTryCompileExec512667654 -rdynamic -lpthreads /usr/bin/ld: cannot find -lpthreads collect2: ld 返回 1 gmake[1]: Leaving directory
/root/QConf/build/CMakeFiles/CMakeTmp'gmake[1]: *** [cmTryCompileExec512667654] 错误 1
gmake: *** [cmTryCompileExec512667654/fast] 错误 2
The text was updated successfully, but these errors were encountered: