[realtek] gcc error message

Wm. G. McGrath wgm@telus.net
Sat Jun 8 13:01:00 2002


Hello all,

I'm trying to compile a module for a DLink DFE-538TX/R - Realtek
8139
I'v downloaded the various files such as pci-scan.c and rtl8139.c
but have no joy with the command strings included with the files. It
looks to me like I've not got something set up correctly or am
missing a file. Can anyone explain the error messages below? 


	tia

	bill

gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Wstrict-prototypes
-O6 -c pci-scan.c

pci-scan.c:56: linux/modversions.h: No such file or directory
In file included from pci-scan.c:68:
kern_compat.h:42: linux/modversions.h: No such file or directory

gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c


rtl8139.c:93: linux/modversions.h: No such file or directory
In file included from rtl8139.c:126:
kern_compat.h:42: linux/modversions.h: No such file or directory