[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ntop
Subject:    [Ntop] Re: Compile warning on FreeBSD 4.4: setkey(3) not present in the
From:       Scott Hanson <hanson () netlife ! de>
Date:       2001-11-29 13:40:27
Message-ID: 200111291340.fATDeQa07240 () seelenquell ! netlife ! de
[Download RAW message or body]

system!
References: <200111291002.fATA25815556@mixer.unipi.it>
From: Scott Hanson <hanson@netlife.de>
Date: 29 Nov 2001 14:40:26 +0100
In-Reply-To: <200111291002.fATA25815556@mixer.unipi.it>
Message-ID: <yef3d2xzodx.fsf@netlife.de>
Lines: 26
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

"Luca Deri" <deri@ntop.org> wrote: 
> I don't have FreeBSD here. A while ago, when i compiled ntop under
> BSD, the gethostbyaddr() system call as broken causing ntop to eat
> up all the CPU cycles. For this reason there's a patch in the code
> (only for BSD) that circumvented the problem. As you have access to
> FreeBSD, could you please check this and let me know.

We don't seem to have having this problem, so the patch seems to work.

Anders Nordby <anders@FreeBSD.org> wrote: 
> This happens because ntop is linked with libc and libc_r on FreeBSD
> 4.x or earlier. It shouldn't be. Some libraries want libc
> specifically, and that doesn't cope well with threaded
> applications. If you turn off threads support for ntop, these
> warnings will disappear.

I did recompile with ./configure --disable-mt, and the warnings
disappeared. Thanks for the tip.

Scott

-- 
Scott Hanson               Webmaster                   
Netlife GmbH               Phone:  +49 40 28415 0
Millerntorplatz 1          Fax:    +49 40 28415 999
20359  Hamburg, Germany    http://www.netlife.de

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic