Navigation

    全志在线开发者论坛

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

    WSL2编译d1-h_nezha-tina或D1s失败

    MR Series
    3
    4
    1925
    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
      cstyle LV 4 last edited by whycan

      在WSL2 下编译失败,有没有人帮忙看看是什么原因。网上有人说是大小写的问题,但是不知道问题在哪里,求指教。

        CC [M]  drivers/net/wireless/xr829/wlan/etf.o
        CC [M]  drivers/net/wireless/xr829/wlan/wlan_init.o
        LD [M]  drivers/net/wireless/xr829/xr829.o
        CC [M]  drivers/soc/sunxi/vf-test.o
        CC [M]  net/ipv4/netfilter/nf_log_ipv4.o
        CC [M]  net/ipv4/netfilter/ipt_REJECT.o
        CC [M]  net/ipv4/netfilter/iptable_filter.o
        CC [M]  net/netfilter/nf_log_common.o
        CC [M]  net/netfilter/xt_mark.o
        CC [M]  net/netfilter/xt_LOG.o
      **make[7]: *** No rule to make target 'net/netfilter/xt_TCPMSS.o', needed by '__build'.  Stop.**
      make[6]: *** [scripts/Makefile.build:556: net/netfilter] Error 2
      make[5]: *** [Makefile:1810: net] Error 2
      make[5]: Leaving directory '/mnt/f/1OpenHW/awsdkgit/d1sdk/lichee/linux-5.4'
      make[4]: *** [Makefile:29: /mnt/f/1OpenHW/awsdkgit/d1sdk/out/d1-h-nezha/compile_dir/target/linux-d1-h-nezha/linux-5.4.61/.modules] Error 2
      make[4]: Leaving directory '/mnt/f/1OpenHW/awsdkgit/d1sdk/target/allwinner/d1-h-nezha'
      make[3]: *** [Makefile:13: compile] Error 2
      make[3]: Leaving directory '/mnt/f/1OpenHW/awsdkgit/d1sdk/target/allwinner'
      make[2]: *** [target/Makefile:22: target/allwinner/compile] Error 2
      make[2]: Leaving directory '/mnt/f/1OpenHW/awsdkgit/d1sdk'
      make[1]: *** [target/Makefile:16: /mnt/f/1OpenHW/awsdkgit/d1sdk/out/d1-h-nezha/staging_dir/target/stamp/.target_compile] Error 2
      make[1]: Leaving directory '/mnt/f/1OpenHW/awsdkgit/d1sdk'
      make: *** [/mnt/f/1OpenHW/awsdkgit/d1sdk/build/toplevel.mk:306: world] Error 2
      [1]+  Done                    $T/tools/build/buildserver --path $T 2> /dev/null 1>&2
      
      #### make failed to build some targets (03:19:11 (hh:mm:ss)) ####
      

      d7d3483e-203c-4420-bcf2-c3195580e418-image.png

      $ uname -a
      Linux 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
      
      1 Reply Last reply Reply Quote Share 0
      • YuzukiTsuru
        柚木 鉉 LV 9 last edited by

        make kernel_menuconfig 里把 netfilter 关了试试看

        1 Reply Last reply Reply Quote Share 0
        • M
          mstempin LV 4 last edited by mstempin

          编译需要在 Linux 本地分区上完成,而不是 FAT 或 NTFS 分区,因为它们会破坏大写/小写。您的文件似乎在 "F:" ("/mnt/f") 上,这可能是它无法编译的原因。

          请将所有文件直接放在 Linux HOME 目录下的目录中,您将能够从 Windows 资源管理器中使用“\\wsl$”访问它们

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

            发现了,要mv到/home/里,不能在mnt里

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

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

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