找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1935|回复: 2

openwrt编译出错,求助!!

[复制链接]
make[3]: Entering directory '/mnt/f/openwrt/lede/tools/xz'
make[3]: Leaving directory '/mnt/f/openwrt/lede/tools/xz'
time: tools/xz/compile#0.03#0.96#1.15
make[3]: Entering directory '/mnt/f/openwrt/lede/tools/tar'
make[3]: Leaving directory '/mnt/f/openwrt/lede/tools/tar'
time: tools/tar/compile#0.04#1.23#1.54
make[3]: Entering directory '/mnt/f/openwrt/lede/tools/m4'
make[3]: Leaving directory '/mnt/f/openwrt/lede/tools/m4'
time: tools/m4/compile#0.00#1.23#1.42
make[3]: Entering directory '/mnt/f/openwrt/lede/tools/autoconf'
make[3]: Leaving directory '/mnt/f/openwrt/lede/tools/autoconf'
time: tools/autoconf/compile#0.03#0.60#0.85
make[3]: Entering directory '/mnt/f/openwrt/lede/tools/pkg-config'
make[3]: Leaving directory '/mnt/f/openwrt/lede/tools/pkg-config'
time: tools/pkg-config/compile#0.03#0.90#1.09
make[3]: Entering directory '/mnt/f/openwrt/lede/tools/automake'
(cd /mnt/f/openwrt/lede/build_dir/host/automake-1.15.1; AUTOM4TE=/mnt/f/openwrt/lede/staging_dir/host/bin/autom4te AUTOCONF=/mnt/f/openwrt/lede/staging_dir/host/bin/autoconf AUTOMAKE=/mnt/f/openwrt/lede/staging_dir/host/bin/automake ACLOCAL=/mnt/f/openwrt/lede/staging_dir/host/bin/aclocal AUTOHEADER=/mnt/f/openwrt/lede/staging_dir/host/bin/autoheader LIBTOOLIZE=/mnt/f/openwrt/lede/staging_dir/host/bin/libtoolize LIBTOOL=/mnt/f/openwrt/lede/staging_dir/host/bin/libtool M4=/mnt/f/openwrt/lede/staging_dir/host/bin/m4 AUTOPOINT=true STAGING_DIR="" ./bootstrap)
mv: cannot move 'bin/aclocal.tmp2' to 'bin/aclocal.tmp': Permission denied
Makefile:51: recipe for target '/mnt/f/openwrt/lede/build_dir/host/automake-1.15.1/.configured' failed
make[3]: *** [/mnt/f/openwrt/lede/build_dir/host/automake-1.15.1/.configured] Error 1
make[3]: Leaving directory '/mnt/f/openwrt/lede/tools/automake'
time: tools/automake/compile#0.06#1.17#2.26
tools/Makefile:155: recipe for target 'tools/automake/compile' failed
make[2]: *** [tools/automake/compile] Error 2
make[2]: Leaving directory '/mnt/f/openwrt/lede'
tools/Makefile:153: recipe for target '/mnt/f/openwrt/lede/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyyynyyyyyyyyyyyyyyynnyynynnyyynnyy' failed
make[1]: *** [/mnt/f/openwrt/lede/staging_dir/target-mipsel_24kc_musl/stamp/.tools_compile_yynyyyyynyyyyynyynnyyyyynyyyyyyyyyyyyyyynnyynynnyyynnyy] Error 2
make[1]: Leaving directory '/mnt/f/openwrt/lede'
/mnt/f/openwrt/lede/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2

 楼主| | 显示全部楼层
没人知道吗?
回复

使用道具 举报

回答一下,并做个备份。mark by xxp2277
碰到同样的问题,google解决了。
原因在于使用WSL文件权限问题,暂时的解决办法是在/home目录下编译(不要将源码下载到诸如/mnt/f/openwrt之类的目录中),若担心WSL默认位置C盘的空间不够,应该转移WSL目录。
    解决方案

    使用 LxRunOffline 对 WSL 目录进行转移。
    在用户主目录下进行编译。

https://p3terx.com/archives/reas ... tion-failure-4.html
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-5-11 22:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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