Dear ntop developers!
I tried to compile ntop (version 2.1.[2,3,50+]) on an AIX 5L machine, but it
I didn't managed. After successfully compiled the gdchart (based on one of the
documention) and ran ./configure or autogen.sh -1, I tried to make it:
---
ns2@ /install/tar/ntop-2.1.3/ntop :) /usr/local/bin/make
/usr/local/bin/make all-recursive
make[1]: Entering directory `/install/tar/ntop-2.1.3/ntop'
Making all in .
make[2]: Entering directory `/install/tar/ntop-2.1.3/ntop'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/usr/local/include
-I/install/tar/ntop-2.1.3/gdchart0.94c -g -O2 -pipe -c graph.c
gcc -DHAVE_CONFIG_H -I. -I/usr/local/include -I/install/tar/ntop-2.1.3/gdchart0.94c -g
-O2 -pipe -Wp,-MD,.deps/graph.pp -c graph.c -DPIC -o graph.lo
In file included from ntop.h:864,
from graph.c:26:
/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix43-010414/include/pthread.h:44:
warning: `_THREAD_SAFE' redefined
ntop.h:175: warning: this is the location of the previous definition
/usr/bin/../lib/gcc-lib/powerpc-ibm-aix5.1.0.0/2.9-aix43-010414/include/pthread.h:166:
warning: missing white space after `#define PTHREAD_ONCE_INIT'
In file included from /usr/include/net/route.h:171,
from /usr/include/net/if.h:126,
from ntop.h:418,
from graph.c:26:
/usr/include/net/radix.h:139: warning: `struct ifnet' declared inside parameter list
/usr/include/net/radix.h:139: warning: its scope is only this definition or
declaration, which is probably not what you want.
/usr/include/net/radix.h:144: warning: `struct ifnet' declared inside parameter list
In file included from globals-report.h:26,
from graph.c:32:
/install/tar/ntop-2.1.3/gdchart0.94c/gdchart.h:109: initializer element is not constant
/install/tar/ntop-2.1.3/gdchart0.94c/gdchart.h:110: initializer element is not constant
/install/tar/ntop-2.1.3/gdchart0.94c/gdchart.h:111: initializer element is not constant
/install/tar/ntop-2.1.3/gdchart0.94c/gdchart.h:131: initializer element is not constant
make[2]: *** [graph.lo] Error 1
make[2]: Leaving directory `/install/tar/ntop-2.1.3/ntop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/install/tar/ntop-2.1.3/ntop'
make: *** [all-recursive-am] Error 2
---
Can you help me, what's wrong?
Thx.,
Peter Sinoros Szabo
BME SZIT sysadm
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev