kernel headers

Richard Lightman richard at nezumi.plus.com
Fri Sep 6 04:45:02 PDT 2002


* Christophe Devine <devine at iie.cnam.fr> [2002-09-06 12:37]:
> In article <20020905221843.GA643 at ElCapitan.oval.net>, 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/

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



More information about the lfs-dev mailing list