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 */ _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
