[tulip] NC100 NIC card, tulip driver won't compile.

David Shochat shochat@acm.org
Wed, 22 Nov 2000 17:24:00 -0500


What does uname -r give?
Just a hunch that this is the "wrong kernel headers" problem.

Phil Barone wrote:

> Hi All,
>   Hopefully someone can give me some help here. My fun little project here
> is turning into a nightmare. I have a Linksys Network Everywhere NC100 card
> that supposedly uses the tulip driver.
> 
>   I am going crazy trying to compile tulip.c. I have tried many suggestions
> but keep getting basically the same errors. I think I just need to include
> some library or somthing but don't know how or where. Here are my errors:
> 
> [root@localhost inet]#
> gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototype
> s -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] &&
> echo -DMODVERSIONS`
> 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'
> [root@localhost inet]#
> 
> Can you please help?
> 
> Phil Barone (e-mail: pbarone@cfl.rr.com)
> ICQ 34117606
> 
> 
> _______________________________________________
> tulip mailing list
> tulip@scyld.com
> http://www.scyld.com/mailman/listinfo/tulip
> 
>