找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3743|回复: 7

X86编译失败,搜了一圈也没找到解决办法,来个大佬指导下吧

[复制链接]
发表于 2019-9-5 00:42 | 显示全部楼层 |阅读模式
好像是缺少compat.o
我在目录里看确实没这个文件、怎么搞啊?

# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
make[9]: *** No rule to make target `/home/c/lede/build_dir/target-x86_64_musl/linux-x86_64/backports-4.19.32-1/compat/main.o', needed by `/home/c/lede/build_dir/target-x86_64_musl/linux-x86_64/backports-4.19.32-1/compat/compat.o'.  Stop.
make[8]: *** [/home/c/lede/build_dir/target-x86_64_musl/linux-x86_64/backports-4.19.32-1/compat] Error 2
make[7]: *** [_module_/home/c/lede/build_dir/target-x86_64_musl/linux-x86_64/backports-4.19.32-1] Error 2
make[6]: *** [modules] Error 2
make[5]: *** [modules] Error 2
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/home/c/lede/build_dir/target-x86_64_musl/linux-x86_64/backports-4.19.32-1'
make[3]: *** [/home/c/lede/build_dir/target-x86_64_musl/linux-x86_64/backports-4.19.32-1/.built] Error 2
make[3]: Leaving directory `/home/c/lede/package/kernel/mac80211'
time: package/kernel/mac80211/compile#2.83#1.33#5.71
make[2]: *** [package/kernel/mac80211/compile] Error 2
make[2]: Leaving directory `/home/c/lede'
make[1]: *** [/home/c/lede/staging_dir/target-x86_64_musl/stamp/.package_compile] Error 2
make[1]: Leaving directory `/home/c/lede'make: *** [world] 错误 2




我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-9-5 02:14 | 显示全部楼层
梯子问题

点评

我都没用梯子,之前编译硬路由固件都没问题....  详情 回复 发表于 2019-9-5 12:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-9-5 11:45 | 显示全部楼层
make clean之后连好网重新来

点评

清理过一次了,还是这样,而且单线程跑的,一定要梯子吗?之前没用梯子编译硬路由固件就没问题...  详情 回复 发表于 2019-9-5 12:38
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-9-5 12:38 | 显示全部楼层

我都没用梯子,之前编译硬路由固件都没问题....
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2019-9-5 12:38 | 显示全部楼层
wulishui 发表于 2019-9-5 11:45
make clean之后连好网重新来

清理过一次了,还是这样,而且单线程跑的,一定要梯子吗?之前没用梯子编译硬路由固件就没问题...
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-9-7 22:23 来自手机 | 显示全部楼层
解决不了你的问题,你的代码哪里来的,现在官方都到4.19.69内核了,你的还4.19.32,太旧了。不需要梯子的,把kernel,gcc和linux firmware这种大头从清华或者中科大这类高校大镜像拖下来放到dl目录。其它都是碎料,可能会慢,但不需要扶墙。再不行,https://sources.openwrt.org上全都有。担心中间下载失败,耽误无人值守编译,可以make menuconfig以后make download把需要的软件包全下载下来,中间哪个出错就去sources挖哪个。弄好了以后再make,让机器自己跑。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2019-9-8 11:40 | 显示全部楼层
我的经验就是架好梯子,失败了再重新跑,基本上都是下载资源的问题.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2020-10-27 16:12 | 显示全部楼层
解决了吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 08:56

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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