找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 905|回复: 5

求助:lean源码编译错误

[复制链接]
发表于 2021-1-18 23:18 | 显示全部楼层 |阅读模式
wsl2编译,本人菜鸟,错误不知道怎么解决,只能求助万能的网友和大神,谢谢了
find /home/can/lean/openwrt/build_dir/target-mipsel_24kc_musl/root-ramips/ -mindepth 1 -execdir touch -hcd "@1608658388" "{}" +
find: The relative path 'Files/WindowsApps/CanonicalGroupLimited.Ubuntu18.04onWindows_1804.2020.824.0_x64__79rhkp1fndgsc' is included in the PATH environment variable, which is insecure in combination with the -execdir action of find.  Please remove that entry from $PATH
package/Makefile:65: recipe for target 'package/install' failed
make[2]: *** [package/install] Error 1
make[2]: Leaving directory '/home/can/lean/openwrt'
package/Makefile:108: recipe for target '/home/can/lean/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_install' failed
make[1]: *** [/home/can/lean/openwrt/staging_dir/target-mipsel_24kc_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/can/lean/openwrt'
/home/can/lean/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2
我的恩山、我的无线 The best wifi forum is right here.
发表于 2021-1-18 23:28 | 显示全部楼层
在 Linux子系统 里的 etc 目录里 创建 wsl.conf 文件,在文件里添加 2行
[interop]
appendWindowsPath = false
然后 改一下 win系统的 注册表
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Lxss{GUID}\Flags
把 7 改成 5
然后重启一下win系统

点评

注册表我的原值是15,改了这两处还是有问题。wge-ssl错误,干脆装了ubuntu系统,好使多了  详情 回复 发表于 2021-1-22 08:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2021-1-22 08:56 | 显示全部楼层
jjit 发表于 2021-1-18 23:28
在 Linux子系统 里的 etc 目录里 创建 wsl.conf 文件,在文件里添加 2行

appendWindowsPath = false

注册表我的原值是15,改了这两处还是有问题。wge-ssl错误,干脆装了ubuntu系统,好使多了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2021-1-22 10:26 | 显示全部楼层
用这个命令后再编译
        source /etc/environment

点评

我也是这个错误,我试一下哈  发表于 2021-2-6 15:15
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-20 03:29

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表