Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ethernet card-- tulip driver problems

Status
Not open for further replies.

TreyB

Vendor
Apr 2, 2003
5
US
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!!
 
Break it down into steps.
Assuming it came with a make file, copy the make file and the tulip.o from the disk to a dir some where and run "make" from there. Then at that point when it compiles the tulip.o file and you see tulip.c you can do a insmod and depmod to install the modules.
Then configure your card to use the tulip driver.
Hope this helps.
slg
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top