Can't be me - I don't have access to the CVS... Try updating again: ---------------------------- revision 2.38 date: 2002/04/12 13:00:58; author: deri; state: Exp; lines: +0 -5 Minor fixes ---------------------------- revision 2.37 date: 2002/04/11 17:18:34; author: deri; state: Exp; lines: +7 -9 Enabled CGI support Added fix # 53 courtesy of Burton Strauss ----------------------------
[bstrauss@tigger cvs]$ cvs diff -U2 -r 2.37 -r 2.38 main.c Index: main.c =================================================================== RCS file: /export/home/ntop/ntop/main.c,v retrieving revision 2.37 retrieving revision 2.38 diff -U2 -r2.37 -r2.38 --- main.c 2002/04/11 17:18:34 2.37 +++ main.c 2002/04/12 13:00:58 2.38 @@ -708,9 +708,4 @@ initPassiveSessions(); - /* - * Initialize the logging database - */ - initLogger(); - #ifdef HAVE_OPENSSL init_ssl(); If you manually updated main.c with my patch, then delete it and re-retrieve from the CVS - it's likely to have seen your local change as more recent... -----Burton -----Original Message----- From: Christian Hammers [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 4:57 AM To: Burton M. Strauss III Cc: [EMAIL PROTECTED] Subject: broken cvs? logMessage() missing? Hi Burton you did some CVS changes today, can it be that you accidently broke something? bye, -christian- make distclean cvs update -A ./configure \ --prefix=/usr/local/ntop-eth$1/ \ --enable-optimize \ --disable-mysql \ --disable-ssl \ --disable-readline \ --disable-curses \ --disable-gdchart \ --disable-tcpwrap \ --disable-static \ --disable-intop make ... gcc -DHAVE_CONFIG_H -I. -g -O2 -pipe -funroll-loops -fstrength-reduce -f omit-frame-pointer -ffast-math -c main.c /bin/sh ./libtool --mode=link gcc -g -O2 -pipe -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffa st-math -o ntop main.o libntopreport.la libntop.la -lpthread -lresolv -lnsl -lc -ldl -lcrypt -lwrap -lz gcc -g -O2 -pipe -funroll-loops -fstrength-reduce -fomit-frame-pointer -ffas t-math -o .libs/ntop main.o ./.libs/libntopreport.so ./.libs/libntop.so -lpcap -lgdbm -lpthread -lresolv -lnsl -lc -ldl -lcrypt - lwrap -lz -Wl,--rpath -Wl,/usr/local/ntop-eth1//lib main.o: In function `main': /tmp/ntop/ntop/main.c:713: undefined reference to `initLogger' ./.libs/libntop.so: undefined reference to `logMessage' ./.libs/libntop.so: undefined reference to `termLogger' collect2: ld returned 1 exit status make[2]: *** [ntop] Error 1 # grep -rs initLogger * globals-core.h:extern void initLogger(void); main.c: initLogger(); Binary file main.o matches obsolete/logger.c:void initLogger(void) { Not as obsolete as it seems?! -- Christian Hammers WESTEND GmbH - Aachen und Dueren Tel 0241/701333-0 [EMAIL PROTECTED] Internet & Security for Professionals Fax 0241/911879 WESTEND ist CISCO Systems Partner - Authorized Reseller _______________________________________________ Ntop-dev mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop-dev
