First off, that's not an "error", it's just saying it's not defined in your
Linux config.  ntop is supposed to be able to work around it (IIRC uint64_t
is a C99/gcc extension ...)

The "error" comes from the compile, when ntop can't work around it...

/*
 * fallbacks for essential typedefs
 */
#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

Basically, if we have U_INT64_T we're fine - that is the checking for
typedef u_int64_t... yes message.

Somehow it's not being set...

I need you to look for it in a couple of places and send the relevant lines
(+-5 or so)

grep -i --line-number 'U_INT64' should find it in a bunch of places -
config.log and config.h are the important ones.

-----Burton



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf
Of Dennis Hedman
Sent: Tuesday, November 19, 2002 7:06 AM
To: [EMAIL PROTECTED]
Cc: Dennis Hedman (EAB)
Subject: [Ntop-dev] Compile error on my RedHat 7.3


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi All Ntop guru's


I got this error on my Linux box "uint64_t... no".... Any one of you out
there
recognize this, And can give me some guidelines to fix it.....


- -BR
/Dennis



configure gives this:
- ---------------------------
checking for typedef u_int64_t... yes
checking for typedef uint64_t... no
checking for typedef u_int32_t... yes
checking for typedef u_int16_t... yes
checking for typedef u_int8_t... yes
checking for typedef int64_t... yes
checking for typedef int32_t... yes
checking for typedef int16_t... yes
checking for typedef int8_t... yes



And make gives this:
- -------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/include/pcap -I/usr/include
- -I/root/download/cvs/gdchart0.94c -I/usr/local/rrdtool-1.0.40/include -g -
O2
- -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations
- -Wnested-externs -fPIC -g -O2 -Wshadow -Wpointer-arith -Wmissing-prototype
s
- -Wmissing-declarations -Wnested-externs -fPIC -c address.c -MT
address.lo -MD
- -MP -MF .deps/address.TPlo  -fPIC -DPIC -o .libs/address.lo
In file included from address.c:21:
ntop.h:228:2: #error "Sorry, I'm unable to define u_int64_t on your
platform"
make[2]: *** [address.lo] Error 1
make[2]: Leaving directory `/root/download/cvs/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/download/cvs/ntop'
make: *** [all] Error 2



- --------------------------------------------------------------------------
-----------
Checking for support status of i686-pc-linux-gnu, gcc...



*******************************************************************
*
* NOTE: Building ntop for a supported platform
*       This means we expect ntop to work without major issues
*
*            'i686-pc-linux-gnu'
*
*    Please keep the ntop-dev mailing list updated with any
*    successes you have or problems you encounter...
*
*   Support for this platform was most recently verified for
*
*     RedHat7.2 w/ updates           ntop 2.1.51   on 2002-10-21
*     Suse i686, 2.4.18-4GB-SMP      ntop 2.1.51   on 2002-10-24
*
*******************************************************************


My Linux release:
- -------------------------
Linux ear 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown



[root@ear ntop]# cat /etc/redhat-release
Red Hat Linux release 7.3 (Valhalla)
[root@ear ntop]#
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE92jc6qqLkPkqZqZkRAp1aAKCDVYooRT1Q3uMD069CI3wlXWINnwCdHWUc
3UbLstdqPQoTsg1gMd2KXj8=
=2XBM
-----END PGP SIGNATURE-----

_______________________________________________
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