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

Re: New port: pftop-0.2



I tried to build the new pftop as a port by untarring it into my 
/usr/ports tree.  The system I'm doing this on is an OpenBSD 3.0-stable 
system.  The following errors are what I got when doing 'make'.

===>  Building for pftop-0.2
cc -O2   -Wall -DOS_LEVEL=32   -nostdinc -idirafter /usr/include -c 
pftop.c
pftop.c:181: `PF_RULE_LABEL_SIZE' undeclared here (not in a function)
pftop.c:181: initializer element is not constant
pftop.c:181: (near initialization for `fields[11].max_width')
pftop.c: In function `print_fld_state':
pftop.c:1066: `PFUDPS_NSTATES' undeclared (first use in this function)
pftop.c:1066: (Each undeclared identifier is reported only once
pftop.c:1066: for each function it appears in.)
pftop.c:1068: `PFUDPS_NAMES' undeclared (first use in this function)
pftop.c:1071: `PFOTHERS_NSTATES' undeclared (first use in this function)
pftop.c:1074: `PFOTHERS_NAMES' undeclared (first use in this function)
pftop.c: In function `print_state':
pftop.c:1195: request for member `nr' in something not a structure or 
union
pftop.c: In function `print_rule':
pftop.c:1296: structure has no member named `label'
pftop.c:1299: structure has no member named `states'
*** Error code 1

Stop in /usr/local/ports/sysutils/pftop/w-pftop-0.2/pftop-0.2.
*** Error code 1

Stop in /usr/ports/sysutils/pftop (line 1665 of 
/usr/ports/infrastructure/mk/bsd.port.mk).

Any help would be appreciated.

Thanks.

On Thursday, September 5, 2002, at 12:39  AM, Can Erkin Acar wrote:

> Attached is a port for pftop-0.2
>
> pftop is a small curses-based utility for displaying
> active pf states and rules in real-time.
>
> pftop homepage: http://www.eee.metu.edu.tr/~canacar/pftop/
>
> please test and comment on both the port and the utility
> since I am maintaining both ;)
>
> MD5 (pftop.tar.gz) = c3f4f0fde9db29176012a24288a91075
>
> Thanks
>
> Can
> <pftop.tar.gz>
-- 
Jordan Klein                 ~  Beware of dragons
haplo@haplo.net              ~  for you are crunchy
Solaris / AIX / Linux Admin  ~  and go well with ketchup