[tulip] Problems compiling tulip.c

Jonathan Earle jearle@nortelnetworks.com
Mon, 11 Sep 2000 16:54:46 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C01C32.844E2430
Content-Type: text/plain;
	charset="iso-8859-1"


Hi,

I've been trying to compile tulip.c and am not having much luck.  I've tried
the following:

tulip.c:v0.92 4/17/2000
tulip.c:v0.92l 8/19/2000
and
tulip.c:v0.92i 7/31/2000 from the netdrivers.tgz file on
ftp://ftp.scyld.com/pub/network/.  

I've also grabbed the pci-scan.[ch] and kern_compat.h files from the same
location.

Following the instructions at the end of the tulip.c file, I run:

gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c

which gives me, in all three cases:

tulip.c: In function `tulip_open':
tulip.c:1458: structure has no member named `tbusy'
tulip.c:1459: structure has no member named `start'
tulip.c: In function `tulip_start_xmit':
tulip.c:2563: structure has no member named `tbusy'
tulip.c:2596: structure has no member named `tbusy'
tulip.c: In function `tulip_interrupt':
tulip.c:2615: structure has no member named `interrupt'
tulip.c:2619: structure has no member named `interrupt'
tulip.c:2700: structure has no member named `tbusy'
tulip.c:2704: structure has no member named `tbusy'
tulip.c:2705: `NET_BH' undeclared (first use in this function)
tulip.c:2705: (Each undeclared identifier is reported only once
tulip.c:2705: for each function it appears in.)
tulip.c:2794: structure has no member named `interrupt'
tulip.c: In function `tulip_close':
tulip.c:2940: structure has no member named `start'
tulip.c:2941: structure has no member named `tbusy'
tulip.c: In function `tulip_get_stats':
tulip.c:2980: structure has no member named `start'
tulip.c: In function `set_rx_mode':
tulip.c:3223: structure has no member named `tbusy'

The pci-scan.c will compile into a module without complaint.

I'm using RH 6.2, kernel 2.4.0-test4 and test7 on Dell PIII boxes (this test
was conducted against test4).  The cards that this driver will run on is the
Zynx 4port 10/100 adapter.  The tulip driver that comes with the Linux
kernel doesn't work properly (the card will link up with a
hub/switch/traffic generator/etc, but will randomly drop the connection, and
ifdown/ifup will not fix it.)  The stock de4x5 driver works but is somewhat
old and doesn't quite do what I want it to do.

Cheers!
Jon

------_=_NextPart_001_01C01C32.844E2430
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">



Problems compiling tulip.c



Hi,

I've been trying to compile tulip.c and am not having = much luck.  I've tried the following:

tulip.c:v0.92 4/17/2000
tulip.c:v0.92l 8/19/2000
and
tulip.c:v0.92i 7/31/2000 from the netdrivers.tgz = file on ftp://ftp.scyld.com/pub/network/

I've also grabbed the pci-scan.[ch] and kern_compat.h = files from the same location.

Following the instructions at the end of the tulip.c = file, I run:

gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c = tulip.c

which gives me, in all three cases:

tulip.c: In function `tulip_open':
tulip.c:1458: structure has no member named = `tbusy'
tulip.c:1459: structure has no member named = `start'
tulip.c: In function `tulip_start_xmit':
tulip.c:2563: structure has no member named = `tbusy'
tulip.c:2596: structure has no member named = `tbusy'
tulip.c: In function `tulip_interrupt':
tulip.c:2615: structure has no member named = `interrupt'
tulip.c:2619: structure has no member named = `interrupt'
tulip.c:2700: structure has no member named = `tbusy'
tulip.c:2704: structure has no member named = `tbusy'
tulip.c:2705: `NET_BH' undeclared (first use in this = function)
tulip.c:2705: (Each undeclared identifier is = reported only once
tulip.c:2705: for each function it appears = in.)
tulip.c:2794: structure has no member named = `interrupt'
tulip.c: In function `tulip_close':
tulip.c:2940: structure has no member named = `start'
tulip.c:2941: structure has no member named = `tbusy'
tulip.c: In function `tulip_get_stats':
tulip.c:2980: structure has no member named = `start'
tulip.c: In function `set_rx_mode':
tulip.c:3223: structure has no member named = `tbusy'

The pci-scan.c will compile into a module without = complaint.

I'm using RH 6.2, kernel 2.4.0-test4 and test7 on = Dell PIII boxes (this test was conducted against test4).  The = cards that this driver will run on is the Zynx 4port 10/100 = adapter.  The tulip driver that comes with the Linux kernel = doesn't work properly (the card will link up with a hub/switch/traffic = generator/etc, but will randomly drop the connection, and ifdown/ifup = will not fix it.)  The stock de4x5 driver works but is somewhat = old and doesn't quite do what I want it to do.

Cheers!
Jon

------_=_NextPart_001_01C01C32.844E2430--