Re: Problems with libgtop



On Wed, Nov 25, 1998 at 06:09:13PM +0100, Giovanni Intini wrote:
> I'm having the following errors compiling libgtop (kernel 2.1.129)
> 
> 
> In file included from netload.c:33: /usr/include/linux/ip_fw.h:39: parse
[lots of errors deleted]
> /usr/include/linux/ip_fw.h:123: field `fwp_tcph' has incomplete type
> /usr/include/linux/ip_fw.h:124: field `fwp_udph' has incomplete type
> /usr/include/linux/ip_fw.h:125: field `fwp_icmph' has incomplete type
> /usr/include/linux/ip_fw.h:148: parse error before `__u32'
> /usr/include/linux/ip_fw.h:148: warning: no semicolon at end of struct or union
> /usr/include/linux/ip_fw.h:150: parse error before `}'
> /usr/include/linux/ip_fw.h:155: parse error before `__u32'
> /usr/include/linux/ip_fw.h:155: warning: no semicolon at end of struct or union
> /usr/include/linux/ip_fw.h:158: parse error before `}'
> netload.c: In function `glibtop_get_netload_s':
> netload.c:202: `IP_FW_F_ACCTIN' undeclared (first use this function)
> netload.c:202: (Each undeclared identifier is reported only once
> netload.c:202: for each function it appears in.)
> netload.c:213: `IP_FW_F_ACCTOUT' undeclared (first use this function)

It's because libgtop isn't written to handle ipchains.  If anyone would be
kind enough to write a patch, that would be nice.  I've started work on
one, but I'm not really that with C so I haven't gotten it to work yet.

-- 
 Soren Harward <soren@cinternet.net> | Windows DOES come with a tool
 http://www.soren.cinternet.net/     | to restore a corrupt Registry.
 Internet Information Systems Admin  |
 Cinternet, Inc.  (513) 891-1228     | It's called FDISK.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]