[AGENT++] example application sending traps

Jochen Katz katz at agentpp.com
Wed Feb 8 20:40:43 CET 2012


Hi,

to resolve the _select linker error, you have to add wsock32.lib to your
project linker settings.

Regards,
  Jochen


Am 08.02.2012 18:16, schrieb Alona Rossen:
> Hi, 
> 
> I am trying to build example/atm_mib test application and I receive the following error at link time:
> 
> 1>Linking...
> 1>agent.obj : error LNK2001: unresolved external symbol "public: static class snmpCommunityEntry * snmpCommunityEntry::instance" (?instance at snmpCommunityEntry@@2PAV1 at A)
> 1>agent.obj : error LNK2001: unresolved external symbol "protected: static class LogEntry * DefaultLog::entry" (?entry at DefaultLog@@1PAVLogEntry@@A)
> 1>agentpp_notifytest_mib.obj : error LNK2001: unresolved external symbol "protected: static class LogEntry * DefaultLog::entry" (?entry at DefaultLog@@1PAVLogEntry@@A)
> 1>agentpp_notifytest_mib.obj : error LNK2001: unresolved external symbol "public: static class Mib * Mib::instance" (?instance at Mib@@2PAV1 at A)
> 1>agentpp_test_mib.obj : error LNK2019: unresolved external symbol _select at 20 referenced in function "public: virtual int __thiscall agentppTestTimeout::set(class Vbx const &)" (?set at agentppTestTimeout@@UAEHABVVbx@@@Z)
> 1>C:\Projects\agent_notify\Debug\agent_notify.exe : fatal error LNK1120: 4 unresolved externals
> 1>Build log was saved at "file://c:\Projects\agent_notify\agent_notify\Debug\BuildLog.htm"
> 1>agent_notify - 6 error(s), 0 warning(s)
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> 
> 
> I was able to locate all symbols but the last one (error LNK2019) in agent_pp.dll and snmp_pp.dll.
> Please advise.
> 
> 
> Thank you, 
> Alona



More information about the AGENTPP mailing list