Click to See Complete Forum and Search --> : re: Compiling tulip.c


stanley
06-05-2001, 12:48 AM
hello,

I am using Corel linux. My ethernet card is not supported by Corel Linux so i downloaded the newest driver from www.linksys.com. (http://www.linksys.com.) i have followed all the instruction on compiling the driver, i used the following compiling command:
gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c

but whenever i tried to compile the driver, i will get a message as follow:

tulip.c:139: linux/modversions.h: No such file or directory

what does this mean? i tried to look for the file, modversions.h and i can't find it anywhere. Is there any place that i can the file or do i need to?

Thanks in advance to whoever can help me. :)

Craig McPherson
06-05-2001, 11:19 AM
You'll have to have the Linux kernel headers installed to compile it. But like I said to someone else who asked this question, why don't you just recompile the kernel, with Tulip-support enabled, rather than trying to compile the tulip driver seperately?

jaygee432
06-05-2001, 12:39 PM
Even though tulip.o was included already with slack 7.1, I had to compile a new one and replace it to get it to work with my linksys card, because of its version. Like I said in another post, I did it by compiling a netdrivers directory from the source, then copying and replacing tulip.o with the new one. ;)