[tulip] Troubles compiling Tulip under Mandrake 7.2

Adam J. Kleifield adam@kleifield.com
Fri, 16 Feb 2001 23:17:01 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_001B_01C0986E.90FDCAB0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I have a Linksys LNE100TX (EtherFast 10/100 LAN card) and have been =
having a lot of trouble compiling tulip.c and getting the card to work. =
I am very new to Linux and am still learning the basics, so I thought I =
could get some help through this mailing list.

First I extracted the netdrivers.tgz from the Linksys drivers disk to a =
temprorary directory (/root/netdrivers, as recommended by the .txt file =
on the floppy). I then replaced the tulip.c file that was extracted with =
the newer downloaded version. I then typed "make" while in the =
/root/netdrivers as instructed in the readme, it appeared to be =
compiling all of the files but then stopped after around 8 files with:

*** No rule to make target '/usr/src/linux/drivers/net/8390.h', needed =
by 'ne2k-pci.o". Stop. ***

Then I just tried compiling tulip.c with this command:

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f =
/usr/include/linus/modversions.h ] && echo -DMODVERSIONS`

Suddenly a huge list of errors started scrolling by very fast, which I =
could recognize as compiler errors, most of them being "undefined =
references" in certain .h files. Anyway, I'm going crazy trying to =
figure this out, I think I can handle the rest of the driver =
installation if I'm just able to make the tulip.o file, but I have been =
unsuccesful thus far. And being quite new to Linux doesn't make it any =
easier. If anyone can help a poor newbie out, I'd be extremely grateful =
:)

-Adam
adam@kleifield.com

------=_NextPart_000_001B_01C0986E.90FDCAB0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4611.1300" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>I have a Linksys LNE100TX (EtherFast =
10/100 LAN=20
card) and have been having a lot of trouble compiling tulip.c and =
getting the=20
card to work. I am very new to Linux and am still learning the basics, =
so I=20
thought I could get some help through this mailing list.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>First I extracted the netdrivers.tgz =
from the=20
Linksys drivers disk&nbsp;to a temprorary directory (/root/netdrivers, =
as=20
recommended by the .txt file on the floppy). I then replaced the tulip.c =
file=20
that was extracted with the newer downloaded version. I then typed =
"make" while=20
in the /root/netdrivers as instructed in the readme, it appeared to be =
compiling=20
all of the files but then stopped after around 8 files =
with:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>*** No rule to make target=20
'/usr/src/linux/drivers/net/8390.h', needed by 'ne2k-pci.o". Stop.=20
***</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Then I just tried compiling tulip.c =
with this=20
command:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>gcc -DMODULE -D__KERNEL__ -Wall =
-Wstrict-prototypes=20
-O6 -c tulip.c `[ -f /usr/include/linus/modversions.h ] &amp;&amp; echo=20
-DMODVERSIONS`</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Suddenly a huge list of errors started =
scrolling by=20
very fast, which I could recognize as compiler errors, most of them =
being=20
"undefined references" in certain .h files. Anyway, I'm going crazy =
trying to=20
figure this out, I think I can handle the rest of the&nbsp;driver =
installation=20
if I'm just able to make the tulip.o file, but I have been =
unsuccesful&nbsp;thus=20
far.&nbsp;And being quite new to Linux doesn't make it any easier. If =
anyone can=20
help a poor newbie out, I'd be extremely grateful :)</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Adam</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"mailto:adam@kleifield.com">adam@kleifield.com</A></FONT></DIV></B=
ODY></HTML>

------=_NextPart_000_001B_01C0986E.90FDCAB0--