Understand where ntop's Win32 support is. Luca uses VC++ 6.0. VC++ uses a .proj file not the Makefile.mingw, so errors in the later often slip by. While the code and build stuff should work under MinGW/Msys, it's rarely tested except for your own efforts.
(For the curious, Luca told me he tried VC++ .net but was having too many memory problems. My guess was that it was due to the difference in memory model between POSIX and .net. Regardless, Luca's back with VC++ 6.0). So, it behooves you to really, really read the output from MinGW processes. Any of you rocket scientists actually LOOK at the inputs and outputs from make? Perhaps to notice that there's no rrd stuff in Makefile.mingw?? No rrdPlugin.o created??? The getopt_long message is an #ifdef I'll remove - the #ifndef HAVE_GETOPT_LONG should be enough to protect the Win32 code. Adding rrd stuff to Makefile.mingw gets past the present error, but after that, we hit the rock of needing an rrd library to link in... anyone know to find it? (Yes, I know about the files at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/ - those have the command line rrd_tool.exe, but not the library ntop uses to link to it). -----Burton -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of jac engel Sent: Tuesday, March 11, 2003 10:33 AM To: [EMAIL PROTECTED] IT Subject: [Ntop] Mingw 2.003 As using up till now Mingw version 1.1, I switched to MingW version 2.003. With both versions I could compile Ntop until version 2.1.3 After this version till 2.1.56 I could not compile Ntop and got 2 errors : main.o(.text+0x1f3a):main.c: undefined reference to `getopt_long' plugin.o(.text+0x290):plugin.c: undefined reference to `rrdPluginEntryFctn' make: *** [ntop] Error 1 which I can fix as mailed earlier, but it is not the right way. I know Ntop compiling via Mingw has lowest priority for design team. Allthough I attach the doc for Mingw version 2 Ntop build. cheers Jac _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
