Hello, I'm trying to get pftop-0.6 to compile from source on a FreeBSD 6.0 machine. I downloaded pftop-0.6.tar.gz from the author's website, extracted the contents to the machine, and ran "make" as root. However, the build fails. The output is as follows: ---------------- # make cc -O2 -fno-strict-aliasing -pipe -Wall -DOS_LEVEL= -c /root/pftop-0.6/pftop.c In file included from /root/pftop-0.6/pftop.c:33: /root/pftop-0.6/config.h:22:14: operator '>' has no left operand /root/pftop-0.6/config.h:31:14: operator '>' has no left operand /root/pftop-0.6/config.h:42:14: operator '>' has no left operand /root/pftop-0.6/config.h:50:14: operator '>' has no left operand /root/pftop-0.6/config.h:56:14: operator '>' has no left operand /root/pftop-0.6/config.h:61:14: operator '>' has no left operand /root/pftop-0.6/config.h:65:14: operator '>' has no left operand /root/pftop-0.6/pftop.c:79:1: warning: "PFUDPS_NAMES" redefined In file included from /root/pftop-0.6/pftop.c:43: /usr/include/net/pfvar.h:1101:1: warning: this is the location of the previous definition /root/pftop-0.6/pftop.c:89:1: warning: "PFOTHERS_NAMES" redefined /usr/include/net/pfvar.h:1115:1: warning: this is the location of the previous definition /root/pftop-0.6/pftop.c:171:1: warning: "PF_RULE_LABEL_SIZE" redefined /usr/include/net/pfvar.h:582:1: warning: this is the location of the previous definition /root/pftop-0.6/pftop.c: In function `sort_size_callback': /root/pftop-0.6/pftop.c:408: warning: initialization makes integer from pointer without a cast /root/pftop-0.6/pftop.c:409: warning: initialization makes integer from pointer without a cast /root/pftop-0.6/pftop.c: In function `sort_pkt_callback': /root/pftop-0.6/pftop.c:427: warning: initialization makes integer from pointer without a cast /root/pftop-0.6/pftop.c:428: warning: initialization makes integer from pointer without a cast /root/pftop-0.6/pftop.c: In function `print_state': /root/pftop-0.6/pftop.c:969: warning: passing arg 2 of `print_fld_size' makes integer from pointer without a cast /root/pftop-0.6/pftop.c:970: warning: passing arg 2 of `print_fld_size' makes integer from pointer without a cast /root/pftop-0.6/pftop.c:972: error: pointer value used where a floating point value was expected /root/pftop-0.6/pftop.c: In function `tb_print_fromto': /root/pftop-0.6/pftop.c:1340: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1340: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1340: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1340: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1340: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1341: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1341: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1341: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1341: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1341: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1343: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1343: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1343: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1343: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1343: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1344: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1344: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1344: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1344: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1344: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1351: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1351: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1351: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1351: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1351: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1352: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1352: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1352: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1352: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1352: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1358: error: structure has no member named `not' /root/pftop-0.6/pftop.c:1364: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1364: warning: passing arg 1 of `tb_print_addr' from incompatible pointer type /root/pftop-0.6/pftop.c:1376: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1376: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1376: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1376: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1376: error: structure has no member named `pfa' /root/pftop-0.6/pftop.c:1377: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1377: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1377: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1377: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1377: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1383: error: structure has no member named `not' /root/pftop-0.6/pftop.c:1389: error: structure has no member named `mask' /root/pftop-0.6/pftop.c:1389: warning: passing arg 1 of `tb_print_addr' from incompatible pointer type *** Error code 1
Stop in /root/pftop-0.6. ---------------- I got similar output trying to compile pftop-0.7 (the most recent version), as well as both packages on a FreeBSD 7.0 machine. Any thoughts on why the build fails? Thanks! Shaddi _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[email protected]"
