[pf4freebsd] Re: pftop

Max Laier max at love2party.net
Wed Sep 15 20:44:45 PDT 2004


> Doesn't build for me...
>
> >> pftop-0.3.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> >> Attempting to fetch from http://www.eee.metu.edu.tr/~canacar/.
> Receiving pftop-0.3.tar.gz (12855 bytes): 100%
> 12855 bytes transferred in 0.4 seconds (29.71 kBps)
> ===>  Extracting for pftop-0.3
> >> Checksum OK for pftop-0.3.tar.gz.
> ===>  Patching for pftop-0.3
> ===>  Applying FreeBSD patches for pftop-0.3
> ===>  Configuring for pftop-0.3
> ===>  Building for pftop-0.3
> Warning: Object directory not changed from original
> /pf/pf_freebsd_1.60/contrib/pftop/work/pftop-0.3
> cc -O -pipe -mcpu=pentiumpro -Wall -DOS_LEVEL=33    -c pftop.c
> pftop.c:41:23: net/pfvar.h: No such file or directory

hmmm ... your Makefile seems messed up. In the correct Makefile you have:
CFLAGS+=        -I${.CURDIR}/../../include

Which produces output like:
cc -O -pipe -mcpu=pentiumpro -I/somewhere/pf_freebsd_1.60/contrib/pftop/../.
./include -mcpu=pentiumpro -Wall -DOS_LEVEL=33    -c pftop.c

Please check that ... here it builds without any problem.





More information about the freebsd-pf mailing list