I have posted it on [EMAIL PROTECTED]
Please visit www.ntop.org to find it.


Regards,

Jen-Lung


----- Original Message -----
From: "Aftarul Izam Hj Basri" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 21, 2002 6:44 PM
Subject: Re: [Ntop] error when compiling Ntop 2.0 on Win2000


> Hi Jen,
>
>
> Finally someone brought up an issue for ntop on win2k. I have been trying
to
> compile in on my win2k but fail. If you don't mind could you tell me what
> are you using to make it work.
>
> Thanks you so much.
>
> Izam
>
>
> ----- Original Message -----
> From: "Jen-Lung Tseng" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, January 15, 2002 12:48 PM
> Subject: Re: [Ntop] error when compiling Ntop 2.0 on Win2000
>
>
> > I was able to compile source to binary.
> > I have to correct two things before I can get job done.
> >
> > ========================================
> > 1.  modify version.c
> >   -- remove quotation mark
> >
> >   original file like:
> > "char version[] = \"1.1\";"
> > "char osName[]  = \"win2k\";"
> >
> >  I change to
> > char version[] = "1.1";
> > char osName[]  = "win2k";
> > ------------------------------------------------------------------
> > 2. modify Makefile.mingw
> >     It does not compile protocols.o
> >      Please add protocols.c in to source list.
> > -------------------------------------------------------------------
> > There are two additional things I have to do to run ntop 2.0:
> > 1. add path to libgdbm-2.dll
> > 2. install WinPcap 2.2 (
> > http://netgroup-serv.polito.it/winpcap/install/default.htm )
> >     - select WinPcap auto-installer ( driver+Dlls)
> >
> > It runs well on the compiling machine.  I will try it on different
Window
> > platforms.
> >
> >
> > Jen-Lung
> >
> > ----- Original Message -----
> > From: "Jac Engel" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Saturday, January 12, 2002 1:01 AM
> > Subject: RE: [Ntop] error when compiling Ntop 2.0 on Win2000
> >
> >
> > > Or use :  UnixUtils package for Win32 at:
> > >
> > >   http://www.wzw.tu-muenchen.de/~syring/win32/UnxUtils.html
> > >
> > > Jac
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of
> > > Andrew Milne
> > > Sent: Saturday, January 12, 2002 9:25 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: [Ntop] error when compiling Ntop 2.0 on Win2000
> > >
> > >
> > > You need a win32 version of 'rm'. Create a empty batch file 'rm.bat'
> > > somewhere in your path or download a version.
> > >
> > > Regards.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Jen-Lung Tseng" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Saturday, January 12, 2002 12:20 PM
> > > Subject: [Ntop] error when compiling Ntop 2.0 on Win2000
> > >
> > >
> > > > Hi,
> > > >
> > > >    I try to compile ntop 2.0 on Win2000 paltform using mingw.
> > > >    The guide is very helpful and I can install all require package
> > without
> > > > problem.
> > > >    However,  I got error in the last step - compiling ntop.
> > > >    Please help to find the issue.
> > > >
> > > > Thanks,
> > > >
> > > > Jen-Lung
> > > >
> > > > ------------------------------------------------------------------
> > > >
> > > > E:\ntop>make -f Makefile.mingw
> > > > process_begin: CreateProcess((null), rm -f ntop.o, ...) failed.
> > > > make (e=2): The system cannot find the file specified.
> > > > make: *** [ntop.o] Error 2
> > > >
> > > > *** you can fix it by comment out rm -f ntop.o ....
> > > >
> > > > --------------------------------------------------------------------
> > > >
> > > > E:\ntop>make -f Makefile.mingw
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > ntop.o -c ntop.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > pbuf.o -c pbuf.c
> > > > pbuf.c: In function `queuePacket':
> > > > pbuf.c:3553: warning: assignment makes integer from pointer without
a
> > cast
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > util.o -c util.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > http.o -c http.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > vendor.o -c vendor.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > report.o -c report.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > qsort.o -c qsort.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > globals-core.o -c globals-core.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > globals-report.o -c globals-report.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > address.o-c address.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > admin.o -c admin.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > dataFormat.o -c dataFormat.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > emitter.o-c emitter.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > event.o -c event.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > graph.o -c graph.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > hash.o -c hash.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > initialize.o -c initialize.c
> > > > initialize.c: In function `initLibpcap':
> > > > initialize.c:926: warning: passing arg 2 of `pcap_lookupnet' from
> > > > incompatible pointer type
> > > > initialize.c:926: warning: passing arg 3 of `pcap_lookupnet' from
> > > > incompatible pointer type
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > leaks.o -c leaks.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > logger.o -c logger.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > main.o -c main.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > ntop_win32.o -c ntop_win32.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > reportUtils.o -c reportUtils.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > traffic.o -c traffic.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > plugin.o -c plugin.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > webInterface.o -c webInterface.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > term.o -c term.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > netflow.o -c netflow.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > sql.o -c sql.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > rules.o -c rules.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > regex.o -c regex.c
> > > >
> > >
> >
>
gcc -O -DHAVE_FCNTL_H=1 -DHAVE_PCAP_H=1 -DHAVE_STDARG_H=1 -I. -Ie:/gdbm1.8/i
> > > >
> >
nclude -Ie:/WPdpack/include -Ie:/WPdpack/include/NET -I../gdchart0.94c -o
> > > > version.o -c version.c
> > > > version.c:1: parse error before string constant
> > > > make: *** [version.o] Error 1
> > > >
> > > > -------------------------------------------------------------------
> > > > Summary of error message:
> > > >
> > > > E:\ntop>make -f Makefile.mingw > output.log
> > > > pbuf.c: In function `queuePacket':
> > > > pbuf.c:3553: warning: assignment makes integer from pointer without
a
> > cast
> > > > initialize.c: In function `initLibpcap':
> > > > initialize.c:926: warning: passing arg 2 of `pcap_lookupnet' from
> > > > incompatible pointer type
> > > > initialize.c:926: warning: passing arg 3 of `pcap_lookupnet' from
> > > > incompatible pointer type
> > > > version.c:1: parse error before string constant
> > > > make: *** [version.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
> > >
> > > _______________________________________________
> > > Ntop mailing list
> > > [EMAIL PROTECTED]
> > > http://listmanager.unipi.it/mailman/listinfo/ntop
> > >
> >
> > _______________________________________________
> > Ntop mailing list
> > [EMAIL PROTECTED]
> > http://listmanager.unipi.it/mailman/listinfo/ntop
> >
>
>
> _______________________________________________
> 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