Skip to contentSkip to conversation

include/linux/version.h

PATCH Stefan J. Betz 4 participants 5 messages Dec 2, 2003 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello People,

i have found some wrong thing in include/linux/version.h On my System i have Kernel 2.6.0-test10 & 2.6.0-test11, but in include/linux/version.h i see:
#define UTS_RELEASE "2.6.0-test9"

correct where:
#definde UTS_RELEASE "2.6.0-test11" (for Linux Kernel 2.6.0-test11)...

Here is a little "patch":

include/linux/version.h +1 -1
diff -Nru linux-2.6.0-test11/include/linux/version.h linux-2.6.0-test11-fixed/include/linux/version.h
@@ -1,3 +1,3 @@
-#define UTS_RELEASE "2.6.0-test9"
+#define UTS_RELEASE "2.6.0-test11"
 #define LINUX_VERSION_CODE 132608
 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

I know that this is not a very usefull fix, but i think 2.6.0 should be BugFree (TM) :-)

Greeting Betz Stefan

I know that my english is not realy good, but any tipp how i can learn better english is welcome...

#1 lore raw
Quoted 23 lines · Stefan J. Betz

Hello People,

i have found some wrong thing in include/linux/version.h On my System i have Kernel 2.6.0-test10 & 2.6.0-test11, but in include/linux/version.h i see:
#define UTS_RELEASE "2.6.0-test9"

correct where:
#definde UTS_RELEASE "2.6.0-test11" (for Linux Kernel 2.6.0-test11)...

Here is a little "patch":

diff -Nru linux-2.6.0-test11/include/linux/version.h linux-2.6.0-test11-fixed/include/linux/version.h ---
linux-2.6.0-test11/include/linux/version.h Tue Dec 2 19:21:22 2003
+++ linux-2.6.0-test11-fixed/include/linux/version.h Tue Dec 2
19:22:06 2003 @@ -1,3 +1,3 @@

include/linux/version.h +1 -1
-#define UTS_RELEASE "2.6.0-test9"
+#define UTS_RELEASE "2.6.0-test11"

#define LINUX_VERSION_CODE 132608
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

Quoted 4 lines

I know that this is not a very usefull fix, but i think 2.6.0 should be BugFree (TM) :-)

Greeting Betz Stefan

Humm, where did you get your srcs from? include/linux/version.h reads 2.6.0-test11 here...

Quoted 3 lines

I know that my english is not realy good, but any tipp how i can learn better english is welcome...

An occasional miss-spelled word (tipp is really spelled tip) doesn't break our comprehension, do carry on.

Signature · 7 lines
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz  512M
99.27% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attornies please note, additions to this message
by Gene Heskett are:
Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
#2 lore raw
In reply to Stefan J. Betz
Quoted 3 lines · El Tue, 2 Dec 2003 19:35:22 +0100 "Stefan J. Betz" <[email protected]>…

Hello People,

i have found some wrong thing in include/linux/version.h

include/linux/version.h isn't provided in the kernel tarball. It is created when you build something. Ej: do a "make distclean", then:

diego@estel:~/kernel/unsta$ cat include/linux/version.h 
cat: include/linux/version.h: No such file or directory
#3 lore raw
In reply to Stefan J. Betz

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · Stefan J. Betz

Hello People,

Hi Stefan,

Quoted 7 lines

i have found some wrong thing in include/linux/version.h On my System i have Kernel 2.6.0-test10 & 2.6.0-test11, but in include/linux/version.h i see:
#define UTS_RELEASE "2.6.0-test9"

correct where:
#definde UTS_RELEASE "2.6.0-test11" (for Linux Kernel 2.6.0-test11)...

Hm, I think that file is automatically generated at compile-time, isn't it?
Are you sure, you grepped through the correct tree? Or is this an old one, that was sitting in some dusty corner on your disk?

Quoted 4 lines

Greeting Betz Stefan

I know that my english is not realy good, but any tipp how i can learn better english is welcome...

Don't read my mails, because they are ugly english, too. 8-)

- --
Regards Michael Buesch [ http://www.tuxsoft.de.vu ] -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/zO9NoxoigfggmSgRAhLMAJ43jo4/Pw7em+LbHRMUB4rgn/79EACfb8xa fAFiprdxGFZE+aBLRePHS5s=
=6MLE
-----END PGP SIGNATURE-----

A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.58.0312021447160.896@morpheus

#5 lore raw
Quoted 4 lines · burton windle

I believe include/linux/version.h gets dynamically generated.

What does the Makefile say for the version? Everything gets its numbers from the Makefile.

Oh... Ups...

Why i have never readed that a simple "make distclean" does make such things :-(

I have now maked a "make distclean", and now all is correct...

Sorry for consuming our time...

Thanks for all...

Signature · 3 lines
Das Telefonnetz... Unendliche Weiten... Dies sind die Abenteuer eines
genervten Internet-Surfers... Weit von zu Hause entfernt stößt er in
Bereiche des Systems vor, die vorher noch niemand gesehen hat...