I'm trying to install a D-Link DFE-530TX Rev B1 NIC but LM7.0 (2.2.14-15mdksmp) doesn't recognise the card. D-Links support suggests a new version of the via-rhine driver is required to support this new card revision. I have fetched down the latest version source (v1.11)from the D-Link site but when I try to make it I get pages of errors a snippet of which I include here:
 
 gcc -DMODULE -D__KERNEL__ -O6 -c via-rhine.c
In file included from /usr/include/Linux/string.h:37,
                 from via-rhine.c:95:
/usr/include/asm/string.h:46: parse error before `size_t'
/usr/include/asm/string.h: In function `strncpy':
/usr/include/asm/string.h:47: number of arguments doesn't match prototype
/usr/include/linux/string.h:13: prototype declaration
/usr/include/asm/string.h:61: `src' undeclared (first use in this function)
/usr/include/asm/string.h:61: (Each undeclared identifier is reported only once
/usr/include/asm/string.h:61: for each function it appears in.)
/usr/include/asm/string.h:61: `dest' undeclared (first use in this function)
/usr/include/asm/string.h:61: `count' undeclared (first use in this function)
/usr/include/asm/string.h: At top level:
/usr/include/asm/string.h:84: parse error before `size_t'
/usr/include/asm/string.h: In function `strncat':
/usr/include/asm/string.h:85: number of arguments doesn't match prototype
/usr/include/linux/string.h:15: prototype declaration
/usr/include/asm/string.h:102: `src' undeclared (first use in this function)
/usr/include/asm/string.h:102: `dest' undeclared (first use in this function)
/usr/include/asm/string.h:102: `count' undeclared (first use in this function)
/usr/include/asm/string.h: At top level:
/usr/include/asm/string.h:130: parse error before `size_t'
/usr/include/asm/string.h: In function `strncmp':
/usr/include/asm/string.h:131: number of arguments doesn't match prototype
...
 
To my untrained eye this would suggest a problem with the headers. Can anyone suggest how I overcome this or point to a precompiled version of the driver?
 
Thanks
 
   Steve Manning
 

Reply via email to