LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   using gcc to compile tulip.c (https://www.linuxquestions.org/questions/linux-networking-3/using-gcc-to-compile-tulip-c-51192/)

Zeke 03-22-2003 01:14 PM

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
:Pengy:

acid_kewpie 03-22-2003 01:34 PM

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.

Zeke 03-22-2003 01:40 PM

ok
 
Ok, yeah, sounds good.
Thanks a lot!

Blindsight 03-22-2003 06:27 PM

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.


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