libunwind链接时报错:undefined reference to `_Ux86_64_init_local'
编译安装libunwind后,代码编译链接时报错:undefined reference to `_Ux86_64_init_local& 39;,链接选项加了 -lunwind,仍然报错。原因:编译出来的libunwind拆分成了很多个
2021-01-09 18:41:29
libunwind链接时报错:undefined reference to `_Ux86_64_init_local'
编译安装libunwind后,代码编译链接时报错:undefined reference to `_Ux86_64_init_local& 39;,链接选项加了 -lunwind,仍然报错。原因:编译出来的libunwind拆分成了很多个
项目地址:https: github com libunwind libunwind这里为了简单,不源码编译安装了,暂时先通过包管理器安装:apt-get install libunwinddemo代码如下: