[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New port: pftop-0.2
The patch in sysutils/pftop/patches sets the OSLEVEL to -current. If you
remove that patch, it will probably compile fine.
--
Cam
On Thu, 5 Sep 2002, Jordan Klein wrote:
> 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.