Hi List,

I'm a total newbie with ntop, trying to install version 3.3 on three 
machines, one of which is running Fedora Core 5. The `autogen.sh` script 
runs successfully on the FC5 machine, but compilation fails. This is the 
last part of the `make` output:

----------------------------------------------------------------------------

gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -DLINUX -I/usr/local/include -g -O2 
-I/usr/local/include -Wshadow -Wpointer-arith -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -fPIC -DPIC -MT address.lo -MD -MP -MF 
.deps/address.Tpo -c address.c  -fPIC -DPIC -o .libs/address.o
In file included from ntop.h:301,
                 from address.c:21:
/usr/include/netinet/in_systm.h:36: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'n_long'
/usr/include/netinet/in_systm.h:37: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'n_time'
In file included from ntop.h:302,
                 from address.c:21:
/usr/include/netinet/ip.h:44: error: expected specifier-qualifier-list before 
'u_int32_t'
/usr/include/netinet/ip.h:65: error: expected specifier-qualifier-list before 
'u_int32_t'
/usr/include/netinet/ip.h:150: error: expected specifier-qualifier-list before 
'u_int32_t'
In file included from ntop.h:303,
                 from address.c:21:
/usr/include/netinet/ip_icmp.h:39: error: expected specifier-qualifier-list 
before 'u_int32_t'
/usr/include/netinet/ip_icmp.h:134: error: expected specifier-qualifier-list 
before 'u_int32_t'
/usr/include/netinet/ip_icmp.h:152: error: expected specifier-qualifier-list 
before 'u_int32_t'
/usr/include/netinet/ip_icmp.h:182: error: expected specifier-qualifier-list 
before 'u_int32_t'
/usr/include/netinet/ip_icmp.h:192: error: expected specifier-qualifier-list 
before 'u_int32_t'
In file included from ntop.h:305,
                 from address.c:21:
/usr/include/netinet/tcp.h:57: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'tcp_seq'
/usr/include/netinet/tcp.h:66: error: expected specifier-qualifier-list before 
'tcp_seq'
/usr/include/netinet/tcp.h:195: error: expected specifier-qualifier-list before 
'u_int32_t'
make[2]: *** [address.lo] Error 1
make[2]: Leaving directory `/usr/local/src/ntop-3.3'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/ntop-3.3'
make: *** [all] Error 2

----------------------------------------------------------------------------

My glibc package version is 2.4-11. Interestingly, one of my other 
machines is FC2 with glibc-2.3.3-27.1. ntop seems to compile 
successfully (though i couldn't get it to run yet) on this. I couldn't 
find much information about this on the internet. Please help!

- regards,
Siddharth.
_______________________________________________
Ntop mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to