Bug 453281 - kernel fails to build if the BusLogic module is enabled
kernel fails to build if the BusLogic module is enabled
Status: CLOSED DUPLICATE of bug 445095
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
5.2
All Linux
low Severity low
: rc
: ---
Assigned To: Red Hat Kernel Manager
Martin Jenner
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-28 16:47 EDT by Akemi Yagi
Modified: 2008-07-24 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-30 08:28:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Akemi Yagi 2008-06-28 16:47:16 EDT
Description of problem: In the kernel shipped with CentOS 5.2, if BusLogic is
enabled ( CONFIG_SCSI_BUSLOGIC=m ),it generates these errors during kernel
compilation:

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

This is because drivers/scsi/BusLogic.h contains:

typedef enum {
        false,
        true
} PACKED boolean;

and include/linux/stddef.h in the -92 kernel (but not in -53 or earlier) has:

enum {
        false = 0,
        true = 1
};

As a result, building the -92 kernel fails. 

Version-Release number of selected component (if applicable): kernel-2.6.18-92


How reproducible: Always


Steps to Reproduce:
1. Enable BusLogic in kernel config ( CONFIG_SCSI_BUSLOGIC=m )
2. Build the kernel
3.
  
Actual results: Compilation fails


Expected results:Compilation completes


Additional info: also filed with bugs.centos.org
Comment 1 Prarit Bhargava 2008-06-30 08:28:28 EDT

*** This bug has been marked as a duplicate of 445095 ***

Note You need to log in before you can comment on or make changes to this bug.