找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2850|回复: 9

编译固件时出错请大神指导指导问题出在哪里?

[复制链接]
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
/home/asuswrt/release/src-ra-mt7620/linux/linux-2.6.36.x/kernel/Makefile:137: recipe for target 'kernel/timeconst.h' failed
make[5]: *** [kernel/timeconst.h] Error 255
Makefile:893: recipe for target 'kernel' failed
make[4]: *** [kernel] Error 2
make[4]: Leaving directory '/home/asuswrt/release/src-ra-mt7620/linux/linux-2.6.36.x'
Makefile:786: recipe for target 'kernel' failed
make[3]: *** [kernel] Error 2
make[3]: Leaving directory '/home/asuswrt/release/src/router'
Makefile:194: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/asuswrt/release/src-ra-mt7620'
Makefile:2484: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory '/home/asuswrt/release/src-ra-mt7620'
Makefile:2554: recipe for target 'rt-ac1200hp' failed
make: *** [rt-ac1200hp] Error 2
我的恩山、我的无线 The best wifi forum is right here.
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
timeconst.pl这文件的373行define有问题,找源文件改吧
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

楼主编译出来了吗?

点评

没有现在又遇到新问题了 make[4]: *** No rule to make target 'tcode.c', needed by 'tcode.o'。 停止。 make[4]: Leaving directory '/opt/asuswrt/release/src/router/shared' Makefile:1806: recipe for tar  详情 回复 发表于 2017-3-14 16:33
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
nobbs 发表于 2017-2-9 15:36
楼主编译出来了吗?

没有现在又遇到新问题了
make[4]: *** No rule to make target 'tcode.c', needed by 'tcode.o'。 停止。
make[4]: Leaving directory '/opt/asuswrt/release/src/router/shared'
Makefile:1806: recipe for target 'shared' failed
make[3]: *** [shared] Error 2
make[3]: Leaving directory '/opt/asuswrt/release/src/router'
Makefile:194: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/opt/asuswrt/release/src-ra-mt7620'
Makefile:2484: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory '/opt/asuswrt/release/src-ra-mt7620'
Makefile:2554: recipe for target 'rt-n14u' failed
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我也是这问题
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我也是,如何解决?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

我碰到的问题是linking file not done, 是因为我机子上编译过其它固件的原因吗还是? 我用的是32位的UBUNTU

32位机器编之前需要装哪些东西?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

楼主, 编译AC1200HP 那个export path 正确的应该怎样写? 另外软链接之类的需要吗?

点评

cd /opt/asuswrt/release/src-ra-mt7620/ export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/buildroot-gcc342/bin 你自己 要把源文件 放到/opt/下面 /opt/  详情 回复 发表于 2017-6-26 23:54
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
safehorse 发表于 2017-6-13 20:55
楼主, 编译AC1200HP 那个export path 正确的应该怎样写? 另外软链接之类的需要吗?

cd /opt/asuswrt/release/src-ra-mt7620/

export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin:/opt/buildroot-gcc342/bin

你自己 要把源文件 放到/opt/下面  /opt/asuswrt/ 而且 还要是root权限

点评

上次已经搞定, 不过还是非常感谢! 其实上次自己刚开始配置PATH是对的,看了README就OK, 不成功主要是AC1200HP的源码里有个makefile的prebuild和depend问题.  详情 回复 发表于 2017-6-27 10:44
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

touchpad 发表于 2017-6-26 23:54
cd /opt/asuswrt/release/src-ra-mt7620/

export PATH=$PATH:/opt/brcm/hndtools-mipsel-linux/bin:/o ...

上次已经搞定, 不过还是非常感谢!

其实上次自己刚开始配置PATH是对的,看了README就OK, 不成功主要是AC1200HP的源码里有个makefile的prebuild和depend问题.
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

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

GMT+8, 2024-4-28 21:34

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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