1、先查看是哪个函数用的是GLIBC_2.17

root@emb-pc:/home/emb/temp# nm lib61850.so | grep GLIBC_2.17

U clock_gettime@@GLIBC_2.17
2、查看clock_gettime 帮助:
root@emb-pc:/home/emb/temp# man clock_gettime
 其中有提示:Link with -lrt (only for glibc versions before 2.17).
3、编绎时加上链接选项,问题得以解决。
 

相关文章:

  • 2022-12-23
  • 2021-10-06
  • 2021-12-03
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-16
相关资源
相似解决方案