On Thu, Jun 24, 2004 at 10:32:10PM +1000, Dennis Gilmore wrote:
im trying to build an external module for kernel 2.6.7-1.441 the module builds
fine when i insert it i get
FATAL: Error inserting spca50x
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?
HOSTCC is for compilation of host programs, not for the kernel itself or
Change the normal CC variable.