Hi Coders,
I am trying to compile netsnmp 5.8 on windows 7 platform using VS2013 framework.
I am getting compilation errors on asprintf and vasprintf usage as shown below
As per my analysis I don't see VS2013 compiler provides support for asprintf
and vasprintf. I observed they are replaced for snprintf() and vsnprintf()
functions in previous netsnmp v5.7.3. Can anyone help me how can I resolve this
issue?
Error 32 error LNK2019: unresolved external symbol _vasprintf
referenced in function _snmp_vlog C:\
net-snmp-5.8\win32\encode_keychange\netsnmp.lib(snmp_logging.obj)
encode_keychange
Error 33 error LNK2019: unresolved external symbol _asprintf
referenced in function _read_all_mibs C:\
net-snmp-5.8\win32\encode_keychange\netsnmp.lib(parse.obj)
encode_keychange
Error 34 error LNK2001: unresolved external symbol _asprintf
C:\ net-snmp-5.8\win32\encode_keychange\netsnmp.lib(snmpIPv4BaseDomain.obj)
encode_keychange
Error 35 error LNK1120: 2 unresolved externals C:\
net-snmp-5.8\win32\bin\debug\encode_keychange.exe
encode_keychange
Thanks in advance.
Regards,
Madhu
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders