Bug 3363 - Error compiling DBI
Error compiling DBI
Product: Red Hat Linux
Classification: Retired
Component: perl (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Crutcher Dunnavant
Depends On:
  Show dependency treegraph
Reported: 1999-06-09 11:45 EDT by carlierd
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-07-02 18:21:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description carlierd 1999-06-09 11:45:14 EDT
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
/usr/lib/perl5/5.00503/i386-linux/CORE/config.h at line
1710 fixes the problem.
Comment 1 Jay Turner 1999-06-29 10:57:59 EDT
This issue has been forwarded to a developer for further action.
Comment 2 Cristian Gafton 1999-07-02 18:21:59 EDT
Why is DBI including /usr/src/linux/include/linux/sem.h? The user
space  programs should not include the kernel header files directly.

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