[eepro100] Compiling eepro100.c under RH Linux 7.0

Singh Atul singhuee@iitr.ernet.in
Tue Jan 22 09:30:00 2002


Hi all!

I have an Intel PRO/100 VE network card installed on my system (P4 with
Windows XP+Linux).

RH Linux 7.0 (kernel: 2.2.16) didn't detect the card automatically.

I tried to compile the source file (eepro100.c) with the following
command:

gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall
-Wstrict-prototypes -O6 -c eepro100.c `[ -f
/usr/include/linux/modversions.h] && echo -DMODVERSIONS`

Amidst a lot of screen dump, it gives the following error:

Modules should never use kernel-headers system headers, but headers from
an appropriate kernel-source

There were several other "warnings".

PLZ HELP ME FIND A SOLUTION.


Atul Singh
Indian Institute of Technology
Roorkee-247 667
INDIA