trouble compiling netstat on 2.1.17

Alessandro Suardi (asuardi@uninetcom.it)
Tue, 31 Dec 1996 12:30:12 +0100


Hello,

compiling netstat from 1.32-alpha on 2.1.17 yields this:

-------------------------------------------------------------------------
make[1]: Leaving directory `/usr/ftp/net-tools-1.32-alpha/lib'
gcc -O2 -Wall -fomit-frame-pointer -I. -Ilib -c netstat.c -o netstat.o
netstat.c: In function `netlink_print':
netstat.c:135: storage size of `buf' isn't known
netstat.c:135: warning: unused variable `buf'
netstat.c:137: warning: `s' might be used uninitialized in this function
make: *** [netstat.o] Error 1
-------------------------------------------------------------------------

in fact I can't find any place where struct netlink_rtinfo
is defined. Any hints ?

Thanks in advance,

--alessandro <asuardi@uninetcom.it> <asuardi@it.oracle.com>

Linux kernel-2.1.17 libc-5.4.17 gcc-2.7.2.1 binutils-2.7.0.3