external modules issues

Dennis Gilmore dennis at ausil.us
Thu Jun 24 12:32:10 UTC 2004


Hi,

im trying to build an external module for kernel 2.6.7-1.441 the module builds 
fine  when i insert it i get 

/sbin/modprobe spca50x
FATAL: Error inserting spca50x 
(/lib/modules/2.6.7-1.441/kernel/drivers/usb/media/spca50x.ko): Invalid 
module format

dmesg shows

spca50x: version magic '2.6.7-1.441 686 REGPARM 4KSTACKS gcc-3.3' should be 
'2.6.7-1.441 686 REGPARM 4KSTACKS gcc-3.4'

i changed HOSTCC in /lib/modules/2.6.7-1.441/build/Makefile to be gcc34 
thinking it should then build the module using gcc 3.4 but on rebuild i get 
the same  issue.  it was working fine  not sure when it stopped.  ok so the 
kernel in the build system is using gcc 3.4 to build the kernel.  but 
changing the external module makefile still seems to use gcc 3.3 do we need 
to change something in the kernel build process so that module building 
works?  do we need to change gcc to 3.4?   any ideas?

Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040624/95bfb0c2/attachment.sig>


More information about the fedora-devel-list mailing list