Firefly开源社区

打印 上一主题 下一主题

[Linux] roc-rk3308-cc编译buildroot固件失败

20

积分

0

威望

0

贡献

技术小白

积分
20

roc-rk3308-cc编译buildroot固件失败

发表于 2022-11-3 16:01:44      浏览:5566 | 回复:6        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
编译buildroot固件,./build.sh 全编译过程中下载各种应用包连接超时失败

log.txt

24.46 KB, 下载次数: 6, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

789

积分

2

威望

4

贡献

技术大神

Rank: 3Rank: 3

积分
789
发表于 2022-11-3 16:42:42        只看该作者  沙发
这个是网络环境的问题, 只能多测试几次, 没什么办法。
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2022-11-3 16:56:24        只看该作者  板凳
penguin 发表于 2022-11-3 16:42
这个是网络环境的问题, 只能多测试几次, 没什么办法。

请教下,有没有其他下载方式,下载好后放dl目录下,编译时不下载
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2022-11-3 17:04:05        只看该作者  地板
penguin 发表于 2022-11-3 16:42
这个是网络环境的问题, 只能多测试几次, 没什么办法。

请教下大神,我重新编译到buildroot出现新的问题报错如下:请问下这个是什么问题?
==========Start building buildroot==========
TARGET_BUILDROOT_CONFIG=firefly_rk3308_release
=========================================
Top of tree: /home/ubt/proj
===========================================

#TARGET_BOARD=rk3308
#OUTPUT_DIR=output/firefly_rk3308_release
#CONFIG=firefly_rk3308_release_defconfig

===========================================
make: Entering directory '/home/ubt/proj/buildroot'
  GEN     /home/ubt/proj/buildroot/output/firefly_rk3308_release/Makefile
/home/ubt/proj/buildroot/build/defconfig_hook.py -m /home/ubt/proj/buildroot/configs/firefly_rk3308_release_defconfig /home/ubt/proj/buildroot/output/firefly_rk3308_release/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/ubt/proj/buildroot/output/firefly_rk3308_release/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/ubt/proj/buildroot/output/firefly_rk3308_release/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/ubt/proj/buildroot/output/firefly_rk3308_release/build/buildroot-config/tristate.config BR2_CONFIG=/home/ubt/proj/buildroot/output/firefly_rk3308_release/.config HOST_GCC_VERSION="9" BUILD_DIR=/home/ubt/proj/buildroot/output/firefly_rk3308_release/build SKIP_LEGACY= BR2_DEFCONFIG=/home/ubt/proj/buildroot/configs/firefly_rk3308_release_defconfig /home/ubt/proj/buildroot/output/firefly_rk3308_release/build/buildroot-config/conf --defconfig=/home/ubt/proj/buildroot/output/firefly_rk3308_release/.rockchipconfig Config.in
#
# configuration written to /home/ubt/proj/buildroot/output/firefly_rk3308_release/.config
#
make: Leaving directory '/home/ubt/proj/buildroot'
2022-11-03T16:53:08 >>> libtool 2.4.6 Installing to staging directory
Done in 10s  (error code: 2)
log saved on /home/ubt/proj/br.log
2022-11-03T16:49:23 checking whether to build shared libraries... yes
2022-11-03T16:49:23 checking whether to build static libraries... no
2022-11-03T16:49:23 checking for /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran option to produce PIC...
2022-11-03T16:49:23 checking if /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran static flag  works... no
2022-11-03T16:49:23 checking if /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran supports -c -o file.o... no
2022-11-03T16:49:23 checking if /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran supports -c -o file.o... (cached) no
2022-11-03T16:49:23 checking whether the /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran linker (/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-ld) supports shared libraries... yes
2022-11-03T16:49:23 checking dynamic linker characteristics... (cached) GNU/Linux ld.so
2022-11-03T16:49:23 checking how to hardcode library paths into programs... immediate
2022-11-03T16:49:23 checking for aarch64-rockchip-linux-gnu-gfortran... /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran
2022-11-03T16:49:23 checking whether we are using the GNU Fortran compiler... no
2022-11-03T16:49:23 checking whether /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran accepts -g... no
2022-11-03T16:49:23 checking if libtool supports shared libraries... yes
2022-11-03T16:49:23 checking whether to build shared libraries... yes
2022-11-03T16:49:23 checking whether to build static libraries... no
2022-11-03T16:49:23 libtool.m4: error: problem compiling FC test program
2022-11-03T16:49:23 checking for /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran option to produce PIC...
2022-11-03T16:49:23 checking if /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran static flag  works... no
2022-11-03T16:49:23 checking if /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran supports -c -o file.o... no
2022-11-03T16:49:23 checking if /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran supports -c -o file.o... (cached) no
2022-11-03T16:49:23 checking whether the /home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-gfortran linker (/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin/aarch64-rockchip-linux-gnu-ld) supports shared libraries... yes
2022-11-03T16:49:23 checking dynamic linker characteristics... (cached) GNU/Linux ld.so
2022-11-03T16:49:23 checking how to hardcode library paths into programs... immediate
2022-11-03T16:49:23 checking for aarch64-rockchip-linux-gnu-gccgo... no
2022-11-03T16:49:23 checking for gccgo... no
2022-11-03T16:49:23 checking for aarch64-rockchip-linux-gnu-gcj... no
2022-11-03T16:49:23 checking for gcj... no
2022-11-03T16:49:23 checking for aarch64-rockchip-linux-gnu-windres... no
2022-11-03T16:49:23 checking for windres... no
2022-11-03T16:49:23 checking that generated files are newer than configure... done
2022-11-03T16:49:23 configure: creating ./config.status
2022-11-03T16:49:24 config.status: creating Makefile
2022-11-03T16:49:24 config.status: creating config.h
2022-11-03T16:49:24 config.status: executing tests/atconfig commands
2022-11-03T16:49:24 config.status: executing depfiles commands
2022-11-03T16:49:24 config.status: executing libtool commands
2022-11-03T16:49:24 configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls
2022-11-03T16:49:24 >>> libtool 2.4.6 Building
2022-11-03T16:49:24 PATH="/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin:/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RecoveryNoUi=true  /usr/bin/make -j24  -C /home/ubt/proj/buildroot/output/firefly_rk3308_release/build/libtool-2.4.6/
2022-11-03T16:49:24 GEN      libtoolize
2022-11-03T16:49:25 /usr/bin/make  all-recursive
2022-11-03T16:49:25 Making all in .
2022-11-03T16:49:25 CC       libltdl/lt__strl.lo
2022-11-03T16:49:25 GEN      doc/libtool.1
2022-11-03T16:49:25 CC       libltdl/loaders/libltdl_libltdl_la-preopen.lo
2022-11-03T16:49:25 CC       libltdl/libltdl_libltdl_la-lt_dlloader.lo
2022-11-03T16:49:25 CC       libltdl/libltdl_libltdl_la-lt__alloc.lo
2022-11-03T16:49:25 CC       libltdl/libltdl_libltdl_la-ltdl.lo
2022-11-03T16:49:25 CC       libltdl/libltdl_libltdl_la-lt_error.lo
2022-11-03T16:49:25 CC       libltdl/libltdl_libltdl_la-slist.lo
2022-11-03T16:49:25 CC       libltdl/loaders/dlopen.lo
2022-11-03T16:49:25 Updating ./doc/version.texi
2022-11-03T16:49:25 CCLD     libltdl/dlopen.la
2022-11-03T16:49:25 CCLD     libltdl/libltdl.la
2022-11-03T16:49:26 GEN      libltdl/stamp-mk
2022-11-03T16:49:27 >>> libtool 2.4.6 Installing to staging directory
2022-11-03T16:49:27 PATH="/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin:/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RecoveryNoUi=true  /usr/bin/make -j24 DESTDIR=/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/aarch64-rockchip-linux-gnu/sysroot install -C /home/ubt/proj/buildroot/output/firefly_rk3308_release/build/libtool-2.4.6/
2022-11-03T16:49:27 /usr/bin/make  install-recursive
2022-11-03T16:49:27 Making install in .
2022-11-03T16:49:27 MAKEINFO doc/libtool.info
2022-11-03T16:49:27 GEN      doc/libtool.1
2022-11-03T16:49:27 /home/ubt/proj/buildroot/output/firefly_rk3308_release/build/libtool-2.4.6/build-aux/missing: line 81: makeinfo: command not found
2022-11-03T16:49:27 WARNING: 'makeinfo' is missing on your system.
2022-11-03T16:49:27 You should only need it if you modified a '.texi' file, or
2022-11-03T16:49:27 any other file indirectly affecting the aspect of the manual.
2022-11-03T16:49:27 You might want to install the Texinfo package:
2022-11-03T16:49:27 <http://www.gnu.org/software/texinfo/>
2022-11-03T16:49:27 The spurious makeinfo call might also be the consequence of
2022-11-03T16:49:27 using a buggy 'make' (AIX, DU, IRIX), in which case you might
2022-11-03T16:49:27 want to install GNU make:
2022-11-03T16:49:27 <http://www.gnu.org/software/make/>
2022-11-03T16:49:27 make[4]: *** [Makefile:1359: doc/libtool.info] Error 127
2022-11-03T16:49:28 make[3]: *** [Makefile:1606: install-recursive] Error 1
2022-11-03T16:49:28 make[2]: *** [Makefile:1908: install] Error 2
2022-11-03T16:49:28 make[1]: *** [package/pkg-generic.mk:289: /home/ubt/proj/buildroot/output/firefly_rk3308_release/build/libtool-2.4.6/.stamp_staging_installed] Error 2
2022-11-03T16:49:50 make: *** [/home/ubt/proj/buildroot/output/firefly_rk3308_release/Makefile:16: _all] Error 2
2022-11-03T16:52:59 umask 0022 && make -C /home/ubt/proj/buildroot O=/home/ubt/proj/buildroot/output/firefly_rk3308_release
2022-11-03T16:53:05 /usr/bin/make -j1 O=/home/ubt/proj/buildroot/output/firefly_rk3308_release HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
2022-11-03T16:53:05 GEN     /home/ubt/proj/buildroot/output/firefly_rk3308_release/Makefile
2022-11-03T16:53:08 >>> libtool 2.4.6 Installing to staging directory
2022-11-03T16:53:08 PATH="/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/bin:/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" RecoveryNoUi=true  /usr/bin/make -j24 DESTDIR=/home/ubt/proj/buildroot/output/firefly_rk3308_release/host/aarch64-rockchip-linux-gnu/sysroot install -C /home/ubt/proj/buildroot/output/firefly_rk3308_release/build/libtool-2.4.6/
2022-11-03T16:53:08 /usr/bin/make  install-recursive
2022-11-03T16:53:08 Making install in .
2022-11-03T16:53:08 MAKEINFO doc/libtool.info
2022-11-03T16:53:08 GEN      doc/libtool.1
2022-11-03T16:53:08 /home/ubt/proj/buildroot/output/firefly_rk3308_release/build/libtool-2.4.6/build-aux/missing: line 81: makeinfo: command not found
2022-11-03T16:53:08 WARNING: 'makeinfo' is missing on your system.
2022-11-03T16:53:08 You should only need it if you modified a '.texi' file, or
2022-11-03T16:53:08 any other file indirectly affecting the aspect of the manual.
2022-11-03T16:53:08 You might want to install the Texinfo package:
2022-11-03T16:53:08 <http://www.gnu.org/software/texinfo/>
2022-11-03T16:53:08 The spurious makeinfo call might also be the consequence of
2022-11-03T16:53:08 using a buggy 'make' (AIX, DU, IRIX), in which case you might
2022-11-03T16:53:08 want to install GNU make:
2022-11-03T16:53:08 <http://www.gnu.org/software/make/>
2022-11-03T16:53:08 make[4]: *** [Makefile:1359: doc/libtool.info] Error 127
2022-11-03T16:53:08 make[3]: *** [Makefile:1606: install-recursive] Error 1
2022-11-03T16:53:08 make[2]: *** [Makefile:1908: install] Error 2
2022-11-03T16:53:08 make[1]: *** [package/pkg-generic.mk:289: /home/ubt/proj/buildroot/output/firefly_rk3308_release/build/libtool-2.4.6/.stamp_staging_installed] Error 2
2022-11-03T16:53:08 make: *** [/home/ubt/proj/buildroot/output/firefly_rk3308_release/Makefile:16: _all] Error 2
Command exited with non-zero status 1
you take 0:18.54 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 743:
    /usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2022-11-3 17:36:15        只看该作者  5#
penguin 发表于 2022-11-3 16:42
这个是网络环境的问题, 只能多测试几次, 没什么办法。

或者在哪里可以配置,选择我需要的一些应用软件包下载,其他的不下载?
回复

使用道具 举报

20

积分

0

威望

0

贡献

技术小白

积分
20
发表于 2022-11-3 18:17:25        只看该作者  6#
tangxiaozhu666 发表于 2022-11-3 17:04
请教下大神,我重新编译到buildroot出现新的问题报错如下:请问下这个是什么问题?
==========Start bui ...

这个问题已经解决
回复

使用道具 举报

6

积分

0

威望

0

贡献

吃瓜的群众

积分
6
发表于 2023-5-16 17:00:20        只看该作者  7#

请教一下如何解决的!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表