Welcome to self help.

Basically, you're going to have to pick your way through the compatibility
issues, solve them and send us the info so we can get it back into the base
ntop code.

Once upon a time, ntop ran under AIX 4.1/4.2 with a variety of little
tweaks, etc.  They're littered throughout the code and config/make files -
look for the #ifdef AIX stuff.

Now, I guess you have two choices -- either go native or use the Linux
Tools.

Obviously, AIX's implementation of Linux support isn't quite up to snuff
(The DLT_ constants are in the bpf.h file that comes with pcap).


Chaos is some kind of experimental or obsolete network protocol.  It's
defined in the standards, that's why it's in the .h file.  Two choices:

either make this change in util.c:

#ifdef DLT_CHAOS
  case DLT_CHAOS:       return("Chaos");
#endif

Or add this in ntop.h after the #include <net/bpf.h>:

#ifndef DLT_CHAOS
#define DLT_CHAOS       5       /* Chaos */
#endif

-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:ntop-dev-admin@;unipi.it]On Behalf
Of Sinoros-Szabo Peter
Sent: Friday, October 18, 2002 2:04 PM
To: [EMAIL PROTECTED]
Subject: Re: [Ntop-dev] compiling on AIX 5L - more problems


Hi!

First of all, had ever somebody compiled ntop-2.1.x on AIX 5L ??

Because I am trying, but haven't managed yet!

So I intalled AIX 5L and some packages of Linux Tools from IBM, downloaded
ntop-2.1.3 and tried to compile it.

The first error was that in gdchart.h the GDC_NOVALUE value was not a
constant
(sorry, I can't write down the exact error messages :( )
Burton wrote a reply about this, but it didn't helped. If I included float.h
and
changed MAXFLOAT to FLT_MAX (or something similar), then it compiled.
But I am not sure that this is a good solution. Can someone explain me what
does this GDC_NOVALUE do? What value is suitable for it?
What if GDC_NOVALUE =0 or =1 ?

The secont problem was that DLT_CHAOS (at util.c) was not defined. I didn't
find
where it should be defined, so I commented the whole getNwInterfaceType()
method
(well, not the best solution).

With these corrections and configuring with "configure --disable-plugins
--disable-intop" it compiled, but after starting the ntop binary, after
starting
to initialize IP "something", immediately exited with segmentation fault
(and I
didn't find the core dump !).

So, please help!

Thanks,  Sini

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

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

Reply via email to