在 Fedora 25 opncls 上构建 Insight Debugger 错误

在 Fedora 25 opncls 上构建 Insight Debugger 错误

我正在尝试在 Fedora 25 上手动安装 Insight。Gdb 版本是 7.12-29.fc25。配置运行正确,但出现如图所示的错误。在谷歌上搜索问题后,它似乎已得到纠正git,但是我仍然遇到这个问题。

我该如何解决这个问题?

谢谢

从我的品牌来看:

in file included from /home/murray/local/src/insight-6.8-1/bfd/opncls.c:26:0:
/home/murray/local/src/insight-6.8-1/bfd/opncls.c: In function 'bfd_fopen':
./bfd.h:586:65: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
 #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/murray/local/src/insight-6.8-1/bfd/opncls.c:235:5: note: in expansion of macro 'bfd_set_cacheable'
     bfd_set_cacheable (nbfd, TRUE);
     ^~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Makefile:1071: recipe for target 'opncls.lo' failed

答案1

6.8.1 已经过时了。使用 Fedora 提供的 Insight 包或使用来自 git://sourceware.org/git/insight.git 的 git 快照。 README 文件中有一些说明(https://sourceware.org/git/?p=insight.git;a=blob;f=README)。

相关内容