Not necessarily.

First off, you can push ahead yourself and create the necessary patches...

It's just that I'm reluctant to pick the "wrong" threads package.  The
tendency of the BSDers is to use the package/port method vs. compiling from
source.

Clearly gnu threads has better source-level support.  So if you can find a
NetBSD package/port for gnu threads, it might be a better choice than
unproven.  And I'd be willing to give it another look.

However, we should move any further discussion to ntop-dev...

-----Burton



-----Original Message-----
From: Jeff Rhine [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 8:18 PM
To: Burton M. Strauss III
Subject: RE: [Ntop] Ntop and netbsd with threads


Thanks for the information on netbsd 1.5 and ntop.

yes it appears there is a problem with threads on netbsd ,however the gnu
seem to compile and the test programs seem to run.

Guess running threads to support netflows will not be an option for ntop at
this time.

Jeff


At 05:11 PM 10/15/2002, you wrote:

>I have NetBSD on Tigger and occasionally I try it.  Quoting from my
>29Sep2002 message:
>
>"FYI: I have ntop running under NetBSD 1.5.3 on a i386, however, it's only
>single threaded.  Because of that gui response time sucks and it's a little
>fragile.
>
>There doesn't seem to be a pthread compatible library easily available
under
>NetBSD (yes, I know about unproven-threads, but it's going to take some
make
>file tweaks to make that work).
>
>-----Burton"
>
>Web searching on that message indicates it's been a problem with other
>packages (mySQL, Mozilla) in NetBSD and/or OpenBSD.
>
>1) The gnu POSIX threads library you've downloaded is being replaced by a
>total rewrite.
>
>2) The real problem is that there isn't a "standard" POSIX threads package
>for NetBSD yet...
>
>3) The performance of all of the possible threads packages is suspect
anyway
>(the reason for unproven-threads is that Proven's package didn't work, or
so
>the history on unproven-threads I've read says).
>
>4) Until there is a standard POSIX threads package, making ntop work with
>any of the possibilities is going to require hacks. (and I doubt being
>really gung ho on making a bunch of configure and Makefile changes of that
>complexity).
>
>
>
>-----Burton
>
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jeff
>Rhine
>Sent: Tuesday, October 15, 2002 3:20 PM
>To: [EMAIL PROTECTED]
>Subject: [Ntop] Ntop and netbsd with threads
>
>
>
>I have been attemping to compile ntop 2.1.51 with netbsd and threads ,
>netbsd does not come standard with threads so I install gnu's pthreads
>
>This gets me to the next compile issue.
>
>I get the following compiler error:
>
>what am I missing?
>
>globals.h:296: syntax error before `dequeueThreadId'
>globals.h:307: syntax error before `pthread_t'
>globals.h:314: syntax error before `pthread_t'
>globals.h:321: syntax error before `pthread_t'
>globals.h:333: syntax error before `pthread_t'
>globals.h:350: syntax error before `pthread_t'
>In file included from ntop.h:2479,
>                   from address.c:21:
>globals-core.h:278: syntax error before `*'
>globals-core.h:278: `createThread' declared as function returning a
function
>globals-core.h:279: syntax error before `char'
>globals-core.h:280: syntax error before `*'
>
>
>my globals looks like this:
>
>#endif /* ! USE_SEMAPHORES */
>
>    /*
>     * NPA - Network Packet Analyzer (main thread)
>     */
>    PthreadMutex packetQueueMutex;
>    pthread_t dequeueThreadId;                         <==================
>line 296
>
>    /*
>     * HTS - Host Traffic Statistics
>     */
>    PthreadMutex hostsHashMutex;
>    u_char hostsHashMutexInitialized;
>
>    /*
>     * SIH - Scan Idle Hosts - optional
>     */
>    pthread_t scanIdleThreadId;
>
>    /*
>     * AR - Address Resolution - optional
>     */
>
>
>
>
>---
>Incoming mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.394 / Virus Database: 224 - Release Date: 10/3/2002

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to