Summary: | Linux headers for kernel 2.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Nielsen <Lovechild> |
Component: | New packages | Assignee: | x86-kernel (DEPRECATED) <x86-kernel> |
Status: | RESOLVED INVALID | ||
Severity: | trivial | CC: | mholzer, vapier |
Priority: | High | ||
Version: | 1.4_rc2 | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.kernel.org | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
David Nielsen
2003-01-11 18:10:12 UTC
the linux kernel-specific include files and directories in /usr/include are the ones for the version of the linux kernel that was run when glibc was built. the /usr/src/linux symlink is really awful and needs to die. what i did was make /usr/include-old directory and move the following from /usr/include/* there.... asm linux net scsi sound then from the 2.5.x development sources /usr/src/yourkernelversion-2.5.something/include you'll want to copy (cp -a) the following to /usr/include/ .... asm linux net scsi sound asm-generic hope this helps! For most kernel ebuilds, you can just change ETYPE to "headers" in the file and that kernel version will be installed as headers [ if that was the problem ]. /usr/include serves a global include directory [not just for the linux kernel] but the /usr/include/linux includes should be the ones you used to compile glibc with to avoid incompatibility problems when building kernel-reliant applications. |