version.h
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
Signature · 3 lines
/**************************************** http://runcoderen.wordpress.com/ ****************************************/
Quoted 8 lines · 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.hfile.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 ***
A message that is not in the archive (sent off-list or not yet received): 1282351937.1631.22.camel@bencharluo-laptop
Quoted 2 lines · 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.)
Quoted 12 lines · 在 2010-08-20五的 17:48 -0700,Randy Dunlap写道:
Quoted 11 lines · On Sat, 21 Aug 2010 07:40:57 +0800 runcoderen wrote:
Quoted 9 lines
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.hfile.the path I try to find is linux-2.6.10/include/linux
Quoted 6 lines
Quoted 6 lines
Hi,
Since linux 2.6.25,
include/linux/version.his 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 ***
Quoted 7 lines · runcoderen
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.hfile.the path I try to find is linux-2.6.10/include/linux
This file is generated by the top Makefile.