【发布时间】: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