[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc headers issue



> > It means that the headers in /usr/include/linux and /usr/include/asm do not
> > match the kernel you are running. They instead match the kernel that the
> > C library was built for. The only time this is a problem is if you are building
> > a user-mode tool that relies on a kernel interface that has recently changed
> > and you are running a C library that is behind the version of your kernel.
> > In this case you must add -I/usr/src/linux/include to your command line when
> > building it. 
> 
> What does this mean?  Can you give one example?

A good example which just came up is amd.  Recent kernels changed some
internals dealing with NFS that amd needs to know about.

> Can I install and compile a kernel without some Debian-specific
> tweaking, or are we just getting deeper into the jungle?

Yes.  The change in libc5-dev does affect compiling your own kernel.

David
-- 
David Engel                        Optical Data Systems, Inc.
david@ods.com                      1101 E. Arapaho Road
(214) 234-6400                     Richardson, TX  75081


Reply to: