Quando provo a compilare ntop, ottengo il segunete errore:
 
 
/bin/sh ./libtool --mode=link gcc  -g -O2 -pipe  -o libntop.la -rpath /usr/local/lib -version-info 0:0:0 -release 2.0 -export-dynamic  address.lo dataFormat.lo event.lo globals-core.lo hash.lo initialize.lo leaks.lo logger.lo mysql.lo netflow.lo ntop.lo pbuf.lo plugin.lo qsort.lo regex.lo rules.lo sql.lo ssl.lo term.lo traffic.lo util.lo vendor.lo version.lo -L/usr/local/lib -lpcap -lgdbm -lpthread -lresolv -lnsl -ldl   -L/usr/lib/mysql -lmysqlclient -lcrypt -lm -lssl -lcrypto
rm -fr .libs/libntop.la .libs/libntop.* .libs/libntop-2.0.*
 
*** Warning: This library needs some functionality provided by -lpcap.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** The inter-library dependencies that have been dropped here will be
*** automatically added whenever a program is linked with this library
*** or is declared to -dlopen it.
 
 
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 -L/usr/local/lib -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'
.libs/libntop.so: undefined reference to `compress'
collect2: ld returned 1 exit status
make[2]: *** [ntop] Error 1
make[2]: Leaving directory `/home/paolo/ntop-current/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paolo/ntop-current/ntop'
make: *** [all-recursive-am] Error 2
 
 
Potreste indicarmi come risolvere il problema?
 
 
Grazie in Anticipo
 
 
Paolo

Reply via email to