[tulip] Troubles compiling Tulip under Mandrake 7.2

Adam J. Kleifield adam@kleifield.com
Sat, 17 Feb 2001 00:51:15 -0800


Thanks for the reply!

I'll try that out. The Mandrake install did offer a Tulip driver, but it
failed to set up automatically, and it requested all these variables which I
had no idea what to set to. I'll give this RPM a try... thanks again!


----- Original Message -----
From: "Matthew Johnson" <matthew@psychohorse.com>
To: "Adam J . Kleifield" <adam@kleifield.com>
Cc: <tulip@scyld.com>
Sent: Saturday, February 17, 2001 12:47 AM
Subject: Re: [tulip] Troubles compiling Tulip under Mandrake 7.2


> Hello Adam,
>
>   Welcome to Linux, I know this may sound silly right now, but Linux is
pretty
> easy, just different!
>
> Anyway, you do not need to use those drivers that came with your card. Its
very
> likely they are old. Most distrobutions will come with those modules
already on
> the system (although not always as new as they should be) and all you need
to
> do is either run there setup utility, which I do not know what it is, or
rebuild
> the rpm and install that). This link has the source rpm
> http://www.scyld.com/network/updates.html You will notice a link to
> ftp://ftp.scyld.com/pub/network/netdriver-2.1.src.rpm.
>
> Having said that you should not need it! Unless you want to update the
modules.
> Is it drakconf on Mandrake that takes you through the steps? There are a
number
> of steps to manually setup networking...If you are new you probably just
want
> to get up running for now, then explore later...
>
> Let me know if this helps,
>
> Matt
>
> On Fri, 16 Feb 2001 23:17:01 Adam J. Kleifield wrote:
> > 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
>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML><HEAD>
> > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
> > <META content="MSHTML 5.50.4611.1300" name=GENERATOR>
> > <STYLE></STYLE>
> > </HEAD>
> > <BODY bgColor=#ffffff>
> > <DIV><FONT face=Arial size=2>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.</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>First I extracted the netdrivers.tgz from
the
> > Linksys drivers disk&nbsp;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:</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>*** No rule to make target
> > '/usr/src/linux/drivers/net/8390.h', needed by 'ne2k-pci.o". Stop.
> > ***</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>Then I just tried compiling tulip.c with
this
> > command:</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>gcc -DMODULE -D__KERNEL__ -Wall
> -Wstrict-prototypes
> > -O6 -c tulip.c `[ -f /usr/include/linus/modversions.h ] &amp;&amp; echo
> > -DMODVERSIONS`</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>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&nbsp;driver
> installation
> > if I'm just able to make the tulip.o file, but I have been
> unsuccesful&nbsp;thus
> > far.&nbsp;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 :)</FONT></DIV>
> > <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
> > <DIV><FONT face=Arial size=2>-Adam</FONT></DIV>
> > <DIV><FONT face=Arial size=2><A
> >
href="mailto:adam@kleifield.com">adam@kleifield.com</A></FONT></DIV></BODY><
/HTML>
>
>
>
> _______________________________________________
> tulip mailing list
> tulip@scyld.com
> http://www.scyld.com/mailman/listinfo/tulip
>