hi all:
the LDD 3rd edition is based on linux-2.6.10.
Thus I downloaded the special kernel code.
but it can't find the version.h file.
the path I try to find is linux-2.6.10/include/linux
--
/****************************************
http://runcoderen.wordpress.com/
****************************************/
On Sat, 21 Aug 2010 07:40:57 +0800 runcoderen wrote:
> hi all:
> the LDD 3rd edition is based on linux-2.6.10.
> Thus I downloaded the special kernel code.
>
> but it can't find the version.h file.
>
> the path I try to find is linux-2.6.10/include/linux
> --
Hi,
Since linux 2.6.25, include/linux/version.h is a generated file.
I.e., it is produced at kernel make/build time.
2.6.24 and before do have include/linux/version.h.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
On Sat, 21 Aug 2010 08:52:17 +0800 runcoderen wrote:
> hi Randy:
> but I donwload linux kernel source code version is 2.6.10
Yep, my bad. In all of 2.6, version.h is a generated file.
(The trees where I found it were not clean, i.e., they already contained
the generated file.)
> 在 2010-08-20五的 17:48 -0700,Randy Dunlap写道:
> > On Sat, 21 Aug 2010 07:40:57 +0800 runcoderen wrote:
> >
> > > hi all:
> > > the LDD 3rd edition is based on linux-2.6.10.
> > > Thus I downloaded the special kernel code.
> > >
> > > but it can't find the version.h file.
> > >
> > > the path I try to find is linux-2.6.10/include/linux
> > > --
> >
> > Hi,
> >
> > Since linux 2.6.25, include/linux/version.h is a generated file.
> > I.e., it is produced at kernel make/build time.
> >
> > 2.6.24 and before do have include/linux/version.h.
---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
On Sat, Aug 21, 2010 at 07:40:57AM +0800, runcoderen wrote:
>hi all:
>the LDD 3rd edition is based on linux-2.6.10.
>Thus I downloaded the special kernel code.
>
>but it can't find the version.h file.
>
>the path I try to find is linux-2.6.10/include/linux
This file is generated by the top Makefile.