I am trying to get my ethernet card to work, and the driver disk that comes with it has tulip for linux, and a batch to compile it.
the batch is : gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
if [ ! -x /usr/src/linux/modules ]
then
mkdir /usr/src/linux/modules
fi
cp ./tulip.o /usr/src/linux/modules/tulip.o
when I run it, it gives me the error:
tulip.c:133:28:linux/pci-scan.h:No such file or directory exists
I know I need that file, I looked on the tulip page. I have that file in the same dir as the tulip and batch file (called trans) but I have no idea what to do with it. I am so stressed out over this, can you help me?
I am pretty new to linux and this is a big problem.
thanks!!
the batch is : gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
if [ ! -x /usr/src/linux/modules ]
then
mkdir /usr/src/linux/modules
fi
cp ./tulip.o /usr/src/linux/modules/tulip.o
when I run it, it gives me the error:
tulip.c:133:28:linux/pci-scan.h:No such file or directory exists
I know I need that file, I looked on the tulip page. I have that file in the same dir as the tulip and batch file (called trans) but I have no idea what to do with it. I am so stressed out over this, can you help me?
I am pretty new to linux and this is a big problem.
thanks!!