On Sun, 2005-11-06 at 23:23 -0500, Alex Burger wrote: > I have done some testing with Windows and found that the new snmpnetstat > does not compile.
You do surprise me! :-) > Some of the reasons are: > > 1. the variable 'interface' is generating an error in MSVC. > 2. __progname in main.c is undefined. > Should this be defined like in getopt.c? > 3. IFNAMSIZ in if.c is undefined. (simple fix) All fixed. Will commit once I've tackled the next two. > 4. SIGALRM in if.c is undefined. Hmmm... OK - I've done some poking around in the previous code, and it looks as if there's a chunk of code that Wes/Mike added to handle alarms under Windows. That's a Net-SNMP addition, so is free from BSD licensing problems. I'll port that across later today. > 5. ffs() in route.c is undefined (not available in Windows). > Is there an alternative? That shouldn't be too difficult to re-implement. Dave ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
