hi,
Did anybody succeed in installing polygraph on freeBSD 4.1? I just
installed freeBSD and the latest version is 4.1. When I tried to
install polygraph-2.5.4 (and later tried 2.5.1) on it, I did
cd /usr/local/src/polygraph-2.5.4
./configure --prefix=/usr/local/polygraph-2.5.4
make all
then it stopped with the following compilation error:
......
Stop in /usr/local/src/polygraph-2.5.1/src/tools.
c++ -o polymon -lm polymon.o ../../src/runtime/libruntime.a
../../src/base/libbase.a ../../src/xstd/libxstd.a -lncurses
c++ -o udp2tcpd -lm udp2tcpd.o ../../src/runtime/libruntime.a
../../src/base/libbase.a ../../src/xstd/libxstd.a
c++ -o pgl_test -lm pgl_test.o libpgl.a ../../src/xparser/libxparser.a
../../src/base/libbase.a ../../src/xstd/libxstd.a
c++ -o piper.o -c ./piper.cc -g -O3 -Wall -Wwrite-strings
-Woverloaded-virtual -I../.. -I../../src/ -I../../src/base
-I../../src/pgl -I../../src/tools -I../../src/xparser -I../../src/xstd
-DHAVE_CONFIG_H
./piper.cc: In function `void addPipe(const NetPipeSym *, const NetAddr &,
Time, bool)':
./piper.cc:220: `struct NetPipe' has no member named `queue_size'
./piper.cc:221: `struct NetPipe' has no member named `queue_size_bytes'
./piper.cc:226: `struct NetPipe' has no member named `plr'
*** Error code 1
Stop in /usr/local/src/polygraph-2.5.1/src/tools.
c++ -o cdb -lm cdb.o libcsm.a ../../src/runtime/libruntime.a
../../src/pgl/libpgl.a ../../src/xparser/libxparser.a
../../src/base/libbase.a ../../src/xstd/libxstd.a
--------------------
The kernel was recompiled with options IPFIREWALL and DUMMYNET.
I checked /usr/include/netinet/ip_dummynet.h, indeed there is no such
members for struct NetPipe, which is derived from dn_pipe. dn_pipe
contains a struct dn_flow_set fs. Struct dn_flow_set contains a member
plr, but no queue_size or queue_size_bytes. So what am I doing wrong
here? or I should use release 3.4 or another older but stable release
of freeBSD?
thanks in advance,
Rui
--- Rui Liu
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:14 MDT