The 1st error can be ignored - file doesn't exist, so it can't rm it...
Anyway, in ntop after the 2.0 release (you don't tell us which version of
the source you are using...), those missing routines were refactored out of
pbuf.c into protocols.c, which I don't see in the list of .o files. I'm
guessing the makefile needs to be updated, but it's in there in my version
(04Jan2002):
CSRC = ntop.c pbuf.c util.c http.c vendor.c report.c qsort.c \
globals-core.c globals-report.c address.c admin.c \
dataFormat.c emitter.c event.c graph.c hash.c \
initialize.c leaks.c logger.c main.c ntop_win32.c \
reportUtils.c traffic.c plugin.c webInterface.c term.c \
netflow.c sql.c rules.c plugins/icmpPlugin.c \
plugins/lastSeenPlugin.c plugins/nfsPlugin.c \
plugins/rmonPlugin.c plugins/wapPlugin.c regex.c \
protocols.c
Next step: check your Makefile.mingw and source version...
-----Burton
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Dilan
Arumainathan
Sent: Friday, February 15, 2002 11:28 AM
To: [EMAIL PROTECTED]
Subject: [Ntop] Error compiling NTOP on Win2K
I am trying to compile NTOP under windows 2000 and am getting the following
error. I have followed the instructions step by step and when I start
compiling NTOP itself I get this error.
I also noticed that the current release (stable) doesn't containe "bpf.h"
that is supposed to have the necessary definitions for MINGW.
Would appreciate any input.
egex.c
rm version.c
rm: cannot remove `version.c': No such file or directory
make: [version.c] Error 1 (ignored)
echo "char version[] = \"1.1\";" > version.c
echo "char osName[] = \"win2k\";" >> version.c
echo "char author[] = \"Luca Deri <[EMAIL PROTECTED]>\";" >> version.c
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ic:/mingw/inc
lude
-Ic:/wpdpack/include -Ic:/wpdpack/include/NET -I../gdchart0.94c -o
version.o -c version.c
gcc -O -Lc:/wpdpack/lib -Lc:/mingw/lib -L../gdchart0.94c -L../gdchart0.94c/z
lib-1.1.3 -L../gdchart0.94c/gd-1.8.3 -L../gdchart0.94c/gd-1.8.3/libpng-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
plugin.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 regex.o version.o -lgdbm -lwpcap
-lgdchart -lgd -lpng -lz -lwsock32
pbuf.o(.text+0x2040):pbuf.c: undefined reference to `handleBootp'
pbuf.o(.text+0x72cf):pbuf.c: undefined reference to `processDNSPacket'
pbuf.o(.text+0x7673):pbuf.c: undefined reference to `handleNetbios'
make: *** [ntop] Error 1g
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop