LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 444|回复: 1

编译2.6.6内核SCSI出错

[复制链接]
发表于 2004-6-15 08:55:31 | 显示全部楼层 |阅读模式
2.6.6 make时报错如下:

  1.   LD      init/built-in.o
  2.   LD      .tmp_vmlinux1
  3. drivers/built-in.o(.text+0x3b129): In function `cciss_scsi_add_entry':
  4. : undefined reference to `scsi_device_types'
  5. drivers/built-in.o(.text+0x3b25d): In function `cciss_scsi_remove_entry':
  6. : undefined reference to `scsi_device_types'
  7. drivers/built-in.o(.text+0x3b4cc): In function `adjust_cciss_scsi_table':
  8. : undefined reference to `scsi_device_types'
  9. drivers/built-in.o(.text+0x3b92f): In function `cciss_scsi_detect':
  10. : undefined reference to `scsi_host_alloc'
  11. drivers/built-in.o(.text+0x3b98e): In function `cciss_scsi_detect':
  12. : undefined reference to `scsi_add_host'
  13. drivers/built-in.o(.text+0x3b996): In function `cciss_scsi_detect':
  14. : undefined reference to `scsi_scan_host'
  15. drivers/built-in.o(.text+0x3c0f0): In function `cciss_update_non_disk_devices':
  16. : undefined reference to `scsi_device_types'
  17. drivers/built-in.o(.text+0x3c762): In function `cciss_unregister_scsi':
  18. : undefined reference to `scsi_remove_host'
  19. drivers/built-in.o(.text+0x3c76c): In function `cciss_unregister_scsi':
  20. : undefined reference to `scsi_host_put'
  21. make: *** [.tmp_vmlinux1] Error 1
复制代码

  1. [root@testp boot]# lspci
  2. 00:00.0 Host bridge: ServerWorks CNB20LE Host Bridge (rev 05)
  3. 00:00.1 Host bridge: ServerWorks CNB20LE Host Bridge (rev 05)
  4. 00:01.0 VGA compatible controller: S3 Inc. Savage 4 (rev 04)
  5. 00:02.0 Ethernet controller: Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
  6. (rev 44)
  7. 00:09.0 Ethernet controller: VIA Technologies, Inc. VT6105 [Rhine-III] (rev 86)
  8. 00:0a.0 SCSI storage controller: IBM SCSI RAID Adapter [ServeRAID] (rev 0d)
  9. 00:0f.0 ISA bridge: ServerWorks OSB4 South Bridge (rev 4f)
  10. 00:0f.1 IDE interface: ServerWorks OSB4 IDE Controller
  11. 00:0f.2 USB Controller: ServerWorks OSB4/CSB5 OHCI USB Controller (rev 04)
  12. 01:03.0 SCSI storage controller: Adaptec AIC-7899P U160/m (rev 01)
  13. 01:03.1 SCSI storage controller: Adaptec AIC-7899P U160/m (rev 01)
复制代码


不知道哪里的scsi有问题
发表于 2004-6-15 11:20:09 | 显示全部楼层
把scsi得模块编译到内核里。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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