LINUX 系统编译报“recipe for target 'doc/libtool.info' failed” 处理办法

#TARGET_BOARD=rk3399
#BUILD_TYPE=64
#OUTPUT_DIR=output/rockchip_rk3399
#CONFIG=rockchip_rk3399_defconfig

===========================================
make: Entering directory '/media/bobe/work/nanopi4-ar0144-debian/buildroot'
  GEN     /media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/Makefile
/media/bobe/work/nanopi4-ar0144-debian/buildroot/build/defconfig_hook.py -m /media/bobe/work/nanopi4-ar0144-debian/buildroot/configs/rockchip_rk3399_defconfig /media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build/buildroot-config/tristate.config BR2_CONFIG=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/.config HOST_GCC_VERSION="5" BUILD_DIR=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build SKIP_LEGACY= BR2_DEFCONFIG=/media/bobe/work/nanopi4-ar0144-debian/buildroot/configs/rockchip_rk3399_defconfig /media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build/buildroot-config/conf --defconfig=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/.rockchipconfig Config.in
/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/.rockchipconfig:72:warning: override: reassigning to symbol BR2_PACKAGE_MPP
/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/.rockchipconfig:73:warning: override: reassigning to symbol BR2_PACKAGE_MPP_ALLOCATOR_DRM
/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/.rockchipconfig:75:warning: override: reassigning to symbol BR2_PACKAGE_LINUX_RGA
/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/.rockchipconfig:239:warning: override: reassigning to symbol BR2_PACKAGE_RKWIFIBT
#
# configuration written to /media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/.config
#
make: Leaving directory '/media/bobe/work/nanopi4-ar0144-debian/buildroot'
umask 0022 && make -C /media/bobe/work/nanopi4-ar0144-debian/buildroot O=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399 
/usr/bin/make -j1 O=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399 HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
  GEN     /media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/Makefile
>>> libtool 2.4.6 Installing to staging directory
PATH="/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/host/bin:/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/host/sbin:/opt/FriendlyARM/toolchain/6.4-aarch64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin"  /usr/bin/make -j9 DESTDIR=/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/host/aarch64-buildroot-linux-gnu/sysroot install -C /media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build/libtool-2.4.6/
/usr/bin/make  install-recursive
Making install in .
  MAKEINFO doc/libtool.info
  GEN      doc/libtool.1
/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build/libtool-2.4.6/build-aux/missing: line 81: makeinfo: command not found
WARNING: 'makeinfo' is missing on your system.
         You should only need it if you modified a '.texi' file, or
         any other file indirectly affecting the aspect of the manual.
         You might want to install the Texinfo package:
         
         The spurious makeinfo call might also be the consequence of
         using a buggy 'make' (AIX, DU, IRIX), in which case you might
         want to install GNU make:
         
Makefile:1359: recipe for target 'doc/libtool.info' failed
make[4]: *** [doc/libtool.info] Error 127
Makefile:1606: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
Makefile:1908: recipe for target 'install' failed
make[2]: *** [install] Error 2
package/pkg-generic.mk:286: recipe for target '/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build/libtool-2.4.6/.stamp_staging_installed' failed
make[1]: *** [/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/build/libtool-2.4.6/.stamp_staging_installed] Error 2
/media/bobe/work/nanopi4-ar0144-debian/buildroot/output/rockchip_rk3399/Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2
Command exited with non-zero status 1
you take 0:20.24 to build builroot
====Build buildroot failed!====

解决办法:

sudo apt-get install repo git-core gitk git-gui gcc-arm-linux-gnueabihf u-boot-tools device-tree-compiler \
gcc-aarch64-linux-gnu mtools parted libudev-dev libusb-1.0-0-dev python-linaro-image-tools \
linaro-image-tools gcc-4.8-multilib-arm-linux-gnueabihf gcc-arm-linux-gnueabihf libssl-dev \
gcc-aarch64-linux-gnu g+conf autotools-dev libsigsegv2 m4 intltool libdrm-dev curl sed make \
binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio python unzip rsync file bc wget \
libncurses5 libqt4-dev libglib2.0-dev libgtk2.0-dev libglade2-dev cvs git mercurial rsync openssh-client \
subversion asciidoc w3m dblatex graphviz python-matplotlib libc6:i386 libssl-dev texinfo \
liblz4-tool genext2fs lib32stdc++6

 

你可能感兴趣的:(RK3399)