Hi all,

I'm trying to compile a network driver that I downloaded from www.scyld.com.
The driver is natsemi.c, and I'm having a terrible time trying to get it to
compile. I've downloaded all the other files it looks like I need
(pci-scan.c, pci-scan.h, kern_compat.h), and I'm compiling natsemi.c using
the instructions at the end of the source code (gcc -DMODULE -Wall
-Wstrict-prototypes -O6 etc etc....).

My problem is that when I attempt to compile, I get about 400 lines of
compiler error codes, which makes me think my gcc environment is not setup
properly. The first few errors deal with string.h, regarding undeclared
variables, variables being de-referenced, sizes not being set, and various
things not matching prototypes. It gives errors on several other included
files, such as coda.h. If it would be helpful, I can grab the errors next
time and send them.

Any help would be much appreciated. There is no makefile included in this
process, and I'm (clearly) not much of a C/C++ expert. Thanks for you help,

ian
 

Reply via email to