Compiling 2.6.23: implicit declaration of function ‘scsi_device_cancel’
This is the end message that I get after 'make modules'
drivers/scsi/rr174x/os_linux.c: In function ‘os_sd_changed’: drivers/scsi/rr174x/os_linux.c:315: error: implicit declaration of function ‘scsi_device_cancel’ make[3]: *** [drivers/scsi/rr174x/os_linux.o] Error 1 make[2]: *** [drivers/scsi/rr174x] Error 2 make[1]: *** [drivers/scsi] Error 2 make: *** [drivers] Error 2 and this is an excerpt from my config file edhe@hebrews:~$ less /usr/local/linux-2.6.23/.config | grep DRIVER # CONFIG_DEBUG_DRIVER is not set # CONFIG_MACINTOSH_DRIVERS is not set CONFIG_WAN_ROUTER_DRIVERS=m CONFIG_ATM_DRIVERS=y CONFIG_RAW_DRIVER=m CONFIG_VIDEO_CAPTURE_DRIVERS=y CONFIG_V4L_USB_DRIVERS=y CONFIG_DVB_CAPTURE_DRIVERS=y edhe@hebrews:~$ less /usr/local/linux-2.6.23/.config | grep SCSI CONFIG_CISS_SCSI_TAPE=y # CONFIG_BLK_DEV_IDESCSI is not set # SCSI device support CONFIG_SCSI=y CONFIG_SCSI_DMA=y CONFIG_SCSI_TGT=m CONFIG_SCSI_NETLINK=y CONFIG_SCSI_PROC_FS=y # SCSI support type (disk, tape, CD-ROM) # Some SCSI devices (e.g. CD jukebox) support multiple LUNs CONFIG_SCSI_MULTI_LUN=y CONFIG_SCSI_CONSTANTS=y CONFIG_SCSI_LOGGING=y # CONFIG_SCSI_SCAN_ASYNC is not set CONFIG_SCSI_WAIT_SCAN=m # SCSI Transports CONFIG_SCSI_SPI_ATTRS=m CONFIG_SCSI_FC_ATTRS=m CONFIG_SCSI_ISCSI_ATTRS=m CONFIG_SCSI_SAS_ATTRS=m # CONFIG_SCSI_SAS_LIBSAS is not set CONFIG_SCSI_LOWLEVEL=y CONFIG_SCSI_RR174X=m # CONFIG_ISCSI_TCP is not set # CONFIG_SCSI_3W_9XXX is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AACRAID is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_AIC79XX is not set # CONFIG_SCSI_AIC94XX is not set # CONFIG_SCSI_ARCMSR is not set # CONFIG_SCSI_HPTIOP is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_DMX3191D is not set CONFIG_SCSI_EATA=m # CONFIG_SCSI_EATA_TAGGED_QUEUE is not set # CONFIG_SCSI_EATA_LINKED_COMMANDS is not set CONFIG_SCSI_EATA_MAX_TAGS=16 # CONFIG_SCSI_FUTURE_DOMAIN is not set # CONFIG_SCSI_GDTH is not set # CONFIG_SCSI_IPS is not set # CONFIG_SCSI_INITIO is not set # CONFIG_SCSI_INIA100 is not set # CONFIG_SCSI_PPA is not set # CONFIG_SCSI_IMM is not set # CONFIG_SCSI_STEX is not set # CONFIG_SCSI_SYM53C8XX_2 is not set # CONFIG_SCSI_QLOGIC_1280 is not set # CONFIG_SCSI_QLA_FC is not set # CONFIG_SCSI_QLA_ISCSI is not set # CONFIG_SCSI_LPFC is not set # CONFIG_SCSI_DC395x is not set CONFIG_SCSI_DC390T=m # CONFIG_SCSI_DEBUG is not set # CONFIG_SCSI_SRP is not set CONFIG_I2O_SCSI=m # NOTE: USB_STORAGE enables SCSI, and 'SCSI disk support' |
If you do not need the RR174X module then set it to =n in your config and the error will go away plus why are you doing the compilation without the make-kpkg program it is an easy way to get a .deb file that you can install with dpkg -i linux-image-??????.deb.
|
I will look into the make-kpkg. Thank You. I however do need the RR174X module - this being the reason why I am working with the 2.6.23 kernel. My present kernel, 2.6.18, doesn't recognize the High Point RocketRaid Controller.
|
That sucks then its always the one you need that does not compile. BTW where are you getting that option for it from have you patched your kernel?? Because looking at my .config for a 64bit kernel it does not appear anywhere in it but looking at the section in menuconfig I see the CONFIG_SCSI_HPTIOP is for the Rocket Raid 3xxx series perhaps it may be worth looking at if you have similar. Other than this I would suggest email the author of the module his/her email should be in the comments of the module source file.
# CONFIG_SCSI_ISCSI_ATTRS is not set # CONFIG_SCSI_SAS_LIBSAS is not set CONFIG_SCSI_LOWLEVEL=y # CONFIG_ISCSI_TCP is not set # CONFIG_BLK_DEV_3W_XXXX_RAID is not set # CONFIG_SCSI_3W_9XXX is not set # CONFIG_SCSI_ACARD is not set # CONFIG_SCSI_AACRAID is not set # CONFIG_SCSI_AIC7XXX is not set # CONFIG_SCSI_AIC7XXX_OLD is not set # CONFIG_SCSI_AIC79XX is not set # CONFIG_SCSI_AIC94XX is not set # CONFIG_SCSI_ARCMSR is not set # CONFIG_MEGARAID_NEWGEN is not set # CONFIG_MEGARAID_LEGACY is not set # CONFIG_MEGARAID_SAS is not set # CONFIG_SCSI_HPTIOP is not set # CONFIG_SCSI_BUSLOGIC is not set # CONFIG_SCSI_DMX3191D is not set Edit: The proper name for the make-kpkg program for installation if you want it is the kernel-package package. |
Quote:
Anyway, it seems you must use a kernel with a version less than 2.6.23 (unless you want to do more patching). The mentioned function has been removed from 2.6.22 to 2.6.23. Solution:
|
All times are GMT -5. The time now is 03:37 PM. |