[tulip] Yet another LNE100TX problem
Jim Fennacy
j47@pacbell.net
Sat, 26 Aug 2000 09:19:59 -0700
I have the same card and have gotten to work with Mandrake 7.1 (kernel
2.2.15).
I'm not an expert on this but here's what I see from what you wrote:
1. The compile command is right, but you need to specify the location of
the include files with the -I directive:
gcc -I/usr/src/linux/include -DMODULE -Wall -Wstrict-prototypes -O6 -c
tulip.c
2. The easier way to do what you're trying to do is to download
netdriver-2.0.src.rpm from www.scyld.com/network/updates.html. The
instructions will compile all the drivers available and install them in the
correct location.
Jim.
Jason M'Sadoques wrote:
> I just purchased a Linksys EtherFast 10/100 with the LNE100TX version
> 4.1 chip. I'm running RedHat 6.2, Kernel 2.2.14. I have determined that
> I need the latest version of the tulip.c driver. I have downloaded these
> four files: tulip.c, pci-scan.c, pci-scan.h, kern_compat.h. When I
> compile with the command given at the end of tulip.c: gcc -DMODULE -Wall
> -Wstrict-prototypes -O6 -c tulip.c, I get hundreds of errors, like the
> following:
> In file included from /usr/include/linux/string.h:37,
> from tulip.c:143:
> /usr/include/asm/string.h:50: parse error before `size_t'
> /usr/include/asm/string.h: In function `strncpy':
> /usr/include/asm/string.h:51: number of arguments doesn't match
> prototype
> /usr/include/linux/string.h:13: prototype declaration
> /usr/include/asm/string.h:65: `src' undeclared (first use in this
> function)
> /usr/include/asm/string.h:65: (Each undeclared identifier is reported
> only once
> /usr/include/asm/string.h:65: for each function it appears in.)
> /usr/include/asm/string.h:65: `dest' undeclared (first use in this
> function)
> /usr/include/asm/string.h:65: `count' undeclared (first use in this
> function)
> /usr/include/asm/string.h:67: warning: control reaches end of non-void
> function
> /usr/include/asm/string.h: At top level:
> .
> .
> .
> etc.
>
> The same goes for compiling pci-scan.c.
>
> My linux and asm directories are symbolically linked into /usr/include.
> I did not do this, it appears that these symbolic links are owned by the
> kernel-headers-2.2.14 rpm. I ran rpm -V kernel-headers, and the files
> are exactly as they were installed originally. My compiler is gcc 2.95.
> So the question is: what do I need to do to get tulip.c to compile on my
> system?
>
> Jason M'Sadoques
>
> _______________________________________________
> tulip mailing list
> tulip@scyld.com
> http://www.scyld.com/mailman/listinfo/tulip