gcc error message

"Wm. G. McGrath" <[email protected]>
Newsgroups gmane.linux.drivers.realtek.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.