导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    T113 编译出错

    编译和烧写问题专区
    4
    5
    2684
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • G
      gonboy LV 5 最后由 编辑

      https://github.com/mangopi-sbc/Tina-Linux
      make 报错如下:

      ---------------------------------------err 1 = Makefile:42: *** fatal error! sun8iw20p1 is not support by eyesee-mpp!.  Stop.
      ERROR: please fix package/allwinner/eyesee-mpp/dragonboard/Makefile - see logs/package/allwinner/eyesee-mpp/dragonboard/dump.txt for details
      ERROR: please fix package/allwinner/eyesee-mpp/middleware/Makefile - see logs/package/allwinner/eyesee-mpp/middleware/dump.txt for details
      ----------------------------------------
      Collecting package info: done
      make[1]: Entering directory '/T113/Tina-Linux'
      make[2]: Entering directory '/T113/Tina-Linux'
      ........
      make[3]: Entering directory '/T113/Tina-Linux/tools/squashfskit4'
      make -C /T113/Tina-Linux/out/t113-mq_r/compile_dir/host/squashfskit-v4.14/squashfs-tools XZ_SUPPORT=1 LZ4_SUPPORT=1 LZMA_XZ_SUPPORT=1 XATTR_SUPPORT=1 LZMA_LIB="/T113/Tina-Linux/out/host/lib/liblzma.a" LZ4_LIB="/T113/Tina-Linux/out/host/lib/liblz4.a" EXTRA_CFLAGS="-I/T113/Tina-Linux/out/host/include" mksquashfs unsquashfs
      make[4]: Entering directory '/T113/Tina-Linux/out/t113-mq_r/compile_dir/host/squashfskit-v4.14/squashfs-tools'
      ./version.sh
      Writing squashfs-tools/version.h
      cc -I/T113/Tina-Linux/out/host/include -I. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -DCOMP_DEFAULT=\"gzip\" -Wall -DGZIP_SUPPORT -DLZMA_SUPPORT -DXZ_SUPPORT -DLZ4_SUPPORT -DXATTR_SUPPORT -DXATTR_DEFAULT   -c -o mksquashfs.o mksquashfs.c
      cc   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 lzma_xz_options.o /T113/Tina-Linux/out/host/lib/liblzma.a lz4_wrapper.o /T113/Tina-Linux/out/host/lib/liblz4.a xattr.o read_xattrs.o -lpthread -lm -lz -o mksquashfs
      /usr/bin/ld: read_fs.o:(.bss+0x0): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x0): first defined here
      /usr/bin/ld: read_fs.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x8): first defined here
      /usr/bin/ld: action.o:(.bss+0x0): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x0): first defined here
      /usr/bin/ld: action.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x8): first defined here
      /usr/bin/ld: sort.o:(.bss+0x0): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x0): first defined here
      /usr/bin/ld: sort.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x8): first defined here
      /usr/bin/ld: info.o:(.bss+0x0): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x0): first defined here
      /usr/bin/ld: info.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x8): first defined here
      /usr/bin/ld: restore.o:(.bss+0x0): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x0): first defined here
      /usr/bin/ld: restore.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x8): first defined here
      /usr/bin/ld: process_fragments.o:(.bss+0x0): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x0): first defined here
      /usr/bin/ld: process_fragments.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x8): first defined here
      /usr/bin/ld: xattr.o:(.bss+0x0): multiple definition of `bwriter_buffer'; mksquashfs.o:(.bss+0x0): first defined here
      /usr/bin/ld: xattr.o:(.bss+0x8): multiple definition of `fwriter_buffer'; mksquashfs.o:(.bss+0x8): first defined here
      ---------------------------------------- err 2
      collect2: error: ld returned 1 exit status
      make[4]: *** [Makefile:262: mksquashfs] Error 1
      make[4]: Leaving directory '/T113/Tina-Linux/out/t113-mq_r/compile_dir/host/squashfskit-v4.14/squashfs-tools'
      make[3]: *** [Makefile:44: /T113/Tina-Linux/out/t113-mq_r/compile_dir/host/squashfskit-v4.14/.built] Error 2
      make[3]: Leaving directory '/T113/Tina-Linux/tools/squashfskit4'
      make[2]: *** [tools/Makefile:135: tools/squashfskit4/compile] Error 2
      make[2]: Leaving directory '/T113/Tina-Linux'
      make[1]: *** [tools/Makefile:133: /T113/Tina-Linux/out/t113-mq_r/staging_dir/target/stamp/.tools_install_yyyynyyynyyyyyyynnnyyyyyyyyyyynnyyyyyyyynyyynyyyyy] Error 2
      make[1]: Leaving directory '/T113/Tina-Linux'
      make: *** [/T113/Tina-Linux/build/toplevel.mk:306: world] Error 2
      [3]+  Done                    $T/tools/build/buildserver --path $T 2> /dev/null 1>&2
      ---------------------------------------- 
      #### make failed to build some targets (14 seconds) ####
      

      如何解决?

      A 1 条回复 最后回复 回复 引用 分享 0
      • WhycanService
        WhycanService LV 8 最后由 编辑

        包勾选重复了,感觉是busybox里勾选了一遍utils里又勾了

        G 1 条回复 最后回复 回复 引用 分享 0
        • G
          gonboy LV 5 @WhycanService 最后由 编辑

          @whycanservice 已经确认是编译器的问题。 已经修复。

          x@DESKTOP-23J05F6:~/T113/Tina-Linux$ pack
          --==========--
          PACK_CHIP         sun8iw20p1
          PACK_PLATFORM     tina
          PACK_BOARD        t113-mq_r
          PACK_KERN
          PACK_DEBUG        uart0
          PACK_SIG          none
          PACK_SECURE       none
          PACK_MODE         normal
          PACK_FUNC         android
          PACK_PROGRAMMER   none
          PACK_TAR_IMAGE    none
          PACK_TOPDIR       /T113/Tina-Linux
          --==========--
          No kernel param, parse it from t113
          copying tools file
          copying configs file
          storage_type value is 1
          rm /T113/Tina-Linux/out/t113-mq_r/image/sys_partition_nor.fex
          rm /T113/Tina-Linux/out/t113-mq_r/image/image_nor.cfg
          copying boot resource
          copying boot file
          make user resource for : /T113/Tina-Linux/out/t113-mq_r/image/sys_partition.fex
          handle partition user-res
          no user resource partitions
          APP_PART_DOWNLOAD_FILE = /T113/Tina-Linux/out/t113-mq_r/image/app.fex
          Need size of filesystem
          no data resource partitions
          don't build dtbo ...
          update_chip
          
          sboot file Path=/T113/Tina-Linux/out/t113-mq_r/image/sboot.bin
          script file Path=/T113/Tina-Linux/out/t113-mq_r/image/sys_config.bin
          
          update:unable to open sboot file
          script update sboot ok
          pack boot package
          GetPrivateProfileSection read to end
          content_count=3
          file /T113/Tina-Linux/out/t113-mq_r/image/u-boot.fex cant be open
          /T113/Tina-Linux/scripts/pack_img.sh: line 1250: 13891 Segmentation fault      dragonsecboot -pack boot_package.cfg
          ERROR: dragon pack run error
          

          pack 出错。。 啥原因?

          whycan 1 条回复 最后回复 回复 引用 分享 0
          • whycan
            whycan晕哥 LV 9 @gonboy 最后由 编辑

            @gonboy 在 T113 编译出错 中说:

            Segmentation fault dragonsecboot

            用ubuntu18.04 64bit 编译环境基本没有坑。

            1 条回复 最后回复 回复 引用 分享 0
            • A
              Amelia123 LV 2 @gonboy 最后由 编辑

              @gonboy 请问make编译报错还记得是怎么解决的吗?

              1 条回复 最后回复 回复 引用 分享 0
              • 1 / 1
              • First post
                Last post

              Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

              行为准则 | 用户协议 | 隐私权政策