binutils 构建过程中 makefile 出错

Error in makefile while build process of binutils

我正在按照 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

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