Bug 12800 - /usr/include/asm and /usr/include/linux not present in kernel-headers-2.2.16-3
Summary: /usr/include/asm and /usr/include/linux not present in kernel-headers-2.2.16-3
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 6.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Michael K. Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-06-22 01:32 UTC by Peter Surda
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2000-06-22 01:32:40 UTC

Attachments (Terms of Use)

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

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

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.

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