You need to have the kernel source (or at least the headers) installed.  I
had no problems with the compile.

_Nick

On Tue, 12 Sep 2000, Gavin Clark wrote:

> I think you can force it to load anyway. see the modprobe and insmod man
> pages.
> 
> or you can always compile your own kernel.
> 
> 
> Gavin
> 
> on 9/12/00 8:10 AM, MAHE Vincent FTRD/DIH/REN  wrote:
> > Hello,
> > 
> > I've downloaded the source code of drivers for the 3c90x fast ethernet card.
> > I want to install the drivers under Linux Mandrake 7.0 of the 3c905B card.
> > 
> > When I compile the code  with the following instructions  (as it is said to
> > do by the readme.txt of 3COM) :
> > gcc -c 3c90x.c -O2 -Wall -Wstrict-prototypes -fomit-frame-pointer \
> > 
> > -fno-strength-reduce -pipe -m486 -malign-loops=2 \
> > 
> > -malign-jumps=2 -malign-functions=2 -DCPU=486 \
> > 
> > -DMODULE -D__KERNEL__ -I/usr/src/linux/include
> > 
> > it compiles and generates the 3c90x.o file  without any error.
> > 
> > But when I try to install the module with the following instruction "insmod
> > 3c90x.o", I have the following message :
> > 
> > 3c90x.o : kernel-module version mismatch
> > 3c90x.o was compiled for kernel version 2.2.14-15mdk while this
> > kernel is version 2.2.14-1mdklinus
> > 
> > How can I solve that ?
> > 
> > Is there a way to compile the 3c90x.c file with the right includes for
> > kernel version 2.2.14-1mdklinus ?
> > 
> > Thanks.
> > 
> > Vincent Mah�
> > 
> > Branche D�veloppement - FT R&D - DIH/HDM
> > 4, rue du Clos Courtel - 35512 Cesson S�vign�
> > 
> > Phone : (33) 2 99 12 43 63
> > Fax : (33) 2 99 12 40 98
> > mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> > 
> > 
> 
> 
> 

-- 
**------------**
Nick Webb
[EMAIL PROTECTED]


Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to