Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Sep 2004 03:44:45 -0000
From:      "Max Laier" <max@love2party.net>
To:        <pf4freebsd@freelists.org>
Subject:   [pf4freebsd] Re: pftop
Message-ID:  <000901c35c74$eb8639f0$01000001@max900>
References:  <003501c35b54$c5187240$01000001@max900> <3F301BE0.1040103@BSDsystems.de> <1060129200.3f3049b09d4fa@mail.fluidhosting.com> <1060205566.3f3173fe72132@mail.fluidhosting.com> <00ba01c35c65$04036710$01000001@max900> <1060212294.3f318e46db813@mail.fluidhosting.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c35c74$eb8639f0$01000001>