设为首页收藏本站

简体中文 繁體中文 English 日本語 Deutsch 한국 사람 بالعربية TÜRKÇE português คนไทย

 找回密码
 立即注册
img_loading
智能检测中

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888广告投放联系QQ68610888
查看: 6412|回复: 4

(已解决)openwrt编译出错,大神们帮看看

[复制链接]
发表于 2016-5-6 14:21 | 显示全部楼层 |阅读模式
本帖最后由 无线无极限 于 2016-5-6 16:37 编辑

准备编译个k1的固件,出现了以下错误,大家帮看看:

make[4]: Entering directory '/openwrt/build_dir/host/cmake-3.5.1'
make[4]: *** No targets.  Stop.
make[4]: Leaving directory '/openwrt/build_dir/host/cmake-3.5.1'
Makefile:28: recipe for target '/openwrt/build_dir/host/cmake-3.5.1/.built' failed
make[3]: *** [/openwrt/build_dir/host/cmake-3.5.1/.built] Error 2
make[3]: Leaving directory '/openwrt/tools/cmake'
tools/Makefile:134: recipe for target 'tools/cmake/compile' failed
make[2]: *** [tools/cmake/compile] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/openwrt/tools/scons'
make[2]: Leaving directory '/openwrt'
tools/Makefile:133: recipe for target '/openwrt/staging_dir/target-mipsel_24kec+dsp_musl-1.1.14/stamp/.tools_install_yynyynynynyyyyyyynyyynyyyyyyyyynyyyyynnyynynnyyynnnyy' failed
make[1]: *** [/openwrt/staging_dir/target-mipsel_24kec+dsp_musl-1.1.14/stamp/.tools_install_yynyynynynyyyyyyynyyynyyyyyyyyynyyyyynnyynynnyyynnnyy] Error 2
make[1]: Leaving directory '/openwrt'
Build failed - please re-run with -j1 to see the real error message
/openwrt/include/toplevel.mk:192: recipe for target 'world' failed
make: *** [world] Error 1




只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
发表于 2016-5-6 15:24 | 显示全部楼层
你是不是多线程编译的?
Build failed - please re-run with -j1 to see the real error message

改成单线程编译,再看看结果

点评

改了单线程,调试还是出错。折腾中。。  详情 回复 发表于 2016-5-6 15:31
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-5-6 15:31 | 显示全部楼层
司徒玟琅 发表于 2016-5-6 15:24
你是不是多线程编译的?

改成单线程编译,再看看结果

改了单线程,调试还是出错。折腾中。。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

发表于 2016-5-6 15:44 | 显示全部楼层
建议lz直接折腾mtk-openwrt或者padavan固件,官方的无线驱动真的非常不稳定。
只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2016-5-6 16:36 | 显示全部楼层
输入命令:
usrA@usrA-VirtualBox:/openwrt$ git pull
更新 e737bc7..1ec90b5
error: Your local changes to the following files would be overwritten by merge:
        include/kernel-version.mk
        package/usrAbs/openssl/Makefile
        target/usrAnux/bcm53xx/patches-4.1/191-usb-xhci-add-Broadcom-specific-fake-doorbell.patch
        target/usrAnux/generic/patches-4.1/040-fs-overlay-fix-stacking.patch
        target/usrAnux/generic/patches-4.1/111-jffs2-add-RENAME_EXCHANGE-support.patch
        target/usrAnux/generic/patches-4.1/204-module_strip.patch
        target/usrAnux/generic/patches-4.1/300-mips_expose_boot_raw.patch
        target/usrAnux/generic/patches-4.1/304-mips_disable_fpu.patch
        target/usrAnux/generic/patches-4.1/903-debloat_direct_io.patch
Please, commit your changes or stash them before you can merge.
Aborting
代码冲突,覆盖下:
usrA@usrA-VirtualBox:/openwrt$ git reset --hard
HEAD 现在位于 e737bc7 ramips: Drop hacky switch workaround for failsafe on rt3x5x and rt5350.
usrA@usrA-VirtualBox:/openwrt$ git pull
更新 e737bc7..1ec90b5
Fast-forward
include/kernel-version.mk                                   |  4 ++--
package/usrAbs/openssl/Makefile                               |  4 ++--
.../191-usb-xhci-add-Broadcom-specific-fake-doorbell.patch  | 10 +++++-----
.../generic/patches-4.1/040-fs-overlay-fix-stacking.patch   |  2 +-
.../patches-4.1/111-jffs2-add-RENAME_EXCHANGE-support.patch |  2 +-
target/usrAnux/generic/patches-4.1/204-module_strip.patch     |  4 ++--
.../generic/patches-4.1/300-mips_expose_boot_raw.patch      |  2 +-
target/usrAnux/generic/patches-4.1/304-mips_disable_fpu.patch |  2 +-
.../usrAnux/generic/patches-4.1/903-debloat_direct_io.patch   |  4 ++--
9 files changed, 17 insertions(+), 17 deletions(-)
usrA@usrA-VirtualBox:/openwrt$ ./scripts/feeds update -a
usrA@usrA-VirtualBox:/openwrt$ ./scripts/feeds install -a


再次编译,不再报错。








只谈技术、莫论政事!(点击见详情) | 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。
回复 支持 反对

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛

只谈技术、莫论政事!切勿转播谣言!为了你也为了他人。
只谈技术、莫论政事!(点击见详情) 切记不要随意传播谣言,把自己的日子过安稳了就行,为了自己好也为了大家好。 恩山无线论坛欢迎您的来访,请互相尊重、友善交流,建议保持一颗平常心看待网友的评论,切勿过度反应。

查看 »

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

GMT+8, 2025-6-24 11:19

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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

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