I used python 2.7 just to be sure this time, and corrected a lot of
mistakes I had in the "libs" section, namely I hadn't compiled many of
the packages so there were hardly any of the "a" files actually there.
Nonetheless, even with them missing or present now, the error is very
identical. RRD was the hardest to compile (save ntop:) and I used
version 2.9 and finally got it made. I added the cflag but it didn't
seem to help, maybe I need some sleep :)

(same errors)

$ make -f Makefile.mingw
gcc -O2 -g -I. -I./libpcap -I./libpcap/Include
-I./libpcap/Include/pcap -I./Graphics/gd -I./Graphics/libpng
-I./Graphics/rrdt
ool/src -I./gdbm -I./GeoIP/libGeoIP -I./pPython/include
-DHAVE_CONFIG_H -DHAVE_FCNTL_H -DHAVE_PCAP_H -DHAVE_STDARG_H -DHAVE_P
CAP_OPEN_DEAD -DHAVE_PCAP_LIB_VERSION -DHAVE_MATH_H -DHAVE_STDINT_H
-DHAVE_u_int8_T -DHAVE_u_int16_T -DHAVE_u_int32_T -DHAVE_
u_int64_T -DHAVE_SSIZE_T -DHAVE_UINT32_T -DHAVE_STRCASESTR
-Dstrcasestr=stricmp -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0501
 -DINET6 -I./OpenSSL/outinc -DHAVE_OPENSSL -DOPENSSL_NO_KRB5 -o
MingW_obj/ntop.o -c ntop.c
In file included from ntop.h:424:0,
                 from ntop.c:24:
ntop_win32.h:99:20: warning: 'struct option' declared inside parameter list
ntop_win32.h:99:20: warning: its scope is only this definition or
declaration, which is probably not what you want
In file included from ntop.h:475:0,
                 from ntop.c:24:
rrd.h:64:17: error: conflicting types for 'ssize_t'
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/../../../../include/sys/types.h:118:18:
note: previous declaration of 'ssize_t' was her
e
In file included from ntop.h:524:0,
                 from ntop.c:24:
globals-core.h:670:68: warning: 'struct timespec' declared inside parameter list
ntop.c: In function 'cleanupThreadIs':
ntop.c:786:23: warning: comparison between pointer and integer
ntop.c:788:28: warning: comparison between pointer and integer
ntop.c:790:28: warning: comparison between pointer and integer
ntop.c:792:28: warning: comparison between pointer and integer
ntop.c:798:25: warning: comparison between pointer and integer
ntop.c:807:25: warning: comparison between pointer and integer
ntop.c:818:26: warning: comparison between pointer and integer
ntop.c:829:26: warning: comparison between pointer and integer
make: *** [MingW_obj/ntop.o] Error 1
_______________________________________________
Ntop-dev mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-dev

Reply via email to