Bug 120791 - build fails with vanilla 2.6 kernel
build fails with vanilla 2.6 kernel
Product: Fedora
Classification: Fedora
Component: cdrtools (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Harald Hoyer
Depends On:
  Show dependency treegraph
Reported: 2004-04-13 18:30 EDT by Stephen Beahm
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-24 06:07:43 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 Stephen Beahm 2004-04-13 18:30:13 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114 Epiphany/1.0.4

Description of problem:
Build fails because a typedef for u8 is not in found in

Kernel headers should not be included in userspace programs.

One possible solution is to patch the file
cdrtools-2.01/DEFAULTS/Defaults.linux to not include kernel headers.
This will force the use of scsi.h from glibc-headers. If this solution
is used, glibc-headers should probably have a BuildRequires entry in
the .spec file.

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

How reproducible:

Steps to Reproduce:
1. install vanilla 2.6 kernel
2. create symbolic link /usr/src/linux
3. build cdrtools

Actual Results:  /usr/src/linux/include/scsi/scsi.h:217: error: syntax
error before "u8"

Additional info:
Comment 1 Harald Hoyer 2004-05-24 06:07:43 EDT
$ rpm -qf  /usr/include/scsi/scsi.h

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