Navigation

    全志在线开发者论坛

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

    【Tina_哪吒】在虚拟机上按流程make后部分构建失败

    MR Series
    2
    6
    2221
    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.
    • T
      The_Qiang LV 4 last edited by

      大佬们帮我这小白看看问题在哪。

      在这个虚拟机上倒是成功过,都按流程source buid..... lunch ....然后再make的
      (后用make kernel_menuconfig修改过.config和cp .config /arch/riscv/config/xxxxdeconfig 后又改回原文件)。
      错误信息如图
      (root:make):
      错误信息2.png
      错误信息.png
      (直接make):
      610b711e-2117-4cc1-89fa-d515c6e3d3c3-image.png
      (sudo make):
      173d1e2f-d907-42e3-8340-4f0f2188553d-image.png

      1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by

        chmod -R 755 tmp 然后再make

        不可以用sudo,因为source的时候也环境变量,sudo默认不会引用环境变量

        T 2 Replies Last reply Reply Quote Share 0
        • T
          The_Qiang LV 4 @YuzukiTsuru last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote Share 0
          • T
            The_Qiang LV 4 @YuzukiTsuru last edited by

            @yuzukitsuru 佬,我在同目录下执行了下,还是必须root才能正常make,还是有一些构建失败,是因为我之前用root整过一遍,文件权限变了嘛。
            db64bcd5-83bf-4475-bb48-8504d2240908-image.png

            YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
            • YuzukiTsuru
              柚木 鉉 LV 9 @The_Qiang last edited by

              @the_qiang 是的,sudo rm -rf out/ tmp/ 然后 make clean && make distclean

              T 1 Reply Last reply Reply Quote Share 0
              • T
                The_Qiang LV 4 @YuzukiTsuru last edited by

                @yuzukitsuru 在 【Tina_哪吒】在虚拟机上按流程make后部分构建失败 中说:

                @the_qiang 是的,sudo rm -rf out/ tmp/ 然后 make clean && make distclean

                感谢大佬~
                下回知道避免root了
                不过我make clean && make distclean 的时候报错了
                f56c34be-5dd4-4dd3-a6e2-88fb81f6c479-image.png
                当初忘了复制一遍虚拟机了,现在在下载新的了。😊

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

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

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