Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    新手第一次尝试编译TINA 遇到问题

    编译和烧写问题专区
    2
    6
    2302
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      cooldiy_cn LV 3 last edited by

      软件环境:
      win11,WSL2 ubuntu 20.04
      已经根据线上文档将SDK下载同步,必要软件包配置按照步骤完成。
      用sudo su切到root权限
      运行
      source build/envsetup.sh,成功完成
      lunch ,成功完成
      make -j16 v=sc
      错误信息如下:
      copy to /home/cooldiycn/tina-v853/openwrt/target/v853/v853-vision/defconfig
      make[2]: Entering directory '/home/cooldiycn/tina-v853/openwrt/openwrt'
      Makefile:29: "NOTE: Will skip kernel build."
      The command image-prereq(include/kernel-build.mk) execute.
      time: target/linux/prereq#0.12#0.03#0.16
      make[2]: Leaving directory '/home/cooldiycn/tina-v853/openwrt/openwrt'
      make[1]: Leaving directory '/home/cooldiycn/tina-v853/openwrt/openwrt'
      make[1] world
      make[2] -C /home/cooldiycn/tina-v853/openwrt/target/v853 check
      make[2] package/cleanup
      make[2] tools/compile
      make[3] -C tools/flock compile
      make[3] -C tools/xz compile
      make[3] -C tools/sed compile
      make[3] -C tools/tar compile
      make[3] -C tools/patch compile
      ERROR: tools/tar failed to build.
      make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
      /home/cooldiycn/tina-v853/openwrt/openwrt/include/toplevel.mk:236: recipe for target 'world' failed
      make: *** [world] Error 1
      make: Leaving directory '/home/cooldiycn/tina-v853/openwrt/openwrt'
      请大家帮助 谢谢啦

      vincent1 1 Reply Last reply Reply Quote Share 0
      • vincent1
        Shy LV 6 @cooldiy_cn last edited by

        @cooldiy_cn tina linux SDK打开openssh编译错误
        https://bbs.aw-ol.com/topic/2731/share/1 转自晕哥

        C 1 Reply Last reply Reply Quote Share 0
        • C
          cooldiy_cn LV 3 @vincent1 last edited by

          @vincent1 谢谢您的回复 但是我还是没有理解,您引用的这个问题是和我的问题有共性吗?我需要修改哪些配置呢?

          vincent1 1 Reply Last reply Reply Quote Share 0
          • vincent1
            Shy LV 6 @cooldiy_cn last edited by

            @cooldiy_cn 去tina目录下打开图形化菜单 “make menuconfig” 用” / “搜索晕哥说的那几个设置按Y打上*号 再编译 试一下

            C 1 Reply Last reply Reply Quote Share 0
            • C
              cooldiy_cn LV 3 @vincent1 last edited by

              @vincent1 谢谢您,问题已经解决。发现问题是配置问题。
              进行了如下配置问题解决:
              1、V853在线文档中,编译环境配置一节没提到要安装一个组件。需要安装u-boot-tools。
              2、V853在线文档中,编译环境配置一节没提到要增加i386架构,才能安装部分i386架构的必须组件。需要dpkg --add-architecture i386 增加,然后再apt-get update 来更新列表。
              3、lib32ncurses5包名改变,需要用lib32ncurses5-dev代替。
              建议官方及时修正在线文档。
              编译对比发现win10/11下WSL编译速度会比VBOX环境快出接近50%。

              vincent1 1 Reply Last reply Reply Quote Share 2
              • vincent1
                Shy LV 6 @cooldiy_cn last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote Share 0
                • 1 / 1
                • First post
                  Last post

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

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