LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-22-2003, 01:14 PM   #1
Zeke
Member
 
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,
Zeke
 
Old 03-22-2003, 01:34 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,373

Rep: Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962Reputation: 1962
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, 01:40 PM   #3
Zeke
Member
 
Registered: Mar 2003
Distribution: RedHat 8.0 (just upgraded)
Posts: 38

Original Poster
Rep: Reputation: 15
ok

Ok, yeah, sounds good.
Thanks a lot!
 
Old 03-22-2003, 06:27 PM   #4
Blindsight
Member
 
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.
 
  


Reply


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 09:06 PM
Compile tulip.c to tulip.o? WKoepp Linux - General 10 11-06-2003 09:15 AM
Tulip and gcc jshall98 Linux - Newbie 4 02-21-2003 03:00 AM
tulip.c compile errors? Chypmunk Linux - Software 5 01-31-2002 04:58 PM
cannot compile tulip.c atari303 Linux - Newbie 6 10-21-2001 05:29 AM


All times are GMT -5. The time now is 10:19 AM.

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