主题 : 关于make 时的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 20871
精华: 0
发帖: 29
金钱: 145 两
威望: 29 点
综合积分: 58 分
注册时间: 2010-05-08
最后登录: 2010-12-26
楼主  发表于: 2010-05-12 11:07

 关于make 时的问题

编译错误 make **no rule make targe zlmage  是我缺少了什么设置吗 ?请大侠们 关注啊
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
1楼  发表于: 2010-05-12 12:47
想让别人关注你的问题,起码先告诉大家你做了什么,怎么做的
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 20871
精华: 0
发帖: 29
金钱: 145 两
威望: 29 点
综合积分: 58 分
注册时间: 2010-05-08
最后登录: 2010-12-26
2楼  发表于: 2010-05-12 13:49
我做的很简单,就是按照mini2440用户手册 上说的 第一次编译内核时  先要把
“执行以下命令来使用缺省配置文件 config_t35 ,#cp config_mini2440_t35 .config 然后执行“make menuconfig” ,出现配置内核界面。这时不用做任何更改,在主菜单里选择<Exit>退出,这样做是为了生成相应配置的头文件。
输入以下命令,开始编译内核:
#make zImage ”
就在这后面出现了  上面说的错误啊  谢谢
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
3楼  发表于: 2010-05-12 13:56

 回 2楼(aass123474) 的帖子

如果真的像你说的那样,那恐怕就是你的内核源代码树已经损坏了,重新解压一遍吧。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 20871
精华: 0
发帖: 29
金钱: 145 两
威望: 29 点
综合积分: 58 分
注册时间: 2010-05-08
最后登录: 2010-12-26
4楼  发表于: 2010-05-12 13:58
我还将 我的交叉编译 环境路径复制到了内核的makefile 的cross-  complie =/usr/local/arm/4.3.2/bin/arm-iinux-
级别: 新手上路
UID: 20871
精华: 0
发帖: 29
金钱: 145 两
威望: 29 点
综合积分: 58 分
注册时间: 2010-05-08
最后登录: 2010-12-26
5楼  发表于: 2010-05-12 13:59
这一步做的 对吧  我看其他的教程有这个修改
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
6楼  发表于: 2010-05-12 15:19

 回 5楼(aass123474) 的帖子

抱歉,我看不到你修改过的东西,没办法判断
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 20871
精华: 0
发帖: 29
金钱: 145 两
威望: 29 点
综合积分: 58 分
注册时间: 2010-05-08
最后登录: 2010-12-26
7楼  发表于: 2010-05-12 15:58
问题解决了 是 zImage中的  I   没有大写
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
8楼  发表于: 2010-05-12 16:04

 回 7楼(aass123474) 的帖子

把你的帖子改个标题,“make **no rule make targe zimage”,这样也许对别人还有用一些
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."