天嵌 ARM开发社区

 找回密码
 注册
查看: 3091|回复: 7

4.3.3不能编译内核2.6.30.4

[复制链接]
Dehone 发表于 2010-3-19 15:03:08 | 显示全部楼层 |阅读模式
按照TQ2440linux移植手册V4.2做,到 make zlmage 时 错误信息如下:
  No rule to make target 'zlmage' . stop

这是什么原因呢?是不是交叉编译环境没有搭建好?

请大家帮帮我,在此先表示感谢!
亚瑟王 发表于 2010-3-19 17:28:13 | 显示全部楼层
你做到第几步时使用的make zImage?
出现那个错误的原因是没有.config文件,而.config文件的建立在Step5讲解了的。
 楼主| Dehone 发表于 2010-3-29 22:53:25 | 显示全部楼层
今天我又按照Linux 视频教程里做的,也是make zlmage 出错
[root@localhost linux-2.6.30.4]# make zlmage
scripts/kconfig/conf -s arch/arm/Kconfig
make: *** No rule to make target `zlmage'.  Stop.

按照TQ2440linux移植手册V4.2做,Linux-2.6.30.4源码是不是不能用天嵌科技移植好的源码?
是不是要下载公版的源码?
请亚老师多多指导,我是新手,刚买的开发板,非常感谢您能回复我的提问
bluekeys 发表于 2010-3-29 23:28:03 | 显示全部楼层
我也是这里出了错 不过问题和你不一样
[root@Embedsky linux-2.6.30.4]# make zImage
  CHK     include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-arm
  CALL    scripts/checksyscalls.sh
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  CC      scripts/mod/empty.o
as: unrecognized option '-EL'
make[2]: *** [scripts/mod/empty.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2
bluekeys 发表于 2010-3-29 23:30:08 | 显示全部楼层
你的zImage好像写成zlmage了 注意l和I的区别
亚瑟王 发表于 2010-3-30 11:52:05 | 显示全部楼层
5楼的真细心,3楼的问题就是5楼说的I写成了1。
4楼的问题好像是配置单引起的,你告诉一下编译内核时你的操作步骤。
bluekeys 发表于 2010-3-30 17:26:56 | 显示全部楼层
四楼五楼都是我啊 呵呵 问题已经解决了 是文件解压过程中出现了问题
亚瑟王 发表于 2010-3-31 12:12:53 | 显示全部楼层
我知道4、5楼是你的。解压出问题了?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-10-6 14:37 , Processed in 1.021523 second(s), 18 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

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