[tulip] Compile errors with 2.2.16-21

David Shochat shochat@acm.org
Sun, 08 Oct 2000 22:33:36 -0400


I upgraded my kernel to 2.2.16-21 (to solve a video problem) and now
when I try to compile tulip.c I get errors which I didn't get with
2.2.16-3 (nor with 2.2.14). pci-scan compiles fine. This is version
0.92. I checked the ftp site and that appears to be the latest.

$ gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c tulip.c
In file included from /usr/include/asm/hardirq.h:6,
                 from /usr/include/linux/interrupt.h:45,
                 from tulip.c:148:
/usr/include/linux/irq.h:53: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
                 from tulip.c:148:
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from tulip.c:148:
/usr/include/linux/interrupt.h:142: requested alignment is not a
constant
In file included from tulip.c:150:
/usr/include/linux/netdevice.h:151: requested alignment is not a
constant
In file included from tulip.c:150:
/usr/include/linux/netdevice.h:448: requested alignment is not a
constant
tulip.c: In function `tulip_open':
tulip.c:1437: structure has no member named `tbusy'
tulip.c:1438: structure has no member named `start'
tulip.c: In function `tulip_start_xmit':
tulip.c:2530: structure has no member named `tbusy'
tulip.c:2563: structure has no member named `tbusy'
tulip.c: In function `tulip_interrupt':
tulip.c:2582: structure has no member named `interrupt'
tulip.c:2586: structure has no member named `interrupt'
tulip.c:2667: structure has no member named `tbusy'
tulip.c:2671: structure has no member named `tbusy'
tulip.c:2672: `NET_BH' undeclared (first use in this function)
tulip.c:2672: (Each undeclared identifier is reported only once
tulip.c:2672: for each function it appears in.)
tulip.c:2757: structure has no member named `interrupt'
tulip.c: In function `tulip_close':
tulip.c:2903: structure has no member named `start'
tulip.c:2904: structure has no member named `tbusy'
tulip.c: In function `tulip_get_stats':
tulip.c:2943: structure has no member named `start'
tulip.c: In function `set_rx_mode':
tulip.c:3182: structure has no member named `tbusy'