kernel headers

Richard Lightman richard at
Fri Sep 6 04:45:02 PDT 2002

* Christophe Devine <devine at> [2002-09-06 12:37]:
> In article <20020905221843.GA643 at>, Mark Ellis wrote:
> > Probably not a big deal since its never come up before, but for a sense 
> > of tidiness i propose copying autoconf.h, and while we're there 
> > compile.h, to /usr/include/linux after the kernel build in chapter 8.
> You're right; the NVIDIA kernel module also needs /usr/include/linux to
> be copied after the kernel compilation; otherwise the build fails.
> It could be worth adding a note in the book, after chapter 8, saying :
> " You may need to copy the kernel headers once again, if you plan to
> build kernel modules for third-party vendors. "
That will just cause trouble. If you have to do this, copy the old
header files back afterwards. It would be better to fix the build
process to use /lib/modules/$(uname -r)/build/include/

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-dev' in the subject header of the message

More information about the lfs-dev mailing list