Did you build the compression library located in <ntop root>/gdchart0.94c/zlib-1.1.3 ?
compress and uncompress are defined in this library. Madhav Diwan wrote: > > Hi everyone :) > I experienced a compile error on redhat 7.1 with kernel version > 2.4.9-12 useing the latest source ntop-01-11-09.tgz > can you help? The details are below. > > ****configure seems to have done fine: > > ( > Step 9. Semi-Automatic files generation.... > > creating ./config.status > creating version.c > > This is your ntop 2.0.0 configuration: > > Host System Type : i686-pc-linux-gnu > Compiler (cflags) : gcc -g -O2 -pipe -DHAVE_CONFIG_H > Include path : -I/usr/include/pcap -I/usr/include/openssl > System Libs : -lpthread -lresolv -lnsl -ldl > Core Libs : -lpcap -lgdbm > Additional Libs : -L/usr/lib/mysql -lmysqlclient -lcrypt -lm -lssl > -lcrypto > LBL pcap in : semi-standard installation > GNU gdbm in : > MultiThread mode : yes > Install path : /usr/local > > Now type 'make' or 'gmake' (GNU make) on *BSD and Solaris > systems to build ntop 2.0.0. > ) > > ***make looked like it was going quite well until the final few lines of > output: > > /bin/sh ./libtool --mode=link gcc -g -O2 -pipe -o ntop main.o > libntopreport.la libntop.la -lpthread -lresolv -lnsl -ldl > -L/usr/lib/mysql -lmysqlclient -lcrypt -lm -lssl -lcrypto > gcc -g -O2 -pipe -o .libs/ntop main.o .libs/libntopreport.so > -L/usr/lib/mysql -lmysqlclient -lcrypt -lm -lssl -lcrypto -lpthread > -lresolv -lnsl -ldl -lmysqlclient -lcrypt -lm -lssl -lcrypto > libs/libntop.so -lpcap -lgdbm -lpthread -lresolv -lnsl -ldl > -lmysqlclient -lcrypt -lm -lssl -lcrypto -lpthread -lresolv -lnsl -ldl > -L/usr/lib/mysql -lmysqlclient -lcrypt -lm -lssl -lcrypto -Wl,--rpath > -Wl,/usr/local/lib > libs/libntop.so: undefined reference to `uncompress' <-----WHATS > this?????? > libs/libntop.so: undefined reference to `compress' > collect2: ld returned 1 exit status > make[2]: *** [ntop] Error 1 > make[2]: Leaving directory `/home/user/NOVEMBER/ntop-current/ntop' > make[1]: *** [all-recursive] Error 1 <-----WHY?? is this > because of Error 1? > make[1]: Leaving directory `/home/user/NOVEMBER/ntop-current/ntop' > make: *** [all-recursive-am] Error 2 > [user@fglab ntop]$ > > to build this i used : > > GNU ld version 2.10.91 (with BFD 2.10.91.0.2) > gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-85) > kernel 2.4.9-12 #1 Tue Oct 30 18:33:49 EST 2001 i686 unknown > GNU Make version 3.79.1, > > my questions are: > > how do i fix this? > > how do i find out where it went wrong? > > and > > Why me? (optional .. but fun ;) > > thank you for any help > > Madhav Diwan > > Note: The information contained in this message may be privileged and confidential >and protected from disclosure. If the reader of this message is not the intended >recipient, or an employee or agent responsible for delivering this message to the >intended recipient, you are hereby notified that any dissemination, distribution or >copying of this communication is strictly prohibited. If you have received this >communication in error, please notify us immediately by replying to the message and >deleting it from your computer. Thank you. Wagner Weber & Williams > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listmanager.unipi.it/mailman/listinfo/ntop -- Fr�d�ric Hermann | Soci�t� Ferma Administrateur r�seau, Ferma Grenoble | 31 ch. du vieux ch�ne Tel : +33 (0)4 76 61 79 01 | ZIRST Fax : +33 (0)4 76 61 79 59 | 38240 MEYLAN FRANCE _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listmanager.unipi.it/mailman/listinfo/ntop
