2024-07-30T15:21:13 >>> host-squashfs 3de1687d7432ea9b302c2db9521996f506c140a3 Building
2024-07-30T15:21:13 PATH="/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/bin:/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/sbin:/opt/ros/humble/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin:/home/liu/.fishros/bin/" PKG_CONFIG="/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/lib/pkgconfig:/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/share/pkgconfig" /usr/bin/make -j17 CC="/usr/bin/gcc" EXTRA_CFLAGS="-O2 -I/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/include" EXTRA_LDFLAGS="-L/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/lib -Wl,-rpath,/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/lib" XATTR_SUPPORT=1 XZ_SUPPORT=1 GZIP_SUPPORT=1 LZ4_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1 -C /home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/build/host-squashfs-3de1687d7432ea9b302c2db9521996f506c140a3/squashfs-tools/
2024-07-30T15:21:13 /usr/bin/gcc -L/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/lib -Wl,-rpath,/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/host/lib mksquashfs.o read_fs.o action.o swap.o pseudo.o compressor.o sort.o progressbar.o read_file.o info.o restore.o process_fragments.o caches-queues-lists.o gzip_wrapper.o lzma_xz_wrapper.o xz_wrapper.o lzo_wrapper.o lz4_wrapper.o xattr.o read_xattrs.o -lpthread -lm -lz -llzma -llzma -llzo2 -llz4 -o mksquashfs
2024-07-30T15:21:13 /usr/bin/ld: read_fs.o:(.bss+0x0): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400be8): first defined here
2024-07-30T15:21:13 /usr/bin/ld: read_fs.o:(.bss+0x8): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400bf0): first defined here
2024-07-30T15:21:13 /usr/bin/ld: action.o:(.bss+0x0): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400be8): first defined here
2024-07-30T15:21:13 /usr/bin/ld: action.o:(.bss+0x8): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400bf0): first defined here
2024-07-30T15:21:13 /usr/bin/ld: sort.o:(.bss+0x100000): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400be8): first defined here
2024-07-30T15:21:13 /usr/bin/ld: sort.o:(.bss+0x100008): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400bf0): first defined here
2024-07-30T15:21:13 /usr/bin/ld: info.o:(.bss+0x10): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400bf0): first defined here
2024-07-30T15:21:13 /usr/bin/ld: info.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400be8): first defined here
2024-07-30T15:21:13 /usr/bin/ld: restore.o:(.bss+0x0): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400be8): first defined here
2024-07-30T15:21:13 /usr/bin/ld: restore.o:(.bss+0x8): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400bf0): first defined here
2024-07-30T15:21:13 /usr/bin/ld: process_fragments.o:(.bss+0x0): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400be8): first defined here
2024-07-30T15:21:13 /usr/bin/ld: process_fragments.o:(.bss+0x8): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400bf0): first defined here
2024-07-30T15:21:13 /usr/bin/ld: xattr.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x400be8): first defined here
2024-07-30T15:21:13 /usr/bin/ld: xattr.o:(.bss+0x10): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x400bf0): first defined here
2024-07-30T15:21:13 collect2: error: ld returned 1 exit status
2024-07-30T15:21:13 make[2]: *** [Makefile:228: mksquashfs] Error 1
2024-07-30T15:21:13 make[1]: *** [package/pkg-generic.mk:231: /home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/build/host-squashfs-3de1687d7432ea9b302c2db9521996f506c140a3/.stamp_built] Error 2
2024-07-30T15:21:13 make: *** [/home/liu/taishanpai/tspi_liunx_repo_sdk/buildroot/output/rockchip_rk3566/Makefile:16: _all] Error 2
Command exited with non-zero status 1
you take 0:03.21 to build builroot
ERROR: Running build_buildroot failed!
ERROR: exit code 1 from line 715:
/usr/bin/time -f "you take %E to build builroot" $COMMON_DIR/mk-buildroot.sh $BOARD_CONFIG
这个错误是咋回事,不懂啊!!!
立创开发板

登录 或 注册 后才可以进行评论哦!