LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   error loading a kernel module, "compiled using gcc2" (https://www.linuxquestions.org/questions/linux-software-2/error-loading-a-kernel-module-compiled-using-gcc2-118610/)

taozilla 11-21-2003 03:23 PM

error loading a kernel module, "compiled using gcc2"
 
I have a third party kernel module that i am using to access my hpna network.

The problem is that when I try to load it, I get the message " The module you are trying to load (/lib/modules/2.4.22-ck2/kernel/drivers/net/hpna/il.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 not to work."

If I do a gcc -v I get gcc version 3.2.3 20030422 Gentoo Linux 1.4 3.2.3-r2 propolice

I have made clean the module sources and am sure that I have compiled both the kernel and module using the same gcc version?

Any ideas?


All times are GMT -5. The time now is 03:33 PM.