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
Show replies by date