external modules issues

Arjan van de Ven arjanv at redhat.com
Thu Jun 24 12:37:05 UTC 2004


On Thu, 2004-06-24 at 14:32, Dennis Gilmore wrote:
> 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

rawhide has gcc 3.4 not gcc 3.3 ....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20040624/7fa5693d/attachment.sig>


More information about the fedora-devel-list mailing list