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 initializationYou 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:
BapiI 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 -02). 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.o2). gcc -DMODULE (do i have to sub this variable for another value?) -Wall- Wstrict-prototypes -06 -c 3c59x.cto no avail
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now