Hi, All
i'm having a problem trying to compile ntop 2.1.3 on AIX 4.3.3. when i
run a make i get errors as follows:
make all-recursive
Making all in .
source='address.c' object='address.lo' libtool=yes
depfile='.deps/address.Plo' tmpdepfile='.deps/address.TPlo' depmode=gcc
/bin/sh ./depcomp /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I. -I. -I/usr/local/include
-I/home/lanej/ntop-2.1.3/gdchart0.94c -g -O2 -pipe -c -o address.lo
`test -f 'address.c' || echo './'`address.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/include
-I/home/lanej/ntop-2.1.3/gdchart0.94c -g -O2 -pipe -c address.c
-Wp,-MD,.deps/address.TPlo -DPIC -o address.lo
In file included from ntop.h:376,
from address.c:21:
/usr/include/pthread.h:35: warning: `_THREAD_SAFE' redefined
ntop.h:175: warning: this is the location of the previous definition
In file included from /usr/include/sys/pri.h:29,
from /usr/include/sys/sched.h:38,
from /usr/include/sched.h:52,
from ntop.h:359,
from address.c:21:
/usr/include/sys/proc.h:203: parse error before `crid_t'
/usr/include/sys/proc.h:203: warning: no semicolon at end of struct or
union
/usr/include/sys/proc.h:212: parse error before `p_class'
/usr/include/sys/proc.h:212: warning: data definition has no type or
storage class
/usr/include/sys/proc.h:355: parse error before `}'
address.c: In function `resolveAddress':
address.c:215: warning: passing arg 1 of `gethostbyaddr_r' discards
qualifiers from pointer target type
address.c:215: warning: passing arg 5 of `gethostbyaddr_r' from
incompatible pointer type
address.c:215: too many arguments to function `gethostbyaddr_r'
address.c:215: warning: assignment makes pointer from integer without a
cast
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 1.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
can anybody suggest what i may be doing wrong here.
TIA
Jim Lane
Sr. Technical Consultant
Network Services
Toronto Hydro
office: (416)-542-2820
cell: (416)-896-8576
_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev