LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Another Prob with driver 3C940 (https://www.linuxquestions.org/questions/linux-hardware-18/another-prob-with-driver-3c940-72900/)

hawat 07-15-2003 08:35 AM

Another Prob with driver 3C940
 
Hello,

i a newbie on linux so help me :)

i try to install a debian but i have a problem to compile the 3C940 drivers (3C2000.o).

I follow an install guide so i only have text environnement (no X server).


The compilation seems to be good but when there is the insmod 3C2000.o i have the following message:

Kernel-module version mismatch
3C2000.o was compiled for kernel version 2.4.18
while this kernel is version 2.4.18-bf2.4

so could you help me to resolve this problem.

thanks

P.S: Excuse my english, i'm french

jhaprins 07-15-2003 09:16 AM

Wrong kernelheaders
 
You compiled against the wrong kernel headers probebly.

JH

hawat 07-15-2003 09:23 AM

ok,

so how i compile with the good header????

Could you explain me?

Remember I'm a newbie :(

Thanks

drdiu 08-02-2003 01:20 PM

Re: Another Prob with driver 3C940
 
Quote:

Originally posted by hawat
Hello,

The compilation seems to be good but when there is the insmod 3C2000.o i have the following message:

Kernel-module version mismatch
3C2000.o was compiled for kernel version 2.4.18
while this kernel is version 2.4.18-bf2.4

so could you help me to resolve this problem.


Modify /usr/src/linux/include/linux/version.h
Let kernel version 2.4.18 to 2.4.18-bf2.4
You can try it :cool:
I have question.
gcc: /usr/src/linux/include/linux/autoconf.h: No such file or directory
Do you have this message ?


All times are GMT -5. The time now is 11:00 AM.