Fran, I could compile with your changes. But however I cannot start ntop, Version 2.0 worked ok I started there : ntop -i1 , but if I start now with ntop -i1 (I have 2 ethercards) , ntop does not understand this anymore and comes with list of possble options. If I start only : ntop without options then the result is : D:\Utils\ntop-2099rc2>ntop
No arguments in command line... Calling StartServiceCtrlDispatcher...please wait. StartServiceControlDispatcher failed! What happende with the -i option ? and what error is this about StartServiceControlDispatcher. I am running Win2000-SP2 Thanks Jac -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Fran Boon Sent: Wednesday, June 05, 2002 7:06 PM To: [EMAIL PROTECTED] Subject: [Ntop] MinGW fixes for ntop-2.0.99-rc2 Hi, I work for a charity that (almost exclusively) uses the Win32 platform, hence I find the MinGW compilation routine extremely helpful - thanks :) This has always needed tweaking even for ntop-2.0, however this needs more tweaks now, so I felt it worth commenting back to you :) What needs fixing? Well, the Makefiles (& docs) still talk about zlib-1.1.3 & libpng-1.0.8 when you've (sensibly) updated to zlib-1.1.4 & libpng-1.2.1. Also, the Makefile.mingw is completely missing from these 2 new folders...simply copying from the old versions & tweaking slightly does the trick :) Also, the Win32 environment generally doesn't have an 'rm' so this always fails...simply removing these from the Makefiles does the trick :) Also, you have made certain files obsolete, so these need removing from the main ntop Makefile.mingw In all: ntop/Makefile.mingw delete @rm -f $@ (x2) remove: event.c logger.c rules.c plugins/rmonPlugin.c (x2) plugins/wapPlugin.c (x2) delete GENSRC = version.c SRC = $(CSRC) -L../gdchart0.94c/zlib-1.1.4 \ -L../gdchart0.94c/gd-1.8.3/libpng-1.2.1 gdchart0.94c/gd-1.8.3/Makefile.mingw delete rm -f libgd.a VERSION=1.8.3 LIBS=-L../zlib-1.1.4 -lm -lgd libpng-1.2.1/libpng.a -lz INCLUDEDIRS=-I. -I/usr/local/include -I/usr/include/X11 -I/usr/X11R6/include /X11 -Ilibpng-1.2.1/ -I../zlib-1.1.4 gdchart0.94c/Makefile.mingw delete rm -f libgdchart.a gdchart0.94c/zlib-1.1.4/Makefile.mingw VER=1.1.4 gd-1.8.3/libpng-1.2.1/Makefile.mingw ZLIBLIB=../../zlib-1.1.4 ZLIBINC=../../zlib-1.1.4 Also the version# shown is still rc1: ntop.exe v.2.0.99rc1 MT [WinNT/2K/XP] (17/05/2002 build) I have attached my working copies of Makefile.mingw & an updated BUILD-MinGW.txt Best Wishes, Fran. _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://lists.ntop.org/mailman/listinfo/ntop
