会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
feefk
博客园
首页
新随笔
联系
管理
订阅
2009年12月9日
undefined reference to 'pthread_create'问题的解决
摘要: 刚刚学习linux,今天在试一个线程例子时,结果出现如下错误:pthread.c:(.text+0x58): undefined reference to `pthread_create'pthread.c:(.text+0xab): undefined reference to `pthread_join'在网上查了半天发现问题原因:pthread 库不是 Linux 系统默认的库,连接时需要使...
阅读全文
posted @ 2009-12-09 20:17 feefk
阅读(7497)
评论(0)
推荐(0)
编辑
公告