编译BE时提示'bfd.h' file not found的解决方法
问题现象描述
执行STRIP_DEBUG_INFO=ON sh build.sh --clean --be,报错'bfd.h' file not found。
doris-2.1.2-rc04/be/src/util/bfd_parser.h:28:10: fatal error: 'bfd.h' file not found 28 | #include <bfd.h> | 1 error generated.
关键过程、根本原因分析
缺少binutils工具链的开发包。
结论、解决方案及效果
- 下载binutils工具链的开发包。
1
yum install binutils-devel.aarch64
- 重新执行命令。
1 2
cd /opt/tools/installed/doris-2.1.2-rc04 STRIP_DEBUG_INFO=ON sh build.sh --be
父主题: 故障处理