免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1538 | 回复: 0
打印 上一主题 下一主题

编译内核的错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-20 09:36 |只看该作者 |倒序浏览
我在EM64T机子上装了一个RHEL3U7 EM64T的linux系统,装完后想重新编译一下内核,在生成模块的时候出现了如下错误,

我用make modules命令编译生成模块,错误如下,望各位指教,由于是第一次编译内核,不知道如何去分析这个问题:

  1. gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-40.EL/include -Wall -Wstrict-prototypes
  2. -common  -Wno-unused -fomit-frame-pointer -mno-red-zone -mcmodel=kernel -pipe -f
  3. rength-reduce -fno-asynchronous-unwind-tables -DMODULE -DMODVERSIONS -include /u
  4. rsions.h -I/usr/src/linux-2.4.21-40.EL/drivers/scsi -Werror -nostdinc -iwithpref
  5. -o aic7xxx_osm.o aic7xxx_osm.c
  6. In file included from /usr/src/linux-2.4.21-40.EL/include/linux/blkdev.h:5,
  7.                  from /usr/src/linux-2.4.21-40.EL/include/linux/blk.h:4,
  8.                  from aic7xxx_osm.h:63,
  9.                  from aic7xxx_osm.c:122:
  10. /usr/src/linux-2.4.21-40.EL/include/linux/sched.h:213:1: "CONFIG_SHARE_RUNQUEUE"
  11. In file included from /usr/src/linux-2.4.21-40.EL/include/linux/config.h:4,
  12.                  from /usr/src/linux-2.4.21-40.EL/include/linux/types.h:5,
  13.                  from aic7xxx_osm.h:62,
  14.                  from aic7xxx_osm.c:122:
  15. /usr/src/linux-2.4.21-40.EL/include/linux/autoconf.h:53:1: this is the location
  16. [color=Red][b]make[3]: *** [aic7xxx_osm.o] Error 1
  17. make[3]: Leaving directory `/usr/src/linux-2.4.21-40.EL/drivers/scsi/aic7xxx'
  18. make[2]: *** [_modsubdir_aic7xxx] Error 2
  19. make[2]: Leaving directory `/usr/src/linux-2.4.21-40.EL/drivers/scsi'
  20. make[1]: *** [_modsubdir_scsi] Error 2
  21. make[1]: Leaving directory `/usr/src/linux-2.4.21-40.EL/drivers'
  22. make: *** [_mod_drivers] Error 2
  23. [root@RHEL3U7 linux-2.4.21-40.EL]# cd drivers/
复制代码
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP