Bug 3363

Summary: Error compiling DBI
Product: [Retired] Red Hat Linux Reporter: carlierd
Component: perlAssignee: Crutcher Dunnavant <crutcher>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-02 22:21:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description carlierd 1999-06-09 15:45:14 UTC
DBI 1.02 no longer compiles with perl as shipped with RedHat
6.0 (it did with RedHat 5.2).
gcc rightly complains about the semun union being defined
twice: once in /usr/src/linux/include/linux/sem.h and once
in /usr/lib/perl5/5.00503/i386-linux/CORE/perl.h

As a work around removing the comments around the definition
of HAS_UNION_SEMUN in
/usr/lib/perl5/5.00503/i386-linux/CORE/config.h at line
1710 fixes the problem.

Comment 1 Jay Turner 1999-06-29 14:57:59 UTC
This issue has been forwarded to a developer for further action.

Comment 2 Cristian Gafton 1999-07-02 22:21:59 UTC
Why is DBI including /usr/src/linux/include/linux/sem.h? The user
space  programs should not include the kernel header files directly.