小编Cha*_*our的帖子

对符号“pthread_create@@GLIBC_2.2.5”的未定义引用

我刚刚拉了一个 git 存储库,我和我的朋友正在其中开发一个应用程序。当我运行make我面临这个错误:

对符号“pthread_create@@GLIBC_2.2.5”/lib/x86_64-linux-gnu/libpthread.so.0 的未定义引用:添加符号时出错:命令行中缺少 DSO collect2:错误:ld 返回 1 退出状态 Makefile:182:recipe对于目标 'bin/release/ns' 失败 make[1]:* [bin/release/ns] 错误 1 ​​Makefile:133:目标 'release' 的配方失败 make:* [release] 错误 2

我的朋友拉了同一个分支,他运行它没有任何问题。

你能给我一些关于修复的提示吗?详细的答案将不胜感激。

c++ compiler-errors makefile ubuntu-15.04

17
推荐指数
1
解决办法
3万
查看次数

标签 统计

c++ ×1

compiler-errors ×1

makefile ×1

ubuntu-15.04 ×1