Software Development Kit (SDK) and API Discussions

Highlighted

c++ API

Hi all,  i'm attempting to compile the snapmirror solution included in the NetApp Managability SDK (version 9.4) found under src\sample\Data_ONTAP\C\snapmirror. However, i keep running into compiler errors (see below). I'm using Visual Studio 2017.

 

1>------ Build started: Project: snapmirror, Configuration: Debug Win32 ------
1>argshift.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/SAFESEH' specification
1> Creating library .\Debug\snapmirror.lib and object .\Debug\snapmirror.exp
1>libadtd.lib(stab.obj) : warning LNK4049: locally defined symbol _fprintf imported
1>libadtd.lib(win32util.obj) : warning LNK4049: locally defined symbol _fprintf imported
1>libnetappd.lib(na.obj) : warning LNK4217: locally defined symbol _fprintf imported in function _na_zapi_get_elem_from_raw_xmlinput
1>libnetappd.lib(http.obj) : warning LNK4049: locally defined symbol _fprintf imported
1>libnetappd.lib(netapp_xml.obj) : warning LNK4049: locally defined symbol _fprintf imported
1>libnetappd.lib(na_xml.obj) : warning LNK4049: locally defined symbol _fprintf imported
1>libadtd.lib(pool.obj) : warning LNK4049: locally defined symbol _printf imported
1>libadtd.lib(hash.obj) : warning LNK4049: locally defined symbol _printf imported
1>libnetappd.lib(na.obj) : warning LNK4217: locally defined symbol _printf imported in function _na_server_invoke_elem_rpc
1>libnetappd.lib(http.obj) : warning LNK4049: locally defined symbol _printf imported
1>libnetappd.lib(na_zsm.obj) : warning LNK4049: locally defined symbol _printf imported
1>libnetappd.lib(na_xml.obj) : warning LNK4049: locally defined symbol _printf imported
1>libadtd.lib(utils.obj) : warning LNK4049: locally defined symbol _sprintf imported
1>libadtd.lib(regerror.obj) : warning LNK4049: locally defined symbol _sprintf imported
1>libnetappd.lib(na.obj) : warning LNK4217: locally defined symbol _sprintf imported in function _na_server_invoke_elem_http
1>libnetappd.lib(http.obj) : warning LNK4049: locally defined symbol _sprintf imported
1>libadtd.lib(stab.obj) : warning LNK4049: locally defined symbol _sprintf imported
1>libadtd.lib(port.obj) : warning LNK4049: locally defined symbol _sprintf imported
1>libadtd.lib(syslog.obj) : error LNK2001: unresolved external symbol __imp____iob_func
1>libadtd.lib(win32util.obj) : error LNK2001: unresolved external symbol __imp____iob_func
1>libnetappd.lib(na.obj) : error LNK2001: unresolved external symbol __imp____iob_func
1>libnetappd.lib(http.obj) : error LNK2001: unresolved external symbol __imp____iob_func
1>libnetappd.lib(netapp_xml.obj) : error LNK2001: unresolved external symbol __imp____iob_func
1>libnetappd.lib(na_xml.obj) : error LNK2001: unresolved external symbol __imp____iob_func
1>libadtd.lib(shttpc.obj) : error LNK2001: unresolved external symbol __imp___snprintf
1>libadtd.lib(testpoint.obj) : error LNK2001: unresolved external symbol __imp___snprintf
1>libadtd.lib(syslog.obj) : error LNK2001: unresolved external symbol __imp___snprintf
1>libnetappd.lib(na.obj) : error LNK2001: unresolved external symbol __imp___snprintf
1>libnetappd.lib(na_zsm.obj) : error LNK2001: unresolved external symbol __imp___snprintf
1>libadtd.lib(stab.obj) : error LNK2001: unresolved external symbol __imp___snprintf
1>libadtd.lib(str.obj) : error LNK2001: unresolved external symbol __imp___snprintf
1>libnetappd.lib(http.obj) : error LNK2019: unresolved external symbol __imp__sscanf referenced in function _http_strip_headers
1>libnetappd.lib(na_zsm.obj) : error LNK2001: unresolved external symbol __imp__sscanf
1>libadtd.lib(str.obj) : error LNK2019: unresolved external symbol __imp___vacopy referenced in function _str_vappend
1>libadtd.lib(syslog.obj) : error LNK2001: unresolved external symbol __imp___vacopy
1>libadtd.lib(str.obj) : error LNK2019: unresolved external symbol __imp___vsnprintf referenced in function _str_vappend
1>libadtd.lib(testpoint.obj) : error LNK2001: unresolved external symbol __imp___vsnprintf
1>libadtd.lib(syslog.obj) : error LNK2001: unresolved external symbol __imp___vsnprintf
1>libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __vsnprintf referenced in function _OPENSSL_showfatal
1>libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol _vfprintf referenced in function _OPENSSL_showfatal
1>libeay32.lib(cryptlib.obj) : error LNK2019: unresolved external symbol ___iob_func referenced in function _OPENSSL_showfatal
1>libeay32.lib(rsa_sign.obj) : error LNK2001: unresolved external symbol ___iob_func
1>libeay32.lib(pem_lib.obj) : error LNK2001: unresolved external symbol ___iob_func
1>libeay32.lib(ui_openssl.obj) : error LNK2001: unresolved external symbol ___iob_func
1>libeay32.lib(v3_utl.obj) : error LNK2019: unresolved external symbol _sscanf referenced in function _ipv4_from_asc
1>.\Debug/snapmirror.exe : fatal error LNK1120: 9 unresolved externals
1>Done building project "snapmirror.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

Forums