-
Notifications
You must be signed in to change notification settings - Fork 155
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
Hello, I reported this error while executing make and I don't know how to handle it #42
Comments
try now, I disabled the phmap examples build. |
Thank you very much. The issue related to phmap has been resolved, but when I continued to make, the following problem occurred: |
which compiler you are using? try gcc-12 |
I am currently using gcc version 10.5.0, so I will try using gcc-12. |
CMake Error at /mir2x/build/phmap-prefix/src/phmap-stamp/phmap-build-.cmake:49 (message):
Command failed: 2
'make'
See also
phmap-build-err.log:
/usr/bin/ld: CMakeFiles/ex_mt_word_counter.dir/examples/mt_word_counter.cc.o: in function
main': mt_word_counter.cc:(.text.startup+0x743): undefined reference to
pthread_create'/usr/bin/ld: mt_word_counter.cc:(.text.startup+0xd06): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[5]: *** [CMakeFiles/ex_mt_word_counter.dir/build.make:97:ex_mt_word_counter] 错误 1
make[4]: *** [CMakeFiles/Makefile2:1067:CMakeFiles/ex_mt_word_counter.dir/all] 错误 2
make[3]: *** [Makefile:146:all] 错误 2
The text was updated successfully, but these errors were encountered: