找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2112|回复: 8

用Lean源码-编译星际宝盒的固件报错,求指点。

[复制链接]
入手了两个星际宝盒,改了大分区,刷了固件,挺好玩的,但是固件都有点旧了。
无意间发现Lean大神的源码支持了这路由器,就试着编译,选了星际宝盒之后,其他全部默认,结果就是编译不出来,试过两台电脑了。
报错内容如下,每次都是跑到这里就fail了。

SHELL= flock /home/ubuntu/20200310/lede/tmp/.root-copy.flock -c 'cp -fpR /home/ubuntu/20200310/lede/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/strongswan-5.6.3/.pkgdir/strongswan-mod-xcbc/
. /home/ubuntu/20200310/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/'
touch /home/ubuntu/20200310/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/root-ipq40xx/stamp/.strongswan-mod-xcbc_installed
echo "strongswan-mod-xcbc" >> /home/ubuntu/20200310/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/strongswan.default.install
make[3]: Leaving directory '/home/ubuntu/20200310/lede/feeds/packages/net/strongswan'
time: package/feeds/packages/strongswan/compile#298.59#35.45#282.88
make[2]: Leaving directory '/home/ubuntu/20200310/lede'
package/Makefile:107: recipe for target '/home/ubuntu/20200310/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile' failed
make[1]: *** [/home/ubuntu/20200310/lede/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/ubuntu/20200310/lede'
Build failed - please re-run with -j1 to see the real error message
/home/ubuntu/20200310/lede/include/toplevel.mk:225: recipe for target 'world' failed
make: *** [world] Error 1


这个组件我不知道是和哪个选项是挂钩的,望各位大佬指点迷津。
感激!


我的恩山、我的无线 The best wifi forum is right here.
牛  刚刚刷双你的固件了,除了管理页面稍微卡外,非常好用。

点评

这个无解啊,这个CPU主频还是有点低,但是综合性能还不错。  详情 回复 发表于 2020-3-23 11:32
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
╩华夏の鹰╩ 发表于 2020-3-22 05:05
牛  刚刚刷双你的固件了,除了管理页面稍微卡外,非常好用。

这个无解啊,这个CPU主频还是有点低,但是综合性能还不错。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
问题解决了,重新部署一个干干净净的Ubuntu虚拟机,别编译其他的路由器固件,部署好马上git clone ,直接干干净净的时候编译星际宝盒的固件就可以编译出来了。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

老哥,我也开始尝试编译,能帮我看看报错吗?
compilation terminated.
make[5]: *** [/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/node-v12.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o] Error 1
tools/v8_gypfiles/v8_libbase.host.mk:152: recipe for target '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/node-v12.15.0/out/Release/obj.host/v8_libbase/deps/v8/src/base/bits.o' failed
Makefile:101: recipe for target 'node' failed
make[4]: *** [node] Error 2
make[3]: *** [/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/node-v12.15.0/.built] Error 2
make[4]: Leaving directory '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/node-v12.15.0'
make[2]: *** [package/feeds/packages/node/compile] Error 2
Makefile:150: recipe for target '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/node-v12.15.0/.built' failed
make[3]: Leaving directory '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/feeds/packages/lang/node'
time: package/feeds/packages/node/compile#0.34#0.13#0.47
package/Makefile:111: recipe for target 'package/feeds/packages/node/compile' failed
make[1]: *** [/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile] Error 2
make[2]: Leaving directory '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt'
package/Makefile:107: recipe for target '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/stamp/.package_compile' failed
make[1]: Leaving directory '/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt'
make: *** [world] Error 2
/home/runner/work/Actions-OpenWrt/Actions-OpenWrt/openwrt/include/toplevel.mk:225: recipe for target 'world' failed
##[error]Process completed with exit code 2.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
报错和我当时遇到的一样,重新弄个虚拟机。建议Ubuntu18.04

点评

你发的4.10固件不错啊,能否把.config配置文件发给我学习下,我想放到github action上编译。昨天编了一个,除了酸酸R plus没出来,其他都正常了。  详情 回复 发表于 2020-5-12 02:45
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

来自手机 | 显示全部楼层
本帖最后由 ccbcfan 于 2020-5-12 13:21 编辑
leeanky 发表于 2020-5-11 15:41
报错和我当时遇到的一样,重新弄个虚拟机。建议Ubuntu18.04

你发的4.10固件不错啊,能否把.config配置文件发给我学习下,我想放到github action上编译。昨天编了一个,酸酸R plus总是编译不出来,其他都正常。

点评

我的config基本上就是默认,加几个内外穿透插件,没什么特别。建议先默认编译出来再慢慢加插件。  详情 回复 发表于 2020-5-14 14:23
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
ccbcfan 发表于 2020-5-12 02:45
你发的4.10固件不错啊,能否把.config配置文件发给我学习下,我想放到github action上编译。昨天编了一个 ...

我的config基本上就是默认,加几个内外穿透插件,没什么特别。建议先默认编译出来再慢慢加插件。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
ubuntu 20.04好像更好编译,不知道为什么。我现在都用20.04了
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-28 06:56

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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