QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1918|回复: 1

编译内核中发现问题

[复制链接]
发表于 2003-6-27 11:15:25 | 显示全部楼层 |阅读模式
/usr/src/linux-2.4.19/include/asm/param.h:13:45: asm/arch/param.h:  
/usr/src/linux-2.4.19/include/asm/param.h:14:57: asm/proc/page.h:  
/usr/src/linux-2.4.19/include/asm/ptrace.h:14:29: asm/proc/ptrace.h:  
/usr/src/linux-2.4.19/include/asm/atomic.h:30:29: asm/proc/system.h:
/usr/src/linux-2.4.19/include/asm/processor.h:45:29: asm/arch/memory.h:
/usr/src/linux-2.4.19/include/asm/processor.h:46:32: asm/proc/processor.h:
/usr/src/linux-2.4.19/include/asm/page.h:4:27: asm/proc/page.h:
/usr/src/linux-2.4.19/include/asm/memory.h:16:29: asm/arch/memory.h:
/usr/src/linux-2.4.19/include/asm/semaphore.h:13:28: asm/proc/locks.h:
/usr/src/linux-2.4.19/include/asm/timex.h:15:28: asm/arch/timex.h:
以上都是在编译时,提示没有这些文件和目录
最后的消息如下了
/usr/src/linux-2.4.19/include/linux/sched.h: At top level:
/usr/src/linux-2.4.19/include/linux/sched.h:395: field `thread' has incomplete type
/usr/src/linux-2.4.19/include/linux/sched.h:543: confused by earlier errors, bailing out
make: *** [init/main.o] Error 1
我已经装了PATCH-2.4.19-RMK7.GZ,可疑进入内核编译环境,但最后bzImage就出现上面的问题,很头疼!!!望各位帮忙,谢谢
发表于 2003-6-27 21:04:10 | 显示全部楼层
check u include dir. u do have an asm link as asm -> asm-arm? if not, do u do menuconfig...


which board u use? which patch u install?
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-21 18:58 , Processed in 0.059864 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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