All of those problems are with plugins.  Does ntop itself run?

The atoll problem was discussed on-list and fixed in a Feb something
snpashot.

You talk about 08Jan2002, have you tried more recent ones?  If so, which?


-----Burton

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jac
Engel
Sent: Tuesday, February 26, 2002 11:58 AM
To: ntop@Unipi. IT
Subject: [Ntop] Mingw compile errors


No MINGW support ? ( also Scott not anymore ?)

The last version I compiled with MINGW was release ntop-2.0 with success.
The only version after that is ntop-02-01-08 which compiles without error.
All cvs version after 02-01-08 have make errors !!!

Version ntop-02-01-09 gives error:
----------------------------------
gcc -O -Lc:/mingw/wpdpack/lib -Lc:/mingw/gdbm/lib -L../gdchart0.94c -L../gdc
hart
0.94c/zlib-1.1.3 -L../gdchart0.94c/gd-1.8.3 -L../gdchart0.94c/gd-1.8.3/libpn
g-1.
0.8  -o ntop ntop.o pbuf.o util.o http.o vendor.o report.o qsort.o
globals-core.
o globals-report.o address.o admin.o dataFormat.o emitter.o event.o graph.o
hash
.o initialize.o leaks.o logger.o main.o ntop_win32.o reportUtils.o traffic.o
plu
gin.o webInterface.o term.o netflow.o sql.o rules.o plugins/icmpPlugin.o
plugins
/lastSeenPlugin.o plugins/nfsPlugin.o plugins/rmonPlugin.o
plugins/wapPlugin.o r
egex.o protocols.o
version.o  -lgdbm -lwpcap -lgdchart -lgd -lpng -lz -lwsock32
address.o(.text+0x747):address.c: undefined reference to `atoll'
make: *** [ntop] Error 1

Version ntop-02-01-09 gives error:
----------------------------------

gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ic:/mingw/gdb
m/in
clude -Ic:/mingw/wpdpack/include -Ic:/mingw/wpdpack/include/NET -I../gdchart
0.94
c -o globals-core.o -c globals-core.c
globals-core.c: In function `initNtopGlobals':
globals-core.c:186: warning: assignment makes pointer from integer without a
cast

gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ic:/mingw/gdb
m/in
clude -Ic:/mingw/wpdpack/include -Ic:/mingw/wpdpack/include/NET -I../gdchart
0.94
c -o initialize.o -c initialize.c
initialize.c: In function `initLibpcap':
initialize.c:973: warning: passing arg 2 of `pcap_lookupnet' from
incompatible p
ointer type
initialize.c:973: warning: passing arg 3 of `pcap_lookupnet' from
incompatible p
ointer type

gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ic:/mingw/gdb
m/in
clude -Ic:/mingw/wpdpack/include -Ic:/mingw/wpdpack/include/NET -I../gdchart
0.94
c -o plugins/lastSeenPlugin.o -c plugins/lastSeenPlugin.c
plugins/lastSeenPlugin.c:404: warning: excess elements in struct initializer
plugins/lastSeenPlugin.c:404: warning: (near initialization for
`LsPluginInfo[0]
')

gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ic:/mingw/gdb
m/in
clude -Ic:/mingw/wpdpack/include -Ic:/mingw/wpdpack/include/NET -I../gdchart
0.94
c -o plugins/rmonPlugin.o -c plugins/rmonPlugin.c
plugins/rmonPlugin.c:159: warning: excess elements in struct initializer
plugins/rmonPlugin.c:159: warning: (near initialization for
`rmonPluginInfo[0]')

gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ic:/mingw/gdb
m/in
clude -Ic:/mingw/wpdpack/include -Ic:/mingw/wpdpack/include/NET -I../gdchart
0.94
c -o plugins/wapPlugin.o -c plugins/wapPlugin.c
plugins/wapPlugin.c: In function `cmpWapFctn':
plugins/wapPlugin.c:70: structure has no member named `bytesReceived'
plugins/wapPlugin.c:71: structure has no member named `bytesReceived'
plugins/wapPlugin.c: In function `printWmlIndex':
plugins/wapPlugin.c:94: `device' undeclared (first use in this function)
plugins/wapPlugin.c:94: (Each undeclared identifier is reported only once
plugins/wapPlugin.c:94: for each function it appears in.)
plugins/wapPlugin.c:94: `actualDeviceId' undeclared (first use in this
function)

plugins/wapPlugin.c:167: structure has no member named `bytesReceived'
plugins/wapPlugin.c:186: `actTime' undeclared (first use in this function)
plugins/wapPlugin.c:186: `initialSniffTime' undeclared (first use in this
functi
on)
plugins/wapPlugin.c: At top level:
plugins/wapPlugin.c:295: warning: excess elements in struct initializer
plugins/wapPlugin.c:295: warning: (near initialization for
`WAPPluginInfo[0]')
make: *** [plugins/wapPlugin.o] Error 1

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop

Reply via email to