coolsnowwolf / lede

Lean's LEDE source
Other
29.87k stars 19.54k forks source link

编译失败,求指点 #4347

Closed yyan502 closed 4 years ago

yyan502 commented 4 years ago

S00417-00255407 反馈bug/问题模板,提建议请删除

1.关于你要提交的问题

Q:是否搜索了issue (使用 "x" 选择)

2. 详细叙述

(1) 具体问题

A:编译失败

(2) 路由器型号和固件版本

A:x86_64

(3) 详细日志

A:

Repobor commented 4 years ago

apt-get -y install gperf

acehong commented 4 years ago

同样问题 po2lmo ./po/zh-cn/ssr-plus.po /home/bing/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/luci-app-ssr-plus/.pkgdir/luci-app-ssr-plus/usr/lib/lua/luci/i18n/ssr-plus.zh-cn.lmo bash: po2lmo: command not found Makefile:120: recipe for target '/home/bing/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/luci-app-ssr-plus/.pkgdir/luci-app-ssr-plus.installed' failed make[3]: [/home/bing/lede/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/luci-app-ssr-plus/.pkgdir/luci-app-ssr-plus.installed] Error 127 make[3]: Leaving directory '/home/bing/lede/feeds/helloworld/luci-app-ssr-plus' time: package/feeds/helloworld/luci-app-ssr-plus/compile#0.12#0.01#0.17 package/Makefile:111: recipe for target 'package/feeds/helloworld/luci-app-ssr-plus/compile' failed make[2]: [package/feeds/helloworld/luci-app-ssr-plus/compile] Error 2 make[2]: Leaving directory '/home/bing/lede' package/Makefile:107: recipe for target '/home/bing/lede/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.package_compile' failed make[1]: [/home/bing/lede/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/bing/lede' /home/bing/lede/include/toplevel.mk:225: recipe for target 'world' failed make: [world] Error 2

lxwq commented 4 years ago

如何处理?同样失败在这个位置,网上查资料好像要改makefile文件,

jw10126121 commented 4 years ago

同样的问题,gperf也安装了的

lxwq commented 4 years ago

很奇怪,先取消$$R编译一次,第二次再选上,就通过了,不知道什么原理

yyan502 commented 4 years ago

apt-get -y install gperf

感谢,按你的指点,编译成功了

jw10126121 commented 4 years ago

安装了golang,不然会提示golang timeout。然后重新删除build_dir和st**_dir,重新编译,好像是可以了

DanielChen008 commented 4 years ago

apt-get -y install gperf

试过,依旧 recipe for target 'world' failed 晚上回去把整个目录 rm 掉重新试试

cnclg commented 4 years ago

同样的问题,gperf也安装了的

make package/feeds/luci/luci-base/compile V=99 再编译,我试了可以解决这个问题。

jw10126121 commented 4 years ago

同样的问题,gperf也安装了的

make package/feeds/luci/luci-base/compile V=99 再编译,我试了可以解决这个问题。

非常感谢,已经解决了,也知道为什么出这错了

blacknesswing commented 4 years ago

同样的问题,gperf也安装了的

make package / feeds / luci / luci-base / compile V = 99再编译,我试了可以解决这个问题。

非常感谢,已经解决了,也知道为什么出这错了

同样问题 请问怎么解决的 谢谢🙏

jw10126121 commented 4 years ago

同样的问题,gperf也安装了的

make package / feeds / luci / luci-base / compile V = 99再编译,我试了可以解决这个问题。

非常感谢,已经解决了,也知道为什么出这错了

同样问题 请问怎么解决的 谢谢🙏

上面不是写着的吗?

blizzardster commented 4 years ago

apt-get -y install gperf

make package/feeds/luci/luci-base/compile V=99

即可,完美搞定,感谢两位,

gc89925 commented 4 years ago

apt-get -y install gperf

输入make package/feeds/luci/luci-base/compile V=99后提示 WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'microsocks', which does not exist WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'tcpping', which does not exist WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'redsocks2', which does not exist

blizzardster commented 4 years ago

apt-get -y install gperf

输入make package/feeds/luci/luci-base/compile V=99后提示 WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'microsocks', which does not exist WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'tcpping', which does not exist WARNING: Makefile 'package/feeds/helloworld/luci-app-ssr-plus/Makefile' has a dependency on 'redsocks2', which does not exist

你缺少个ssr-plus

gfpyc commented 4 years ago

同样的问题,gperf也安装了的

make package/feeds/luci/luci-base/compile V=99 再编译,我试了可以解决这个问题。

3Q 同样问题 解决了