RE: net-snmp 5.4.2 - error when compiled for IPV6 support
Ravi Chandran <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <F207907CC7282542A53C7027825DCC1413812DFF4A@IXCAEXCH07.ixiacom.com> |
Hi, I got one more issue. When I compiled with OpenSSL support the compilation fails. I could not locate the hmac.h file which it is trying to locate. keytools.c ..\..\snmplib\keytools.c(45) : fatal error C1083: Cannot open include file: 'openssl/hmac.h': No such file or directory NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.EXE"' : return code '0x2' Stop. I could not locate the file hmac.h or openssl folder in the net-snmp-5.4.3 package. Is this file not part of net-snmp package. Am I missing anything that I need to have in order to compile this? Thanks in advance. Regards Ravi -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Dave Shield Sent: Thursday, August 12, 2010 5:00 PM To: Ravi Chandran Cc: [email protected] Subject: Re: net-snmp 5.4.2 - error when compiled for IPV6 support On 12 August 2010 11:41, Ravi Chandran <[email protected]> wrote: > We have been using net-snmp version 5.4.2 successfully. Now we wanted > to support IPv6 too. > ..\..\snmplib\inet_ntop.c(79) : error C2373: 'inet_ntop' : redefinition; > different type modifiers > > NMAKE : fatal error U1077: '"E:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN\cl.exe"' : return code '0x2' > Can some point what I'm missing or what I should do to fix this and > get a > IPv6 enabled net-snmp binaries? This problem has been fixed in release 5.4.3 Try compiling that version of the code. (You *might* get get away with taking the two files win32/net-snmp/net-snmp-config* from the 5.4.3 code, and copying them into your 5.4.2 tree. But no promises) Dave ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ 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