[eepro100] Compiling eepro100.c under RH Linux 7.0
Tue Jan 22 09:30:00 2002
I have an Intel PRO/100 VE network card installed on my system (P4 with
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
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.
Indian Institute of Technology