Dan,
You have to use configure --disable-mysql to disable mysql if you don't use
it. Otherwise it will bring in code that reference external mysql calls.
Francis
-----Original Message-----
From: ntop-admin@unipi.it [mailto:ntop-admin@unipi.it]On Behalf Of Dan
Tucny
Sent: Tuesday, July 03, 2001 7:33 AM
To: ntop@unipi.it
Subject: Re: [Ntop] ntop release 2.0
I just picked up the latest from CVS and got this...
gcc -g -O2 -pipe -o .libs/ntop main.o
.libs/libntopreport.so -L/usr/lib/mysql -lmysqlclient -lcrypt -lm -lpthread
-lresolv -lnsl -ldl -lmysqlclient -lcrypt -lm
.libs/libntop.so -lpcap -lgdbm -lpthread -lresolv -lnsl -ldl -lmysqlclient -
lcrypt -lm -lpthread -lresolv -lnsl -ldl -L/usr/lib/mysql -lmysqlclient -lcr
ypt -lm -Wl,--rpath -Wl,/usr/local/lib
main.o: In function `main':
/root/ntop/ntop/main.c:213: undefined reference to `handlemySQLSupport'
.libs/libntop.so: undefined reference to `mySQLupdateHostNameInfo'
.libs/libntop.so: undefined reference to `mySQLnotifyTCPSession'
.libs/libntop.so: undefined reference to `closemySQLsocket'
.libs/libntop.so: undefined reference to `mySQLupdateHostTraffic'
.libs/libntop.so: undefined reference to `mySQLnotifyHostCreation'
.libs/libntop.so: undefined reference to `mySQLupdateDBOSname'
collect2: ld returned 1 exit status
make[2]: *** [ntop] Error 1
make[2]: Leaving directory `/root/ntop/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/ntop/ntop'
make: *** [all-recursive-am] Error 2
I'm guessing this is something I've done wrong, but can you confirm?
Thanks
Dan
----- Original Message -----
From: "Luca Deri" <l.deri@tecsiel.it>
To: "ntop-dev Mailing List" <ntop-dev@unipi.it>; "ntop Mailing List"
<ntop@unipi.it>
Sent: Monday, July 02, 2001 2:33 PM
Subject: [Ntop] ntop release 2.0
> Hi all,
> last week I have found a major bug in ntop and now ntop is stable for
> me, at least on my network. I would like to hear from you because I feel
> that ntop 2 is almost ready for the prime time.
>
>
> Please let me know.
>
> Cheers, Luca
>
>
> --
> Luca Deri NETikos S.p.A.
> Via Matteucci 34/B 56124 Pisa, Italy.
> Ph. +39/050/968.639 Fax. +39/050/968.626
> Personal: luca@lucaderi.org Business: luca.deri@netikos.com
> WWW: http://www.lucaderi.org/ ICQ: 68183632
> One's destination is never a place but rather a new way of
> looking at things - Henry Miller
> _______________________________________________
> Ntop mailing list
> Ntop@unipi.it
> http://listmanager.unipi.it/mailman/listinfo/ntop
_______________________________________________
Ntop mailing list
Ntop@unipi.it
http://listmanager.unipi.it/mailman/listinfo/ntop