1, Understand that the --disable-mt option is provided for those OSes without thread support.
At best you are going to single thread a lot of processing, such that ntop can only handle ONE packet at a time. With any traffic volume you will certainly lose packets. On OSes with threads, using --disable-mt is somewhere between stupid and suicidal. The problem is a couple of HEARTBEAT lines that aren't #ifdef for the multithreaded option. I'll commit those. 2. ./configure is NOT lying when it says config.guess value compiler OS name Status ------------------ --------- --------- --------------- ... openbsd3.1* *gcc OPENBSD WILLFAIL openbsd* * OPENBSD UNTESTED ... OpenBSD 3.1 doesn't work. There is some effort going on with 3.2, but we've not been successful. I haven't yet updated ./configure, but right now it's OpenBSD 3.1/3.2 is WILLFAIL 3. autoconf 2.13 is unsupported since November 2002. The latest ./configure should not even let you attempt it. -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of julien Touche Sent: Sunday, February 09, 2003 6:49 AM To: [EMAIL PROTECTED] Subject: [Ntop] ntop compile with --disable-mt hi when i try to disable mt, i get at compile: gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/include -I/usr/local/include -I/share2/tmp/ntop-cvs/gdchart0.94c -I/usr/local/include -I/share2/tmp/ntop-cvs/gdchart0.94c/gd-1.8.3/libpng-1.2.4 -I/usr/local/include/libxml -I/usr/local/include/glib-1.2 -I/usr/local/include -DOPENBSD -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -DOPENBSD -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -c hash.c -Wp,-MD,.deps/hash.TPlo -fPIC -DPIC -o .libs/hash.lo hash.c: In function `freeHostInstances': hash.c:398: structure has no member named `tcpSessionsMutex' hash.c:399: structure has no member named `tcpSessionsMutex' hash.c:400: structure has no member named `tcpSessionsMutex' hash.c:403: structure has no member named `tcpSessionsMutex' hash.c:404: structure has no member named `tcpSessionsMutex' hash.c:405: structure has no member named `tcpSessionsMutex' hash.c: In function `purgeIdleHosts': hash.c:559: structure has no member named `tcpSessionsMutex' hash.c:560: structure has no member named `tcpSessionsMutex' hash.c:561: structure has no member named `tcpSessionsMutex' hash.c:564: structure has no member named `tcpSessionsMutex' hash.c:565: structure has no member named `tcpSessionsMutex' hash.c:566: structure has no member named `tcpSessionsMutex' use on debian with: ./configure --prefix=/opt --enable-sslv3 --enable-xmldump --with-tcpwrap --with-xml2-root=/usr/include/libxml2/libxml --with-glib-root=/usr/include/glib-1.2 --with-glibconfig-root=/usr/lib/glib/include --with-gdome-root=/usr/include/libgdome --disable-mt or ./configure --prefix=/opt --disable-mt on openbsd with: ./configure --prefix=/opt --enable-sslv3 --with-tcpwrap --disable-mt with cvs from feb 7th in each case this pb appears on two systems: - debian 3woody/i386 / autoconf 2.13, automake 1.6.3, gcc 2.95.4 (all deb) - OpenBSD 3.2-stable/i386 / autoconf 2.52(port),automake 1.6.3(manual), gcc2.95.3(base) Regards Julien _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
