[tulip] NetGear FA511 card acting erratically

magicfox magicfox at magic.fr
Thu Jul 1 00:52:21 PDT 2004


Vsevolod (Simon) Ilyushchenko wrote: :

> I tried to compile the version of tulip.c that I downloaded from 
> ftp.scyld.com (0.98, 1/8/2004), but I got this error:
> ...
> ns820.c: In function `ns820_probe1':
> ns820.c:526: error: `change_mtu' undeclared (first use in this function)
> ns820.c:526: error: (Each undeclared identifier is reported only once
> ns820.c:526: error: for each function it appears in.)
> ns820.c: At top level:
> ns820.c:798: error: `change_mtu' used prior to declaration
> ns820.c:798: warning: `change_mtu' defined but not used
> make: *** [ns820.o] Error 1
> 
> Any help will be appreciated.
> 
> Thanks,
> Simon

This symbol is defined in both kernel headers as reporting a grep for me.
$ grep -R change_mtu /usr/src/linux/include/*
/usr/src/linux/include/linux/netdevice.h:       int 
(*change_mtu)(struct net_device *dev, int new_mtu);

Something wrong with your kernel include ?
Try to add:
-I/usr/src/linux/include
in your command line.

Best regards.


More information about the tulip mailing list