出现这个错误,是系统的glibc版本太低了,需要更新
http://ftp.gnu.org/gnu/glibc/下载新版本的glibc,也不用太高,我选择glibc-2.20.tar.gz
 
解压完毕后
./congigure --prefix=/opt/glibc-2.20
make && make install
 
在出现 undefined reference to `__poll_chk@GLIBC_2.16' 错误的工程的makefile文件加入
 
-L  /opt/glibc-2.20/lib
 
搞定

相关文章:

  • 2021-06-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
猜你喜欢
  • 2021-12-11
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-24
相关资源
相似解决方案