Chmouel Boudjnah wrote:
>
> Jürgen Zimmermann <[EMAIL PROTECTED]> writes:
>
> > Hello,
> > I wonder why the kernel-headers for 2.4 kernels do install in
> > /usr/include?
> > Isn't it sufficient to install them in /usr/src/linux-2.4.*/include
> > and set appropriate symlinks from
> > /usr/include/asm -> /usr/src/linux/include/asm
> > /usr/include/linux -> /usr/src/linux/include/linux
> >
> > The "problem" I had was: I had a driver for a controler which was only
> > "compilable" with linux-2.2.
> > But before I set the symlinks, I always got the headers of 2.4 for the
> > compilation process, at least if I didn't want to modify the
> > Makefiles...
>
> compile your program again :
>
> /lib/module/$(uname -r)/build/
>
> which should go to the right kernel
Ok. But this raises one more question:
Why are the asm/linux-Includes both provided in kernel-headers AND
kernel-source?
Couldn't the "few" different files be generated on demand, especially
the
module versions, which do not work for SMP kernels anyway without
reconfiguring
the source tree... (and modifying the Makefile...)
So long,
Jürgen