V853 虚拟机编译失败,使用buildroot
-
如题,今天刚按照文档拉取的源码,尝试编译失败。Log 如下:
allwinner@allwinner-VirtualBox:~/tina-V85x$ ./build.sh ========ACTION List: build_linuxdev;======== options : INFO: ---------------------------------------- INFO: build linuxdev ... INFO: chip: sun8iw21p1 INFO: platform: linux INFO: kernel: linux-4.9 INFO: board: vision INFO: output: /home/allwinner/tina-V85x/out/v853/vision/buildroot INFO: ---------------------------------------- INFO: don't build dtbo ... INFO: build arisc INFO: build_bootloader: brandy_path= /home/allwinner/tina-V85x/brandy/brandy-2.0 INFO: skip build brandy. INFO: build kernel ... INFO: Prepare toolchain ... Building kernel /home/allwinner/tina-V85x/kernel/linux-4.9/output/lib/modules/4.9.191 CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CHK scripts/mod/devicetable-offsets.h CHK include/generated/timeconst.h CHK include/generated/bounds.h CHK include/generated/asm-offsets.h CALL scripts/checksyscalls.sh CHK include/generated/compile.h DTC arch/arm/boot/dts/board.dtb Kernel: arch/arm/boot/Image is ready Building modules, stage 2. MODPOST 27 modules Kernel: arch/arm/boot/zImage is ready Kernel: arch/arm/boot/uImage is ready 'arch/arm/boot/Image' -> 'output/bImage' 'arch/arm/boot/uImage' -> 'output/uImage' 'arch/arm/boot/zImage' -> 'output/zImage' Copy rootfs.cpio.gz for arm Building modules [GPU]: No GPU type is configured in /home/allwinner/tina-V85x/kernel/linux-4.9/.config. INFO: build dts ... INFO: Prepare toolchain ... removed '/home/allwinner/tina-V85x/out/v853/vision/buildroot/.board.dtb.d.dtc.tmp' removed '/home/allwinner/tina-V85x/out/v853/vision/buildroot/.board.dtb.dts.tmp' '/home/allwinner/tina-V85x/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.d.dtc.tmp' -> '/home/allwinner/tina-V85x/out/v853/vision/buildroot/.board.dtb.d.dtc.tmp' '/home/allwinner/tina-V85x/kernel/linux-4.9/arch/arm/boot/dts/.board.dtb.dts.tmp' -> '/home/allwinner/tina-V85x/out/v853/vision/buildroot/.board.dtb.dts.tmp' INFO: build rootfs ... INFO: build buildroot ... make: Entering directory '/home/allwinner/tina-V85x/buildroot/buildroot-201902' >>> host-libglib2 2.56.3 Building PATH="/home/allwinner/tina-V85x/out/v853/vision/buildroot/buildroot/host/bin:/home/allwinner/tina-V85x/out/v853/vision/buildroot/buildroot/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/allwinner/tina-V85x/out/v853/vision/buildroot/buildroot/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/allwinner/tina-V85x/out/v853/vision/buildroot/buildroot/host/lib/pkgconfig:/home/allwinner/tina-V85x/out/v853/vision/buildroot/buildroot/host/share/pkgconfig" /usr/bin/make -j16 -C /home/allwinner/tina-V85x/out/v853/vision/buildroot/buildroot/build/host-libglib2-2.56.3/ /usr/bin/make all-recursive Making all in . make[4]: Nothing to be done for 'all-am'. Making all in m4macros /usr/bin/make all-am make[5]: Nothing to be done for 'all-am'. Making all in glib /usr/bin/make all-recursive Making all in libcharset /usr/bin/make all-am make[7]: Nothing to be done for 'all-am'. Making all in update-pcre /usr/bin/make all-am make[7]: Nothing to be done for 'all-am'. Making all in . make[6]: Nothing to be done for 'all-am'. Making all in gmodule /usr/bin/make all-am make[5]: Nothing to be done for 'all-am'. Making all in gthread /usr/bin/make all-am make[5]: Nothing to be done for 'all-am'. Making all in gobject /usr/bin/make all-recursive Making all in . make[6]: Nothing to be done for 'all-am'. Making all in tests /usr/bin/make all-am make[7]: Nothing to be done for 'all-am'. Making all in gio /usr/bin/make all-recursive Making all in gdbus-2.0/codegen /usr/bin/make all-am make[7]: Nothing to be done for 'all-am'. Making all in xdgmime /usr/bin/make all-am make[7]: Nothing to be done for 'all-am'. Making all in inotify /usr/bin/make all-am make[7]: Nothing to be done for 'all-am'. Making all in . CC libgio_2_0_la-gdbusauth.lo CC libgio_2_0_la-gdbusmessage.lo CC libgio_2_0_la-ghttpproxy.lo CC libgio_2_0_la-glocalfile.lo CC libgio_2_0_la-glocalfileenumerator.lo CC libgio_2_0_la-glocalfileinfo.lo CC libgio_2_0_la-glocalfileinputstream.lo CC libgio_2_0_la-glocalfilemonitor.lo CC libgio_2_0_la-glocalfileoutputstream.lo CC libgio_2_0_la-glocalfileiostream.lo CC libgio_2_0_la-glocalvfs.lo CC libgio_2_0_la-gsocks4proxy.lo CC libgio_2_0_la-gsocks4aproxy.lo CC libgio_2_0_la-gsocks5proxy.lo CC libgio_2_0_la-thumbnail-verify.lo CC libgio_2_0_la-gdesktopappinfo.lo CC libgio_2_0_la-gcontenttype.lo glocalfilemonitor.c:332:1: warning: 'is_basename' defined but not used [-Wunused-function] 332 | is_basename (const gchar *name) | ^~~~~~~~~~~ gdbusmessage.c: In function 'parse_value_from_blob': gdbusmessage.c:1712:29: warning: variable 'item' set but not used [-Wunused-but-set-variable] 1712 | GVariant *item; | ^~~~ gdbusmessage.c: In function 'append_value_to_blob': gdbusmessage.c:2326:24: warning: unused variable 'end' [-Wunused-variable] 2326 | const gchar *end; | ^~~ CC libgio_2_0_la-gfiledescriptorbased.lo CC libgio_2_0_la-gunixconnection.lo CC libgio_2_0_la-gunixcredentialsmessage.lo CC libgio_2_0_la-gunixfdlist.lo CC libgio_2_0_la-gunixfdmessage.lo gdesktopappinfo.c: In function 'desktop_key_get_name': gdesktopappinfo.c:410:1: warning: control reaches end of non-void function [-Wreturn-type] 410 | } | ^ At top level: gdesktopappinfo.c:4517:1: warning: 'app_info_has_action' defined but not used [-Wunused-function] 4517 | app_info_has_action (GDesktopAppInfo *info, | ^~~~~~~~~~~~~~~~~~~ CC libgio_2_0_la-gunixmount.lo CC libgio_2_0_la-gunixmounts.lo CC libgio_2_0_la-gunixsocketaddress.lo CC libgio_2_0_la-gunixvolume.lo gdbusauth.c: In function '_g_dbus_auth_run_server': gdbusauth.c:1302:11: error: '%s' directive argument is null [-Werror=format-overflow=] 1302 | debug_print ("SERVER: WaitingForBegin, read '%s'", line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CC libgio_2_0_la-gunixvolumemonitor.lo cc1: some warnings being treated as errors make[6]: *** [Makefile:3633: libgio_2_0_la-gdbusauth.lo] Error 1 make[6]: *** Waiting for unfinished jobs.... gdbusmessage.c: In function 'g_dbus_message_to_blob': gdbusmessage.c:2702:30: error: '%s' directive argument is null [-Werror=format-overflow=] 2702 | tupled_signature_str = g_strdup_printf ("(%s)", signature_str); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[6]: *** [Makefile:3682: libgio_2_0_la-gdbusmessage.lo] Error 1 make[5]: *** [Makefile:4471: all-recursive] Error 1 make[4]: *** [Makefile:2049: all] Error 2 make[3]: *** [Makefile:1272: all-recursive] Error 1 make[2]: *** [Makefile:893: all] Error 2 make[1]: *** [package/pkg-generic.mk:241: /home/allwinner/tina-V85x/out/v853/vision/buildroot/buildroot/build/host-libglib2-2.56.3/.stamp_built] Error 2 make: *** [Makefile:96: _all] Error 2 make: Leaving directory '/home/allwinner/tina-V85x/buildroot/buildroot-201902' ERROR: build buildroot Failed INFO: build_buildroot_rootfs failed allwinner@allwinner-VirtualBox:~/tina-V85x$
-
buildroot暂时还不支持Ubuntu20.04,后续新版本会支持
-
所以用 OpenWrt的那套就可以是吗?
-
OpenWrt编译成功,感谢大佬
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号