[vortex] Re: 3c59x.c compilation errors.

Donald Becker becker@scyld.com
Tue, 13 Mar 2001 10:53:10 -0500 (EST)


On Tue, 13 Mar 2001, Remko van der Vossen wrote:

> please bear with me as I'm new to Linux and NIC drivers.. I'm 
> currently in the process of developing a TCP/IP stack (only 
> just starting the project), and I want to be able to test it. 

Will this be GPL code?

> I looked for another driver, and I found 3c59x.c so I tried 
> to compile it. first I needed the pci-scan and kern_compat 
> files so I downloaded them and tried again. now I got another 
> set of errors. These errors are some "`PAGE_OFFSET_RAW' 
> undeclared", and a whole lot of "dereferencing pointer to 
> incomplete type" on the netdevice type variables. I have no 
> idea where PAGE_OFFSET_RAW is declared or what it should be, 
> nor do I have any idea why netdevice is considered and 
> incomplete type.
...
> Can anybody help me with this? I'm at a complete loss. FYI, I'm running
> Redhat 7.0, the kernel version is 2.4.0.

Read
  http://www.scyld.com/network/updates.html#redhat7.0

If you have the original 7.0, you will need to update your glibc
package, and add 
  -I/usr/src/linux/include
to the compile line.

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993