![](https://seccdn.libravatar.org/avatar/bce881f00c17a1bf997473f19b54e1d4.jpg?s=120&d=mm&r=g)
On Sat, Jul 21, Ted Harding wrote:
Greetings all, and especially SuSE builders.
I installed the default SuSE kernel when installing 7.2
According to 'uname -r' this is "2.4.4-4GB".
I also installed "linux -- the rest of the kernel source".
You don't need he package linux, only "kernel-source". You get the correct version.h file if you do the following: cd /usr/src/linux-2.4.4.SuSE make cloneconfig make include/linux/version.h
Under / the only other "version.h" is /usr/include/linux/version.h
Don't use the header files in /usr/include for kernel modules or similar. This are special header files for glibc and userland binaries, not for the kernel !
1. Does this mean that SuSE has installed a mixture of code for kernel 2.4.3 with code for 2.4.4?
No, you mix userland header files and kernel code.
2. Or is the "2.4.3" code which is installed anyway (i.e. whether or not you install "the rest of the linux source code") the same for both versions, so that the "2.4.3" stuff is also valid for the "2.4.4" stuff which is under /usr/src/linux-2.4.4 ?
Please read the /usr/include/linux/version.h, there are enough comments what you should do and what not.
3. If so, would it then be safe to edit /usr/include/linux/version.h so that it says "2.4.4" instead of "2.4.3" ? Or would this break something?
This would break everything. You really should read the first comments in this file!
default kernel is 2.4.4, then why didn't SuSE fix "version.h" in the first place?
Because you use the wrong file. Thorsten -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE GmbH Deutschherrenstr. 15-19 D-90429 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B