会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
独自等待
dedicated to the one that got away from you
博客园
首页
新随笔
联系
管理
订阅
2009年9月10日
undefined reference to 'pthread_create'问题解决(转)
摘要: undefined reference to 'pthread_create'undefined reference to 'pthread_join'问题原因:pthread 库不是 Linux 系统默认的库,连接时需要使用静态库 libpthread.a,所以在使用pthread_create()创建线程,以及调用 pthread_atfork()函数建立fork处理程序时,需要链接该库。问题...
阅读全文
posted @ 2009-09-10 11:53 Myhsg
阅读(396)
评论(0)
推荐(0)
编辑
公告