【问题标题】:Error in makefile while build process of binutilsbinutils构建过程中makefile出错
【发布时间】:2018-11-26 12:21:15
【问题描述】:

我正在按照this 教程开发一个hello world 操作系统。 如下所示的配置部分已成功完成

# Delete the build directory if it already exists.
rm -rfv binutils-build
mkdir binutils-build
cd binutils-build

../binutils-2.23.1/configure --prefix=$HOME/opt/cross --target=i586-elf \
                         --disable-nls

但是当我执行 make nice make -j4 我得到以下错误:

config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/home/souban/OS/binutils-build/bfd/po'
make[3]: Entering directory '/home/souban/OS/binutils-build/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/home/souban/OS/binutils-build/bfd'
Makefile:1617: recipe for target 'info-recursive' failed
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory '/home/souban/OS/binutils-build/bfd'
Makefile:2505: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/home/souban/OS/binutils-build'
Makefile:837: recipe for target 'all' failed
make: *** [all] Error 2

【问题讨论】:

    标签: makefile operating-system cross-compiling binutils


    【解决方案1】:

    实际的错误消息不在您引用的部分,但构建过程可能找不到makeinfo 程序,它是大多数发行版中texinfo 包的一部分。

    【讨论】:

      猜你喜欢
      • 2021-02-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-28
      • 1970-01-01
      • 2022-10-30
      相关资源
      最近更新 更多