Bug 13741 - kernel header files miss some simlinks
kernel header files miss some simlinks
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
6.2
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Michael K. Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-07-11 14:54 EDT by helmut katzgraber
Modified: 2008-05-01 11:37 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-12-14 19:16:29 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description helmut katzgraber 2000-07-11 14:54:10 EDT
hi,

it seems that there are some simlinks missing from the kernel header files
for kernel 2.2.16-3. code which would compile before with kernel 2.2.14,
does not compile any longer.

e.g.:
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:30,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:117,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/syslimits.h:7,
                 from
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/include/limits.h:11,
                 from /usr/include/g++-2/stl_algobase.h:49,
                 from /usr/include/g++-2/list:30,
                 from process_halos.cc:3:
/usr/include/bits/local_lim.h:27: linux/limits.h: No such file or
directory
Comment 1 Pierre Thonne 2000-07-11 16:28:48 EDT
Yes,

I have the same problem but it's simple to fix it :

Just create in /usr/include two symbolic links  :

asm -> /src/linux/include/asm
linux -> /src/linux/include/linux

If you don't know how to create the links, just with mc (midnight commander) :
- open the kernel-headers rpm file (versin 2.2.14) with enter on the file
- open the cpio file witj enter
- just copy the include directory in your /usr directory

that's all

Pierre Thonne
Brussels
Belgium
Comment 2 roger.bivand 2000-07-12 03:36:51 EDT
This is the same as #13291 and another (#135.., on Sparc), title
/usr/include/asm. As I note in #13291, a fix is to rpm -ivh --force the
2.2.14.12 headers back in, but the links are still to the older headers. I found
that just making the /usr/include/asm and /usr/include/linux symlinks to the
/usr/src/ directories for 2.2.16-3 didn't solve all the problems.

What worries me most is that this hasn't been attended to yet!!

Comment 3 roger.bivand 2000-07-12 03:43:00 EDT
The number was #13517 - there are further helpful comments there
Comment 4 helmut katzgraber 2000-07-16 17:01:40 EDT

hi,

i tried adding the links by hand and it still does not work?!? could it be
related to the fact that i have a smp machine where the smp kernel is 2.2.16-3
whereas the "backup-no-smp-kernel" is 2.2.14-12? it complains now about
errno.h...

is there going to be a fixed kernel any time soon?

thanks, h.
Comment 5 Alan Cox 2002-12-14 19:16:29 EST
This was fixed later but the bug was not closed

Closing it now

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