kernel version needed error, and v89i compile problem

Karl Vogel kvo@seagha.com
Fri Aug 7 02:55:58 1998


On Thu, 6 Aug 1998, Robert Burton wrote:

> I have two separate problems, one with the tulip.c v89H and one with tulip.c
> v89I
> 
> I am trying to replace an ISA NE2000 card with a PCI Netgear FA 310TX card. 
> 
> After getting everything in, I tried to load the tulip.o module (v89H) and I
> get this error: "kernerl_version needed, but can't be found"
> I tried recompiling and that seemd to go fine. I tried looking at the source
> code some but quickly found it to be out of my league. The card is picked up
> by the BIOS and when doing a 'cat /proc/pci' the card information is there.
> 
> 2nd problem. Try a newer driver, which there is one. But the 89I version
> wouldn't even compile, using the compile command at the end of the tulip.c
> file, I get:
> 
> tulip.c: In function `tulip_probe':
> tulip.c:511: `PCI_VENDOR_ID_LITEON' undeclared (first use this function)
> tulip.c:511: (Each undeclared identifier is reported only once
> tulip.c:511: for each function it appears in.)
> 
> I checked the source and found no other instances of PCI_VENDOR_ID_LITEON, so
> maybe I'm missing a header file? Again driver programming is a little beyond
> me.
> 
> Any help with either of these problems would be greatly appreciated.
> 
> I am using RedHat 4.0, kernel 2.0.18, nothing specially modified with the

I think this is your problem! The driver compiles fine on my RH5.1 system
using kernel v2.0.35 (although it doesn't work on my de4x5 card)

> machine at all. There is a 3Com 905b card in the machine and the Netgear card
> is replacing a NE2000 ISA card. I will be moving to RedHat 5.1 soon, so if I
> should do that first please let me know.


Karl.

  // Electronic Mail - SMTP: kvo@seagha.com
\X/                  - X400: c=BE; a=RTT; p=SEAGHA; s=VOGEL; g=KARL