public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* version.h
@ 2001-09-27  8:36 David Gómez 
  2001-09-27 12:49 ` version.h John Levon
  0 siblings, 1 reply; 6+ messages in thread
From: David Gómez  @ 2001-09-27  8:36 UTC (permalink / raw)
  To: Linux kernel


It seems that in 2.4.10 include/linux/version.h has not updated the macro
UTS_VERSION to the new kernel version. I found this error when trying to
compile alsa-drivers and the configure script couldn't find the right
modules directory.


David Gómez

"The question of whether computers can think is just like the question of
 whether submarines can swim." -- Edsger W. Dijkstra



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: version.h
  2001-09-27  8:36 version.h David Gómez 
@ 2001-09-27 12:49 ` John Levon
  0 siblings, 0 replies; 6+ messages in thread
From: John Levon @ 2001-09-27 12:49 UTC (permalink / raw)
  To: Linux kernel

On Thu, Sep 27, 2001 at 10:36:47AM +0200, David =?ISO-8859-1?Q?G=F3mez ?= wrote:

> It seems that in 2.4.10 include/linux/version.h has not updated the macro
> UTS_VERSION to the new kernel version. I found this error when trying to
> compile alsa-drivers and the configure script couldn't find the right
> modules directory.

that file is auto-generated. Read the kernel howto and make sure to go through
all the necessary build steps first.

regards
john

-- 
" It is quite humbling to realize that the storage occupied by the longest line
from a typical Usenet posting is sufficient to provide a state space so vast
that all the computation power in the world can not conquer it."
	- Dave Wallace

^ permalink raw reply	[flat|nested] 6+ messages in thread

* version.h
@ 2010-08-20 23:40 runcoderen
  2010-08-21  0:48 ` version.h Randy Dunlap
  2010-08-23  2:25 ` version.h Américo Wang
  0 siblings, 2 replies; 6+ messages in thread
From: runcoderen @ 2010-08-20 23:40 UTC (permalink / raw)
  To: linux-kernel

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/
****************************************/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: version.h
  2010-08-20 23:40 version.h runcoderen
@ 2010-08-21  0:48 ` Randy Dunlap
       [not found]   ` <1282351937.1631.22.camel@bencharluo-laptop>
  2010-08-23  2:25 ` version.h Américo Wang
  1 sibling, 1 reply; 6+ messages in thread
From: Randy Dunlap @ 2010-08-21  0:48 UTC (permalink / raw)
  To: runcoderen; +Cc: linux-kernel

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 ***

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: version.h
       [not found]   ` <1282351937.1631.22.camel@bencharluo-laptop>
@ 2010-08-21 17:27     ` Randy Dunlap
  0 siblings, 0 replies; 6+ messages in thread
From: Randy Dunlap @ 2010-08-21 17:27 UTC (permalink / raw)
  To: runcoderen

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 ***

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: version.h
  2010-08-20 23:40 version.h runcoderen
  2010-08-21  0:48 ` version.h Randy Dunlap
@ 2010-08-23  2:25 ` Américo Wang
  1 sibling, 0 replies; 6+ messages in thread
From: Américo Wang @ 2010-08-23  2:25 UTC (permalink / raw)
  To: runcoderen; +Cc: linux-kernel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-08-23  2:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-27  8:36 version.h David Gómez 
2001-09-27 12:49 ` version.h John Levon
  -- strict thread matches above, loose matches on Subject: below --
2010-08-20 23:40 version.h runcoderen
2010-08-21  0:48 ` version.h Randy Dunlap
     [not found]   ` <1282351937.1631.22.camel@bencharluo-laptop>
2010-08-21 17:27     ` version.h Randy Dunlap
2010-08-23  2:25 ` version.h Américo Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox