K ... I cheated a bit and hacked libtool by changing the following
#current="$2"
current=0
This allowed the compile to continue - somewhat. Now I'm getting this:
.libs/libntop.so: undefined reference to `atoll'
gmake[2]: *** [ntop] Error 1
gmake[2]: Leaving directory `/tmp/ntop-current/ntop'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp/ntop-current/ntop'
gmake: *** [all-recursive-am] Error 2
According to http://people.freebsd.org/~mike/c99/, atoll() isn't in FreeBSD
4.x - its in FreeBSD 5.x. So maybe, for FreeBSD 4.x ntop should be using
strtoll() in address.c ?
At 09:58 AM 2/15/2002 -0600, Sean O'Neill wrote:
>I'm trying to compile snapshot 2-15-2002 but I'm getting the following
>error on FreeBSD 4.5R:
>
># gmake
>gmake all-recursive
>gmake[1]: Entering directory `/tmp/ntop-current/ntop'
>Making all in .
>gmake[2]: Entering directory `/tmp/ntop-current/ntop'
>/bin/sh ./libtool --mode=link gcc -g -O2 -pipe -o libntop.la -rpath
>/usr/local/ntop/lib -version-info -release -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 protocols.lo plugin.lo
>qsort.lo regex.lo rules.lo sql.lo sessions.lo ssl.lo term.lo traffic.lo
>util.lo vendor.lo version.lo ntop_darwin.lo -lpcap -L/usr/local/lib -lgdbm
>-lc_r -lcrypt -lm -lz -L/tmp/ntop-current/gdchart0.94c -lgdchart
>-L/tmp/ntop-current/gdchart0.94c/gd-1.8.3 -lgd
>-L/tmp/ntop-current/gdchart0.94c/gd-1.8.3/libpng-1.0.8 -lpng
>-L/tmp/ntop-current/gdchart0.94c/zlib-1.1.3 -lz -lssl -lcrypto
>libtool: link: CURRENT `-release' is not a nonnegative integer
>libtool: link: `-release' is not valid version information
>gmake[2]: *** [libntop.la] Error 1
>gmake[2]: Leaving directory `/tmp/ntop-current/ntop'
>gmake[1]: *** [all-recursive] Error 1
>gmake[1]: Leaving directory `/tmp/ntop-current/ntop'
>gmake: *** [all-recursive-am] Error 2
>
>Any ideas how I can "fix" this and continue testing ?
>
>At 07:26 AM 2/15/2002 -0600, Burton M. Strauss III wrote:
>>In my 04Feb2002 message about changes to ntop, I mentioned the zombie:
>>
>>7. Some code that looks like it's work on the BSD zombie problem... grep for
>>usedFork... then again...
>>
>>Have you tried one of the more recent snapshots? Feed back on whether it's
>>fixed would be useful...
>>
>>-----Burton
>>
>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Sean
>>O'Neill
>>Sent: Thursday, February 14, 2002 9:31 AM
>>To: [EMAIL PROTECTED]
>>Subject: [Ntop] FreeBSD 4.5R and LOTS of ntop zombies when using web
>>interface
>>
>>
>>I noticed that in Jan 02 of the ntop archives that a couple of posts for
>>FreeBSD 4.5 having ntop zombies showing up when using the web interface. I
>>recently installed the ntop port in FreeBSD 4.5R. It runs fine. Its just
>>I don't particularly like having 306+ ntop zombies laying around.
>>
>>Besides the -K switch, was any resolution found for this annoying issue ?
>>
>>-
>>........................................................
>>......... ..- -. .. -..- .-. ..- .-.. . ... ............
>>.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
>>
>>Sean O'Neill
>>
>>_______________________________________________
>>Ntop mailing list
>>[EMAIL PROTECTED]
>>http://listmanager.unipi.it/mailman/listinfo/ntop
>>
>>_______________________________________________
>>Ntop mailing list
>>[EMAIL PROTECTED]
>>http://listmanager.unipi.it/mailman/listinfo/ntop
>
>-
>........................................................
>......... ..- -. .. -..- .-. ..- .-.. . ... ............
>.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
>
>Sean O'Neill
>
>_______________________________________________
>Ntop mailing list
>[EMAIL PROTECTED]
>http://listmanager.unipi.it/mailman/listinfo/ntop
-
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
Sean O'Neill
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop