Nettools 1.3.6b5 and 1.99.2

Ross Alexander (r.alexander@auckland.ac.nz)
Mon, 13 May 1996 10:20:11 +1200 (NZT)


I cannot compile the latest nettools because of problems in the header

> make[1]: Entering directory `/tmp/net-tools-1.3.6-BETA5/nls'
> Making catalogs ...
> en_US.88591
> fr_FR.88591
> de_DE.88591
> Making NLS header files ...
> make[1]: Leaving directory `/tmp/net-tools-1.3.6-BETA5/nls'
> make[1]: Entering directory `/tmp/net-tools-1.3.6-BETA5/lib'
> cc -O6 -Wall -I. -I.. -Ilib -I../lib -DLINUX -c ax25.c -o ax25.o
> In file included from ax25.c:28:
> /usr/include/linux/if_arp.h:123: `MAX_ADDR_LEN' undeclared here (not in a function)
> make[1]: *** [ax25.o] Error 1
> make[1]: Leaving directory `/tmp/net-tools-1.3.6-BETA5/lib'
> make: *** [subdirs] Error 2

MAX_ADDR_LEN is defined in linux/netdevices.h but included by if_arp.h.

Is the an error in the linux headers or should I modify the net tools
sources?

Many thanks

Ross