Old compiled module

Ole Turvoll ole.turvoll@db.com
Wed Mar 10 20:23:00 GMT 2004


When trying to insert a module into the kernel the following error message 
appears:


ld -m elf_i386 -r au_audio.o au_midi.o au_core.o au_sndstat.o au_mixer.o 
au_utils.o au_vortex.o asp10.o -o au8810.o
mv -f /etc/modules.conf /etc/modules.conf.old
gawk -f mod_conf /etc/modules.conf.old > /etc/modules.conf
echo "alias sound au8810" >> /etc/modules.conf
echo "alias midi au8810" >> /etc/modules.conf
mkdir -p /lib/modules/2.4.21-192-default/misc
cp -f au8810.o /lib/modules/2.4.21-192-default/misc
/sbin/depmod -a
/sbin/rmmod au8810
rmmod: module au8810 is not loaded
make[1]: [install] Error 1 (ignored)
/sbin/modprobe au8810
/lib/modules/2.4.21-192-default/misc/au8810.o: The module you are trying 
to load (/lib/modules/2.4.21-192-default/misc/au8810.o) is compiled with a 
gcc
version 2 compiler, while the kernel you are running is compiled with
a gcc version 3 compiler. This is known to not work.
/lib/modules/2.4.21-192-default/misc/au8810.o: insmod 
/lib/modules/2.4.21-192-default/misc/au8810.o failed
/lib/modules/2.4.21-192-default/misc/au8810.o: insmod au8810 failed
make[1]: [install] Error 255 (ignored)
make[1]: Leaving directory `/home/ole/sound/aureal'

How can this be solved?

I am running gcc 3.3 on a Suse 9.0 install

Cheers


Ole Turvoll
LDAP/Intranet Developer
Deutsche Bank AG [/] London
----------------------------------
Office - +4420 754 59480
Mobile - +447967 468 772
----------------------------------



More information about the Gcc-help mailing list