找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1751|回复: 3

哪位大佬帮忙看看编译出错信息

[复制链接]
发表于 2020-5-9 09:43 | 显示全部楼层 |阅读模式
find /home/cat/ledeild_dir/target-x86_64_musl/root-x86/ -mindepth 1 -execdir touch -hcd "@1588779258" "{}" +
find: The relative path 'Files' 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/cat/lede'
package/Makefile:108: recipe for target '/home/cat/lede/staging_dir/target-x86_64_musl/stamp/.package_install' failed
make[1]: *** [/home/cat/lede/staging_dir/target-x86_64_musl/stamp/.package_install] Error 2
make[1]: Leaving directory '/home/cat/lede'
/home/cat/lede/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 2

用的windows子系统乌班图18.04
哪个大佬帮帮忙啊,请收下我的膝盖

我的恩山、我的无线 The best wifi forum is right here.
发表于 2020-7-2 08:16 | 显示全部楼层
兄弟,你解决问题了没有,同样遇上这个问题了

点评

解决了 在编译前加一段代码 export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"  详情 回复 发表于 2020-7-2 08:56
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2020-7-2 08:56 | 显示全部楼层
kangdei 发表于 2020-7-2 08:16
兄弟,你解决问题了没有,同样遇上这个问题了

解决了  在编译前加一段代码
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

点评

刚刚,我用下面的方法也强行弄出来了,大概意思是 是由于调用了 python3 所致。修改 ./lede/staging_dir/host/bin/mklibs 的第一行为 #!/usr/bin/python 即可。 make -j1 -i V=s WSL编译openwrt时mklibs错误的  详情 回复 发表于 2020-7-2 10:42
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-7-2 10:42 | 显示全部楼层
Eskimocat 发表于 2020-7-2 08:56
解决了  在编译前加一段代码
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/ ...

刚刚,我用下面的方法也强行弄出来了,大概意思是
是由于调用了 python3 所致。修改 ./lede/staging_dir/host/bin/mklibs 的第一行为
#!/usr/bin/python
即可。
make -j1 -i V=s
WSL编译openwrt时mklibs错误的解决方法,wsl,报错,解决方案
WSL编译openwrt时mklibs错误的解决方法,wsl,报错,解决方案
https://www.pythonf.cn/read/100444
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-3-29 12:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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