LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-22-2003, 02:14 PM   #1
Registered: Mar 2003
Distribution: RedHat 8.0 (just upgraded)
Posts: 38

Rep: Reputation: 15
Smile using gcc to compile tulip.c

Let's try this again...
I am not trying to be lazy this time, I have been trying to figure this out for a matter of weeks now.
I am certain that the tulip.o driver is not already on my system, because I looked in /lib/modules/2.2.16-22/net...or some path to that effect. Anyway, I have the C program, and I just need to compile it, and the reason why I needed (or thought I needed) kgcc is because when I tried it with just gcc it first said that you need to use the -O option, so I did, then it came up with a bunch of errors in the source, like a whole screen of them, so I don't know if it's the source or what, but I got it from the Linksys site, which is the company that manufactured my card, so I wouldn't think the source would be that faulty. Anyway, any help would be awesome!

Thanks much,
Old 03-22-2003, 02:34 PM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971Reputation: 1971
i'd suggest upgrading your system to a slightly less ancient distro, you're even on a 2.2 kernel, that's almost 3 years old.... things move fast round here... if you upgrade to say, redhat 7.3 or 8 or a similarly new distro then the driver should be there just fine.
Old 03-22-2003, 02:40 PM   #3
Registered: Mar 2003
Distribution: RedHat 8.0 (just upgraded)
Posts: 38

Original Poster
Rep: Reputation: 15

Ok, yeah, sounds good.
Thanks a lot!
Old 03-22-2003, 07:27 PM   #4
Registered: Mar 2003
Distribution: Slackware
Posts: 234

Rep: Reputation: 30
alternatively, learn how to compile a kernel (if you haven't already) and download an updated Kernel (v2.2 preferably, since that's what your system uses already, or, v2.4 if you read the.. CHANGES file I believe. That should tell you what you need to upgrade in your distribution to get v2.4 to work properly.)

tulip's been around for ages though. If you have a complied kernel source tree, it will be in there somewhere as tulip.c. Now I think it's tulip2.c or something like that, but that wasn't implimented until 2.4, I think? *shrug* not important.

You don't need to upgrade your whole Distrubition to get a network card to work.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I compile Tulip c. for linksys Nc100 v2.1 Tis Linux - Networking 2 02-21-2005 10:06 PM
Compile tulip.c to tulip.o? WKoepp Linux - General 10 11-06-2003 10:15 AM
Tulip and gcc jshall98 Linux - Newbie 4 02-21-2003 04:00 AM
tulip.c compile errors? Chypmunk Linux - Software 5 01-31-2002 05:58 PM
cannot compile tulip.c atari303 Linux - Newbie 6 10-21-2001 06:29 AM

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration