在哪里可以找到适用于 linux 的 pthread

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7418888/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-05 06:11:58  来源:igfitidea点击:

where I can find pthreads for linux

linuxpthreadssphinx

提问by ZigZag

Ok. My last question will be downvoted for spell error. Ok. But I really have not pthreads in my system. My system : Linux vps-sohoportal.hspheredns.com 2.6.18-294.26.1.el5.lve0.8.18xen #1 SMP Thu Feb 24 12:15:18 EET 2011 x86_64 x86_64 x86_64 GNU/Linux

好的。我的最后一个问题将因拼写错误而被否决。好的。但我的系统中确实没有 pthread。我的系统:Linux vps-sohoportal.hspheredns.com 2.6.18-294.26.1.el5.lve0.8.18xen #1 SMP Thu Feb 24 12:15:18 EET 2011 x86_64 x86_64 x86_64 GNU //

when I try to cinfigure sphinx have error:

当我尝试 cinfigure sphinx 时出现错误:

configuring Sphinx

配置狮身人面像

checking for CFLAGS needed for pthreads...
checking for LIBS needed for pthreads...
checking for pthreads... configure: error: no working pthreads library found

Please Help

请帮忙

采纳答案by wormsparty

Find the pthread-stubspackage of your distribution. Check in your package manager.

找到pthread-stubs您的发行版的包。检查您的包管理器。

If you can't find it, it should be shipped with your compiler.

如果你找不到它,它应该与你的编译器一起提供。