[CentOS] Build fails on new kernel source

MHR mhullrich at gmail.com
Sat Sep 27 17:20:25 UTC 2008


On my x86_64, I pulled down the source for the 2.6.18-92.1.13 kernel
and followed the wiki faithfully, but it will not build.  I'm getting
errors in the Buslogic driver:

In file included from drivers/scsi/BusLogic.c:56:
drivers/scsi/BusLogic.h:241: error: redeclaration of enumerator 'false'
include/linux/stddef.h:16: error: previous definition of 'false' was here
drivers/scsi/BusLogic.h:243: error: redeclaration of enumerator 'true'
include/linux/stddef.h:18: error: previous definition of 'true' was here
drivers/scsi/BusLogic.c: In function 'BusLogic_InitializeProbeInfoListISA':
drivers/scsi/BusLogic.c:584: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:586: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:588: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:590: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:592: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:594: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c: In function 'BusLogic_InitializeMultiMasterProbeInfo':
drivers/scsi/BusLogic.c:800: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:810: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:812: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:814: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:816: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c:818: warning: 'check_region' is deprecated
(declared at include/linux/ioport.h:134)
drivers/scsi/BusLogic.c: In function 'BusLogic_init':
drivers/scsi/BusLogic.c:2301: warning: ignoring return value of
'scsi_add_host', declared with attribute warn_unused_result
make[2]: *** [drivers/scsi/BusLogic.o] Error 1
make[1]: *** [drivers/scsi] Error 2
make: *** [drivers] Error 2
make: *** Waiting for unfinished jobs....

It seems like a simple enough error to correct, but it seems kind of
odd that it would occur in the first place - redefinitions of "true"
and "false"?

Is anyone else seeing this?

Thanks.

mhr


More information about the CentOS mailing list