I don't think we've tested on 9 - it's only available for Sparc ... Is this
cc or gcc??

All I can think is you're missing the gdbm stuff or there is a problem in
ntop.h.  The code is:

  /* NICs */
  int numDevices;          /* # of Network interfaces enabled for sniffing
*/
  NtopInterface *device;   /* pointer to the table of Network interfaces */

  /* Database */
  GDBM_FILE gdbm_file, pwFile, eventFile, hostsInfoFile, addressCache,
prefsFile;

  /* the table of broadcast entries */

(NtopInterface is defined in ntop.h...)



-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason
Schroeder
Sent: Tuesday, August 13, 2002 11:21 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] compile problems on solaris 9


Hi all, I am having problems compiling ntop on solaris 5.9.  I downloaded
the 2.1.2 stable version from the website.  Below is the start of where it
errors:

In file included from ntop.h:2384,
                 from address.c:21:
globals.h:252: parse error before "GDBM_FILE"
globals.h:252: warning: no semicolon at end of struct or union
globals.h:480: parse error before '}' token
globals.h:480: warning: data definition has no type or storage class
In file included from ntop.h:2385,
                 from address.c:21:
globals-core.h:21: parse error before "myGlobals"
globals-core.h:21: warning: data definition has no type or storage class
address.c: In function `resolveAddress':
address.c:58: `datum' undeclared (first use in this function)
....data omitted...

I believe that the problem is in globals.h, but nothing is wrong that I can
see.  Any help is greatly appreciated.  Thank you.

-------------------------------
Jason Schroeder, CCNA Certified
LAN Administrator
Vermeer Manufacturing Company
T: 641-621-7854
F: 641-621-7932
[EMAIL PROTECTED]

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://lists.ntop.org/mailman/listinfo/ntop

Reply via email to