Bug 69737 - more missing kernel header files
Summary: more missing kernel header files
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: glibc-kernheaders (Show other bugs)
(Show other bugs)
Version: 7.3
Hardware: i686 Linux
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
Depends On:
TreeView+ depends on / blocked
Reported: 2002-07-24 21:10 UTC by Need Real Name
Modified: 2007-04-18 16:44 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2002-07-25 13:57:34 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Need Real Name 2002-07-24 21:10:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.51 [en] (WinNT; U)

Description of problem:
Installed glibc-kernheaders-2.4-7.16.i386.rpm to fix problem with msr.h.
Now have a problem with asm/pgtable.h including asm/fixmap.h which doesn't exist in asm-i386
Also, linux/delay.h includes asm/delay.h which doesn't exist in asm-i386
Also, asm-i386 does not contain uaccess.h

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

How reproducible:

Steps to Reproduce:
1. ls /usr/include/asm/fixmap.h
2. ls /usr/include/asm/uaccess.h

Additional info:

Comment 1 Arjan van de Ven 2002-07-24 21:16:19 UTC
linux/delay.h contains NO userspace usable code... why on earth does someone
include it?
same for asm/pgtable.h....

Comment 2 Need Real Name 2002-07-25 13:37:03 UTC
asm/pgtable.h is included by linux/vmalloc.h

Comment 3 Arjan van de Ven 2002-07-25 13:41:35 UTC
but linux/vmalloc.h is also very much a kernel-internal header that contains
zero userspace usable parts...

Comment 4 Need Real Name 2002-07-25 13:53:07 UTC
The software being built is a driver that was delivered with a pci card.  The driver builds fine on an older linux system.  Even if the include for vmalloc.h is commented 
out (which it needs for vfree), there is still the problem with uaccess.h which is needed for put_user().

Comment 5 Arjan van de Ven 2002-07-25 13:57:29 UTC
Oh you're compiling a KERNEL file?
Why on earth are you using glibc headers then? That'll never work!

the kernel headers can be found in

/lib/modules/`uname -r`/build/include

assuming you have the kernel-source rpm instaled.

Comment 6 Need Real Name 2002-07-25 16:18:34 UTC
Changed the makefile to use the kernel headers.  All is well, thanks.

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