Shouldn't glibc-devel r: kernel-headers?
Michal Moskal
malekith at pld-linux.org
Tue Oct 15 22:10:58 CEST 2002
On Tue, Oct 15, 2002 at 08:58:54PM +0200, Jakub Bogusz wrote:
> On Sat, Oct 12, 2002 at 09:21:54PM +0200, Andrzej Krzysztofowicz wrote:
> > > There are some situations when you should recompile
> > > your glibc, but they are rare.
> >
> > Kernel 2.4+ headers are no longer intended to be used in userspace.
> > Eg., you must hack them in some places to use them with C++.
>
> Where? I didn't change anything in 2.4 headers and don't see such
> problems (after recompiling glibc on those headers).
> But I did see strange type conflicts when I tried to use fresh kernel
> headers with glibc compiled on older headers (that was in 2.2.1x era).
> Those problems dissapeared after recompiling glibc.
>
> > So providing own copy of hacked kernel-headers included into glibc-devel
> > seems to be the only choice when we switch into 2.4/2.6.
>
> I agree - kernel headers in /usr/include/{asm,linux}, in glibc-devel
^^^^^
If program does include <linux/...> it probably should
-I/usr/src/linux.
--
: Michal Moskal ::::: malekith/at/pld-linux.org : GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept : {E-,w}-- {b++,e}>+++ h
More information about the pld-devel-en
mailing list