Re: version.h

From: Randy Dunlap
Date: Fri Aug 20 2010 - 20:48:46 EST


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/