Re: version.h

From: Randy Dunlap
Date: Sat Aug 21 2010 - 17:01:03 EST


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 ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/