Linking error netsnmpagent.lib on VS2019
Ivan Lamberti <[email protected]> Wed, 19 May 2021 06:22:26 +0000
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <AM7P194MB0737DAA8D281F018107542B6EE2B9@AM7P194MB0737.EURP194.PROD.OUTLOOK.COM> |
Hello, i'm using netsnmp 5.9 on Windows 10 and my initial goal was to build static library + headers to provide netsnmp functionality,with a x64 build and visual studio 2019 community. Following the procedure described in "Manual build using Configure / nmake" I managed to produce netsnmp.lib, netsnmpagent.lib and netsnmptrapd.libI. Unfortunately there are some problems in my project correlated to the init_agent() function : the linker reports these error messages caused by the netsnmpagent.lib netsnmpagent.lib (snmp_vars.obj): error LNK2019: reference to external symbol agentx_config_init not resolved in init_agent function netsnmpagent.lib (snmp_vars.obj): error LNK2019: reference to external symbol subagent_init not resolved in init_agent function netsnmpagent.lib (snmp_vars.obj): error LNK2019: reference to external symbol init_usmConf not resolved in init_agent function netsnmpagent.lib (snmp_vars.obj): error LNK2019: reference to external symbol init_vacm_conf not resolved in init_agent function netsnmpagent.lib (snmp_vars.obj): error LNK2019: reference to external symbol init_iquery not resolved in init_agent function netsnmpagent.lib (snmp_agent.obj): error LNK2019: reference to external symbol real_init_master not resolved in init_master_agent function netsnmpagent.lib (agent_index.obj): error LNK2019: reference to external symbol agentx_register_index not resolved in register_index function netsnmpagent.lib (agent_index.obj): error LNK2019: reference to external symbol agentx_unregister_index not resolved in unregister_index function Any suggestions would be great. Thanks. _______________________________________________ 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