Navigation

    全志在线开发者论坛

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

    D1 Tina2.1编译报错

    MR Series
    3
    3
    1475
    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.
    • A
      abcdef LV 5 last edited by

      用ubuntu22.04,编译D1开发板2.1版本的sdk,这个错误有谁遇到过么

      QQ图片20230407103510.jpg

      1 Reply Last reply Reply Quote Share 0
      • bayche
        bayche LV 6 last edited by

        20230407103524.png

        S 1 Reply Last reply Reply Quote Share 0
        • S
          sunmin LV 3 @bayche last edited by

          @bayche
          你登录Ubuntu时,用的是root账户,请不要用该账户执行repo相关操作,也不要用这个账户进行编译操作,你现在可以这样做:

          1.用useradd命令,新建一个用户,
          -m: home路径位于/home/weibin
          -s:你登录之后,输入的命令通过bash解析器,解析执行

          #账户名叫weibin
          useradd -m -s /bin/bash weibin
          #给自己设一个密码
          passwd weibin
          #把weibo账户添加到管理员组
          usermod -aG sudo weibin
          

          2.把你下载下来的代码全部删了
          3.重启电脑,用新的账户weibin登录,按照https://d1.docs.aw-ol.com/study/study_3getsdk/ 重新来一遍

          1 Reply Last reply Reply Quote Share 0
          • 1 / 1
          • First post
            Last post

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

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