Description of problem:
In the (now) newest kernel 2.6.9-34.0.1.ELsmp the compile time gcc version is:
> dmesg | grep -i gcc
Linux version 2.6.9-34.0.1.ELsmp (email@example.com) (gcc
version 3.4.6 20060404 (Red Hat 3.4.6-2)) #1 SMP Wed May 17 17:05:24 EDT 2006
And the installed newest gcc is:
> gcc -v
gcc version 3.4.5 20051201 (Red Hat 3.4.5-2)
Thus compiling modules for the kernel becomes impossible. The gcc-3.4.6-2 is
not available as an rpm as far as I can find.
Version-Release number of selected component (if applicable):
2.6.9-34.0.1.ELsmp (firstname.lastname@example.org) (gcc version 3.4.6
20060404 (Red Hat 3.4.6-2))
By installing the normal install of RH EL4 AS and updating it with up2date
Steps to Reproduce:
1. Install RH EL4 AS
2. Update with up2date
The newer version of gcc should not affect the the compatability of kernel
modules...if you can point to a specific problem please re-open.
Created attachment 131989 [details]
Fujitsu Siemns server management kernel modules srcrpm
This RPM contains sources for 3 modules for the 2.6.9 kernel. They compile fine
in Redhat EL4 AS, but when I tried to load them, I get an error:
insmod: error inserting '/lib/modules/2.6.9-34.0.1.ELsmp/srvmagt/copa.ko': -1
Invalid module format
I got the same error when trying to compile bmcsensors-26
(http://bmcsensors-26.sourceforge.net/) module to the kernel.
I suspected this might come from the version differences in gcc, but apparently
it is somewhere else?