Actually it means just what it says ... the available headers don't define a
64 bit unsigned type, nor do we have an alternative...

#if !defined(HAVE_U_INT64_T)
#if defined(WIN32) && defined(__GNUC__)
typedef unsigned long long u_int64_t; /* on mingw unsigned long is 32 bits
*/
#else
#if defined(WIN32)
typedef _int64 u_int64_t;
#else
#if defined(HAVE_UINT64_T)
#define u_int64_t uint64_t
#else
#error "Sorry, I'm unable to define u_int64_t on your platform"
#endif
#endif
#endif
#endif

You have to support it - otherwise the basic byte and other counters will
quickly overflow.

Usually you need to update your gcc from an ancient version to something
that supports C99.

-----Burton

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Stefan Klopp
> Sent: Friday, June 11, 2004 5:30 PM
> To: [EMAIL PROTECTED]
> Subject: [Ntop-dev] error making ntop
>
>
> Hello,
>
> I am trying to make ntop on a redhat 7.3 box. However I
> constantly get this
> error when running the make command:
>
> globals-structtypes.h:71:2: #error "Sorry, I'm unable to define
> u_int64_t on
> your platform"
>
> Any ideas on why this happens?
>
> Stefan
>
> _______________________________________________
> 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