I don't understand why you cannot compile. If you had the kernel sources and headers, you should be able to compile modules with the options I suggested. You may have to play with it a little bit to include the correct libraries you need to compile the module. If lsmod lists your module, then it's in resident kernel memory and it's already loaded. If you alias the device in modules.conf, and that module is loaded at boot time, your card should work, provided, of course, your module is not messed up in any way.

Please do ifconfig eth0 [ipaddr] and then do ifconfig -a to see what's up there?

Also check /etc/sysconfig/ifcfg-eth0 and /etc/sysconfig/network to see networking is enabled.

If you can't compile the driver source, please try to get one from the card manufacturer's website.

Jaideep

 "Go, Jeffrey" <[EMAIL PROTECTED]> wrote:

Bapi
 
I removed the modversions.h file..
and when i try the ff command...
 
gcc -DMODULE -Wall -Wstrict -prototypes -06 -c 3c59x.c
 
i get th ff errors:
 
modversions.h: no such file or directory
pci-scan.h: no such file or directory
kern_compat.h: no such file or directory
-----Original Message-----
From: Bapi Ghosh [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 22, 2003 2:49 PM
To: [EMAIL PROTECTED]
Subject: RE: delaying eth0 initialization

You just need to have the kernel headers installed, and if you got the kernel source, good enough. Try the following:

-D__KERNEL__ -DMODULE -DLINUX -O -Wall -I/usr/include/ -D__KERNEL__ -DMODULE -DLINUX -O -Wall -I/usr/include/linux/modversions.h

If it still complains, get rid of the modversions.h. Make sure you have the most recent gnu c compiler.

Jaideep

 "Go, Jeffrey" <[EMAIL PROTECTED]> wrote:

Bapi
 
I have the version.h source code in my system...and after trying to compile the source code, I am getting numerous errors,
1). " you must compile this driver with -0
 
2). Modules should never use kernel-headers system headers but headers from an appropriate header-source.

I already verfiied that I have the version.h file...
i dont know what else would be the next step...
 
I tried to run the following commands:
 
1).  make KERNVER=`uname -r` 3c59x.o
 
2). gcc -DMODULE (do i have to sub this variable for another value?) -Wall- Wstrict-prototypes -06 -c 3c59x.c
 
to no avail



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now



Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to