找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4754|回复: 10

求助大神 编译OPENWRT固件出错!!!!

[复制链接]
发表于 2016-12-28 01:52 | 显示全部楼层 |阅读模式
make[3]: Entering directory '/home/liuxichi/981213/openwrt/feeds/luci/modules/luci-base'
. /home/liuxichi/981213/openwrt/include/shell.sh; bzcat /home/liuxichi/981213/openwrt/dl/LuaSrcDiet-0.12.1.tar.bz2 | tar -C /home/liuxichi/981213/openwrt/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1/.. -xf -
touch /home/liuxichi/981213/openwrt/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1/.prepared636cfcff0cbb75d7c33c2851a98fd9af
touch /home/liuxichi/981213/openwrt/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1/.configured
make -C src/ clean po2lmo
make[4]: Entering directory '/home/liuxichi/981213/openwrt/feeds/luci/modules/luci-base/src'
rm -f po2lmo parser.so version.lua *.o
cc    -c -o po2lmo.o po2lmo.c
cc    -c -o template_lmo.o template_lmo.c
cc  -o po2lmo po2lmo.o template_lmo.o
make[4]: Leaving directory '/home/liuxichi/981213/openwrt/feeds/luci/modules/luci-base/src'
make -C /home/liuxichi/981213/openwrt/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1 bin/LuaSrcDiet.lua
make[4]: Entering directory '/home/liuxichi/981213/openwrt/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1'
make[4]: 'bin/LuaSrcDiet.lua' is up to date.
make[4]: Leaving directory '/home/liuxichi/981213/openwrt/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1'
touch /home/liuxichi/981213/openwrt/build_dir/target-mips_34kc_musl-1.1.14/host/LuaSrcDiet-0.12.1/.built
install -d -m0755 /bin
install -m0755 src/po2lmo /bin/po2lmo
install: cannot create regular file '/bin/po2lmo': Permission denied
Makefile:46: recipe for target '/home/liuxichi/981213/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/host/stamp/.luci-base_installed' failed
make[3]: *** [/home/liuxichi/981213/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/host/stamp/.luci-base_installed] Error 1
make[3]: Leaving directory '/home/liuxichi/981213/openwrt/feeds/luci/modules/luci-base'
package/Makefile:196: recipe for target 'package/feeds/luci/luci-base/host/compile' failed
make[2]: *** [package/feeds/luci/luci-base/host/compile] Error 2
make[2]: Leaving directory '/home/liuxichi/981213/openwrt'
package/Makefile:193: recipe for target '/home/liuxichi/981213/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.package_compile' failed
make[1]: *** [/home/liuxichi/981213/openwrt/staging_dir/target-mips_34kc_musl-1.1.14/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/liuxichi/981213/openwrt'
/home/liuxichi/981213/openwrt/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 2

我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2016-12-28 03:23 来自手机 | 显示全部楼层
小白第一次做,希望大神帮帮 为感!
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2016-12-28 14:07 | 显示全部楼层
这是哪里错了啊 ?? 单机了? 求解 以爬墙
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-4-24 18:22 | 显示全部楼层
111111111111111111
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-4-24 18:34 | 显示全部楼层
怀疑是权限问题。install: cannot create regular file '/bin/po2lmo': Permission denied

如果信任代码的话,试试root编译一下。

我也不太懂。但上面这句就是权限问题。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-4-24 21:05 | 显示全部楼层
解决方案见 https://github.com/openwrt/openw ... bb0e6e386f4fa93bcf5
引起这个的原因是他把一个工具复制到系统可执行文件目录了。然后他又没权限执行
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-4-26 17:44 | 显示全部楼层
行了 现在 确实需要设置777权限 还有就是编译要墙,现在就是不会要把需要的功能集成进固件
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-9-17 17:55 | 显示全部楼层
make V=99 前加sudo

点评

尝试了无数次都是失败, 然后、百度一圈也不知所云 换了条命令 sudo make V=99 就好了,/吐血  详情 回复 发表于 2018-2-6 22:44
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2017-9-17 22:07 | 显示全部楼层
楼上全是瞎说,只是一个文件没执行权限而已

点评

你回来挖坑啊? 早不出现。。。。。。 确实是墙的原因  详情 回复 发表于 2017-9-18 23:53
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2017-9-18 23:53 | 显示全部楼层
血洗刀锋 发表于 2017-9-17 22:07
楼上全是瞎说,只是一个文件没执行权限而已

你回来挖坑啊? 早不出现。。。。。。 确实是墙的原因
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2018-2-6 22:44 | 显示全部楼层
anban 发表于 2017-9-17 17:55
make V=99 前加sudo



尝试了无数次都是失败,

然后、百度一圈也不知所云

换了条命令 sudo make V=99 就好了,/吐血
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-19 16:42

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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