Re: Compiling tulip.c kernel mod
On Sun, Oct 15, 2000 at 03:16:11AM -0700, Jason Whittle wrote:
> I'm running a brand new install of potato, and I have a Linksys ethernet card that I'm trying to compile the driver for. The driver recommended on the Linksys support page that I compile the driver named tulip.c with the following command:
>
> gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
>
> When I do so, gcc returns the following:
>
> tulip.c:139: linux/modversions.h: No such file or directory
> tulip.c:161: pci-scan.h: No such file or directory
> tulip.c:162: kern_compat.h: No such file or directory
Have a look at http://www.scyld.com/network/tulip.html
There you can download the latest drivers, the files pci-scan.h,
kern_compat.h and a good instruction on how to build and use the
module.
Just remember: You have to load pci-scan and kern_compat *prior* to
loading tulip - the mailing list there is flooded with this question
;)
HTH,
Phil
Reply to: