Bug 12800

Summary: /usr/include/asm and /usr/include/linux not present in kernel-headers-2.2.16-3
Product: [Retired] Red Hat Linux Reporter: Peter Surda <shurdeek>
Component: kernelAssignee: Michael K. Johnson <johnsonm>
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: johnsonm
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: 2000-06-22 01:32:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Surda 2000-06-22 01:32:39 UTC
Hi!

Just installed kernel-2.2.16 and suddenly couldn't compile some stuff.
Found out that /usr/include/asm and /usr/include/linux, which are usually
symlinks, are not present.

To fix this do
ln -sf /usr/src/linux/include/asm /usr/include/asm
ln -sf /usr/src/linux/include/linux /usr/include/linux

BTW thanx for agpgart, but I think a RPM of 2.2.16 should have been out
faster.

Bye, Shurdeek

Comment 1 Doug Ledford 2000-06-23 00:22:39 UTC
If you do a force install of the kernel-headers RPM after you've already
upgraded it then it works around this bug.  As far as the bug itself is
concerned, this is an RPM packaging error that will be addressed in the next
kernel-headers rpm package.

Comment 2 Peter Surda 2000-06-23 06:14:27 UTC
There's another one: there's no /boot/kernel.h, only /boot/kernel-2.2.16. I
suppose this one should be symlinked too. BTW I think it's easier (and more
correct) to do a few ln -sf 's instead of forcing a reinstall.