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
On Sat, Sep 27, 2008 at 10:20 AM, MHR <mhullrich at gmail.com> wrote:> 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:(snip)> 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?First of all, this is a known issue: https://bugzilla.redhat.com/show_bug.cgi?id=445095 Second, if you *precisely* followed the instructions on the wiki, you would not have seen this error. The most important point is that you copy *all* configs back to SOURCES. Akemi
Maybe Matching Threads
- [PATCH 10/10] Fix BusLogic to stop using check_region
- [PATCH 10/10] Fix BusLogic to stop using check_region
- Modify kickstart initrd to add Buslogic driver
- [PATCH 00/28] Updates for firstfloor paravirt-ops patches
- [PATCH 00/28] Updates for firstfloor paravirt-ops patches