The checking for typedefs is normal -- I get the same set on my RH7.2
machine (where the scripts were developed)

The logic in ntop.h is this:

#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

Since we both have u_int64_t, that whole block should be skipped...

Check the config.log.  Mine is:

configure:12408: checking for typedef u_int64_t
configure:12429: result: yes
configure:12438: checking for typedef uint64_t
configure:12459: result: no

and

ac_cv_typedef_int16_t=yes
ac_cv_typedef_int32_t=yes
ac_cv_typedef_int64_t=yes
ac_cv_typedef_int8_t=yes
ac_cv_typedef_u_int16_t=yes
ac_cv_typedef_u_int32_t=yes
ac_cv_typedef_u_int64_t=yes
ac_cv_typedef_u_int8_t=yes
ac_cv_typedef_uint64_t=no

and

#define HAVE_U_INT64_T 1
#define HAVE_U_INT32_T 1
#define HAVE_U_INT16_T 1
#define HAVE_U_INT8_T 1
#define HAVE_INT64_T 1
#define HAVE_INT32_T 1
#define HAVE_INT16_T 1
#define HAVE_INT8_T 1



-----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