Re: Error compiling Net-SNMP 5.4 (und. ref. to chown and localtime_r)

Thomas Anders <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
[email protected] wrote:
> 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'

Known issue. Fixed in 5.4.1.rc4.
Please test and report back.


+Thomas

-------------------------------------------------------------------------
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
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.