I'm trying to compile NetSNMP 5.4 with MingW. I configure like this:
./configure --prefix=c:/NetSNMP --with-mibdirs=c:/NetSNMP/share/snmp/mibs --with-mib-modules=agentx --disable-embedded-perl --without-perl-modules When I execute the 'make' command i get this errors: In function 'SnmpDaemonMain' :c:net-snmp-5.4/agent/snmpd.c:957: undefined reference to 'chown' In function 'sched_nextTime' :c:net-snmp-5.4/agent/mibgroup/disman/schedule/schedCore.c:326: undefined reference to 'localtime_r' In function 'sched_nextTime' :c:net-snmp-5.4/agent/mibgroup/disman/schedule/schedCore.c:327: undefined reference to 'localtime_r' collect2: ld returned 1 exit status make[1]: *** [snmpd.exe] Error 1 make[1]:Leaving directory '/c/net-snmp-5.4/agent' make: *** [subdirs] Error 1 These are my OS, my compiler version and the version of NetSNMP that I'm trying to compile: - Windows XP - MinGW 5.1.3 - msys 1.0 - regex 0.12 - net-snmp 5.4 Please, could anybody help me? ------------------------------------------------------ Scegli infostrada: ADSL gratis per tutta lÂ’estate e telefoni senza canone Telecom http://click.libero.it/infostrada ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users