Michael, Sorry, I didn't see that you did your own compile... I used the ready-to-use build from Luca...
Thomas Pagel Senior Consultant Business Intelligence Software4You Planungssysteme GmbH Niederlassung Paderborn Hauptstra�e 35 33178 Borchen (Germany) tel.: +49 (5251) 54009-11 mob.: +49 (172) 8423035 fax.: +49 (5251) 54009-99 home: http://www.software4you.com 4PLAN� - The Art of Budgeting. Disclaimer: This email may contain confidential and proprietary material for the sole use of the intended recipient. Any review or distribution by others is prohibited. If you are not the intended recipient please contact the sender and delete all copies. -----Urspr�ngliche Nachricht----- Von: Meer Michael [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 10. Juli 2003 14:53 An: [EMAIL PROTECTED] Betreff: RE: [Ntop] NTop Win libpcap 2.3 > -----Original Message----- > From: Burton M. Strauss III [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 10, 2003 1:53 PM > > What makes you think ntop won't work with libpcap 3.0? The > message you're > reading refers to compiling ntop with MinGW. > > -----Burton Hi Burton, thanks for the answer. Yes - I tried to compile ntop for Windows using the MinGW / Msys enviroment. I got the same error messages as I wrote in the reference before. I tried the follwing versions: MSYS: 1.0.8 MinGW: 2.0.0 wpdpack_3_0.zip WinPcap: 3.0 NTop: ntop-2.2c.tgz and the snapshot of the 10 July, 2003 using the description in /ntop(-current)/ntop/docs/BUILD-MinGW.txt I took already a look into http://snapshot.ntop.org/faq.php, but I found no useful hint. I tried this first with the latest stable version of ntop and after the hint from Thomas Pagel with the lastest Snapshot. The result is always the same. Compiling the zlib, libpng and gd without any problems, but when I try to compile ntop itself I got the following messages: [EMAIL PROTECTED] /d/MinGW/ntop-current/ntop $ make -f Makefile.mingw gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Id:/MinGW/include -Id:/MinGW/wpdpack/include -Id:/MinGW/wpdpack/include/NET -I../gdchart0.94c -o ntop.o -c ntop.c In file included from ntop.h:291, from ntop.c:24: d:/MinGW/wpdpack/include/NET/bpf.h:53: parse error before "bpf_u_int32" d:/MinGW/wpdpack/include/NET/bpf.h:53: warning: data definition has no type or storage class <snip> </snip> d:/MinGW/wpdpack/include/pcap.h:167: parse error before "bpf_u_int32" d:/MinGW/wpdpack/include/pcap.h:167: warning: no semicolon at end of struct or union d:/MinGW/wpdpack/include/pcap.h:187: parse error before "bpf_u_int32" d:/MinGW/wpdpack/include/pcap.h:204: parse error before "bpf_u_int32" d:/MinGW/wpdpack/include/pcap.h:206: parse error before "bpf_u_int32" d:/MinGW/wpdpack/include/pcap.h:234: conflicting types for `bpf_filter' d:/MinGW/wpdpack/include/NET/bpf.h:501: previous declaration of `bpf_filter' In file included from ntop.c:24: ntop.h:365:18: zlib.h: No such file or directory ntop.h:399:17: rrd.h: No such file or directory In file included from ntop.h:425, from ntop.c:24: globals-structtypes.h:201: field `h' has incomplete type globals-structtypes.h:1119: field `h' has incomplete type In file included from ntop_win32.h:32, from ntop.h:429, from ntop.c:24: d:/MinGW/include/dirent.h:41: redefinition of `struct dirent' d:/MinGW/include/dirent.h:78: conflicting types for `DIR' globals-structtypes.h:1347: previous declaration of `DIR' d:/MinGW/include/dirent.h:80: conflicting types for `opendir' globals-structtypes.h:1349: previous declaration of `opendir' d:/MinGW/include/dirent.h:81: conflicting types for `readdir' globals-structtypes.h:1351: previous declaration of `readdir' d:/MinGW/include/dirent.h:82: conflicting types for `closedir' globals-structtypes.h:1350: previous declaration of `closedir' d:/MinGW/include/dirent.h:83: conflicting types for `rewinddir' globals-structtypes.h:1352: previous declaration of `rewinddir' In file included from ntop.h:429, from ntop.c:24: ntop_win32.h:135: parse error before "tcp_seq" ntop_win32.h:135: warning: no semicolon at end of struct or union ntop_win32.h:136: warning: data definition has no type or storage class ntop_win32.h:138: parse error before ':' token ntop_win32.h:154: parse error before '}' token In file included from ntop.h:441, from ntop.c:24: globals-core.h:354: warning: `struct timespec' declared inside parameter list globals-core.h:354: warning: its scope is only this definition or declaration, which is probably not what you want make: *** [ntop.o] Error 1 _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
