LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   compiling question (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-question-76622/)

glo 07-28-2003 10:50 AM

compiling question
 
Hi All,

This is my first time using linux and programming modules.
I'm trying to compile C++ file, but i'm getting this error

example.o was compiled for kernel version 2.4.20 while this kernel is version 2.4.20-8.

i'm been surfing the net for answers and i'm getting the impression that the only way to solve this is to recompile the kernel and modifying the make file to take away the EXTRAVERSION -- which i'm assuming change 2.4.20-8 to 2.4.20 in the make file.

Is this correct? are there other work arounds for this?

Please help, I'm stumped

Thanks.


All times are GMT -5. The time now is 02:23 PM.