[Gllug] Include file locations for Oprofile

Nix nix at esperi.demon.co.uk
Tue Jul 9 23:12:02 UTC 2002


On Tue, 9 Jul 2002, Huw Lynes stipulated:
> On Tuesday 09 July 2002 16:34, you wrote:
>> OK, can someone please explain, gently,
>> to a bear of little brain, why Redhat put
>> include files in /usr/include/linux
>>
> Because it's a sod.

Read `because it is what the glibc maintainers and Linus recommend'.

The kernel headers in /usr/include/linux and /usr/include/asm should
point to the kernel headers that *glibc* was compiled against: *not*
necessarily the one you're running. They haven't been symlinks
to the kernel source tree since the kernel 1.x.x days.

If you skew this up slightly (a minor version or two out) it's not
likely to cause many problems: but if, say, you have a glibc built
against 2.2 headers, and have 2.4 headers in /usr/include/linux &c,
you can expect subtle, nasty problems.

-- 
`There's something satisfying about killing JWZ over and over again.'
                                        -- 1i, personal communication


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list