会员
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
永远的小白1946
路漫漫其修远兮...
博客园
首页
新随笔
联系
订阅
管理
文章分类 -
GUN工具链
gcc编译出现undefined reference to ‘pthread_create‘的解决方法
摘要:在linux上执行gcc thread.c, 结果出现编译错误undefined reference to 'pthread_create'。由于pthread库不是标准linux库, 所以出错。 改为gcc thread.c -lpthread 即可。
阅读全文
posted @
2021-09-10 15:34
一只小菜菜鸟
阅读(880)
评论(0)
推荐(0)
公告