编译LibreELEC 9.2.x代码遇到make相关问题解决

编译LibreELEC 9.2.x代码遇到make相关问题解决
错误信息:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: linking /home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/GNUmakefile to GNUmakefile
config.status: executing tests/atconfig commands
config.status: executing depfiles commands
config.status: executing libtool commands
Executing (host): make 
make[1]: Entering directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
GEN      libtoolize
make  all-recursive
make[2]: Entering directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
Making all in .
make[3]: Entering directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
make[4]: Entering directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
CC       libltdl/lt__strl.lo
CC       libltdl/loaders/libltdl_libltdl_la-preopen.lo
CC       libltdl/libltdl_libltdl_la-lt__alloc.lo
make[4]: Leaving directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
Updating /home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/doc/version.texi
CC       libltdl/libltdl_libltdl_la-lt_dlloader.lo
CC       libltdl/libltdl_libltdl_la-lt_error.lo
CC       libltdl/libltdl_libltdl_la-ltdl.lo
CC       libltdl/libltdl_libltdl_la-slist.lo
CC       libltdl/loaders/dlopen.lo
CCLD     libltdl/dlopen.la
ar: `u' modifier ignored since `D' is the default (see `U')
CCLD     libltdl/libltdl.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
make[2]: Leaving directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
make[1]: Leaving directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
make[1]: Entering directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
make  install-recursive
make[2]: Entering directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
Making install in .
make[3]: Entering directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
MAKEINFO /home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/doc/libtool.info
/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/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:
<http://www.gnu.org/software/texinfo/>
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:
<http://www.gnu.org/software/make/>
make[3]: *** [Makefile:1352: /home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/doc/libtool.info] Error 127
make[3]: Leaving directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
make[2]: *** [Makefile:1558: install-recursive] Error 1
make[2]: Leaving directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
make[1]: *** [Makefile:1860: install] Error 2
make[1]: Leaving directory '/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/build/libtool-2.4.6/.x86_64-linux-gnu'
FAILURE: scripts/build libtool:host during makeinstall_host (default)
*********** FAILED COMMAND ***********
make install ${PKG_MAKEINSTALL_OPTS_HOST}
**************************************
FAILURE: scripts/build libtool:host has failed!
The following log for this failure is available:
/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/.threads/logs/33.log
>>> libtool:host seq 33 >>>
[030/334] [FAIL] build   libtool:host
The following log for this failure is available:
/home/arcko/Projects/arcko/LibreELEC.tv/build.LibreELEC-Generic.x86_64-9.80-devel/.threads/logs/33.log
Parallel build failure - see log for details. Time of failure: Mon Mar 23 11:50:53 CST 2020
Makefile:12: recipe for target 'image' failed
make: *** [image] Error 1
解决办法:
make版本升级到make 4.3
下载链接  http://ftp.gnu.org/gnu/make/make-4.3.tar.gz
解压后运行./build.sh 及后续步骤安装即可。
安装完毕后运行make -v显示已升级到4.3版本
最后重新构建LibreELEC,上面的make错误消失。

编译相关资料:
https://wiki.libreelec.tv/compile
http://wiki.t-firefly.com/zh_CN/ROC-RK3328-CC/os_LibreELEC.html

发表评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据